Package net.minecraft.entity.passive
Class StriderEntity
- All Implemented Interfaces:
ItemSteerable
,Saddleable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bly
intermediary net/minecraft/class_4985
named net/minecraft/entity/passive/StriderEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Ingredient
private static final TrackedData<Integer>
private static final Ingredient
private static final TrackedData<Boolean>
private static final float
private static final float
private static final float
private @Nullable EscapeDangerGoal
private static final TrackedData<Boolean>
private final SaddledComponent
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
field_35670
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29974, field_29991, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
protected boolean
canAddPassenger
(Entity passenger) boolean
boolean
static boolean
canSpawn
(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
boolean
canWalkOnFluid
(Fluid fluid) boolean
createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) protected EntityNavigation
createNavigation
(World world) protected void
protected void
fall
(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) protected SoundEvent
protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) double
float
getPathfindingFavor
(BlockPos pos, WorldView world) float
float
getSpeed()
boolean
protected void
protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private EntityData
initializeRider
(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) interactMob
(PlayerEntity player, Hand hand) private boolean
boolean
isBreedingItem
(ItemStack stack) boolean
isCold()
private boolean
boolean
isOnFire()
boolean
protected boolean
When true, causes this entity to take over pathfinding for its controlling passenger.void
onTrackedDataSet
(TrackedData<?> data) protected void
playStepSound
(BlockPos pos, BlockState state) void
void
saddle
(@Nullable SoundCategory sound) void
setCold
(boolean cold) void
setMovementInput
(Vec3d movementInput) void
tick()
void
Allows you to do certain speed and velocity calculations.private void
updatePassengerForDismount
(LivingEntity passenger) void
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks, tickMovement
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.entity.ItemSteerable
travel
-
Field Details
-
COLD_SADDLED_SPEED
private static final float COLD_SADDLED_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official bW
Lbly;bW:F
intermediary field_30499
Lnet/minecraft/class_4985;field_30499:F
named COLD_SADDLED_SPEED
Lnet/minecraft/entity/passive/StriderEntity;COLD_SADDLED_SPEED:F
-
COLD_SPEED
private static final float COLD_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbly;bX:F
intermediary field_30500
Lnet/minecraft/class_4985;field_30500:F
named COLD_SPEED
Lnet/minecraft/entity/passive/StriderEntity;COLD_SPEED:F
-
DEFAULT_SADDLED_SPEED
private static final float DEFAULT_SADDLED_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official bZ
Lbly;bZ:F
intermediary field_30501
Lnet/minecraft/class_4985;field_30501:F
named DEFAULT_SADDLED_SPEED
Lnet/minecraft/entity/passive/StriderEntity;DEFAULT_SADDLED_SPEED:F
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official ca
Lbly;ca:Lbwt;
intermediary field_23243
Lnet/minecraft/class_4985;field_23243:Lnet/minecraft/class_1856;
named BREEDING_INGREDIENT
Lnet/minecraft/entity/passive/StriderEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
ATTRACTING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cb
Lbly;cb:Lbwt;
intermediary field_23244
Lnet/minecraft/class_4985;field_23244:Lnet/minecraft/class_1856;
named ATTRACTING_INGREDIENT
Lnet/minecraft/entity/passive/StriderEntity;ATTRACTING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
BOOST_TIME
- Mappings:
Namespace Name Mixin selector official cc
Lbly;cc:Lxp;
intermediary field_23245
Lnet/minecraft/class_4985;field_23245:Lnet/minecraft/class_2940;
named BOOST_TIME
Lnet/minecraft/entity/passive/StriderEntity;BOOST_TIME:Lnet/minecraft/entity/data/TrackedData;
-
COLD
- Mappings:
Namespace Name Mixin selector official cd
Lbly;cd:Lxp;
intermediary field_23246
Lnet/minecraft/class_4985;field_23246:Lnet/minecraft/class_2940;
named COLD
Lnet/minecraft/entity/passive/StriderEntity;COLD:Lnet/minecraft/entity/data/TrackedData;
-
SADDLED
- Mappings:
Namespace Name Mixin selector official ce
Lbly;ce:Lxp;
intermediary field_23247
Lnet/minecraft/class_4985;field_23247:Lnet/minecraft/class_2940;
named SADDLED
Lnet/minecraft/entity/passive/StriderEntity;SADDLED:Lnet/minecraft/entity/data/TrackedData;
-
saddledComponent
- Mappings:
Namespace Name Mixin selector official cf
Lbly;cf:Laxd;
intermediary field_23240
Lnet/minecraft/class_4985;field_23240:Lnet/minecraft/class_4980;
named saddledComponent
Lnet/minecraft/entity/passive/StriderEntity;saddledComponent:Lnet/minecraft/entity/SaddledComponent;
-
temptGoal
- Mappings:
Namespace Name Mixin selector official cg
Lbly;cg:Lbei;
intermediary field_23241
Lnet/minecraft/class_4985;field_23241:Lnet/minecraft/class_1391;
named temptGoal
Lnet/minecraft/entity/passive/StriderEntity;temptGoal:Lnet/minecraft/entity/ai/goal/TemptGoal;
-
escapeDangerGoal
- Mappings:
Namespace Name Mixin selector official ch
Lbly;ch:Lbdu;
intermediary field_23242
Lnet/minecraft/class_4985;field_23242:Lnet/minecraft/class_1374;
named escapeDangerGoal
Lnet/minecraft/entity/passive/StriderEntity;escapeDangerGoal:Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;
-
-
Constructor Details
-
StriderEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lawt;<init>(Lawx;Lcad;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
canSpawn
public static boolean canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official c
Lbly;c(Lawx;Lcae;Laxl;Lgh;Ljava/util/Random;)Z
intermediary method_26344
Lnet/minecraft/class_4985;method_26344(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
named canSpawn
Lnet/minecraft/entity/passive/StriderEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
onTrackedDataSet
- Overrides:
onTrackedDataSet
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lxp;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a_
Lawt;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Loc;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Loc;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddled
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official d
Laxw;d()Z
intermediary method_6725
Lnet/minecraft/class_5146;method_6725()Z
named isSaddled
Lnet/minecraft/entity/Saddleable;isSaddled()Z
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddled
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official c
Laxw;c()Z
intermediary method_6765
Lnet/minecraft/class_5146;method_6765()Z
named canBeSaddled
Lnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
saddle
- Specified by:
saddle
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official a
Laxw;a(Lagw;)V
intermediary method_6576
Lnet/minecraft/class_5146;method_6576(Lnet/minecraft/class_3419;)V
named saddle
Lnet/minecraft/entity/Saddleable;saddle(Lnet/minecraft/sound/SoundCategory;)V
-
initGoals
protected void initGoals() -
setCold
public void setCold(boolean cold) - Mappings:
Namespace Name Mixin selector official v
Lbly;v(Z)V
intermediary method_26349
Lnet/minecraft/class_4985;method_26349(Z)V
named setCold
Lnet/minecraft/entity/passive/StriderEntity;setCold(Z)V
-
isCold
public boolean isCold()- Mappings:
Namespace Name Mixin selector official q
Lbly;q()Z
intermediary method_26348
Lnet/minecraft/class_4985;method_26348()Z
named isCold
Lnet/minecraft/entity/passive/StriderEntity;isCold()Z
-
canWalkOnFluid
- Overrides:
canWalkOnFluid
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Laxh;a(Ldhu;)Z
intermediary method_26319
Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3611;)Z
named canWalkOnFluid
Lnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/Fluid;)Z
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official bq
Lawt;bq()D
intermediary method_5621
Lnet/minecraft/class_1297;method_5621()D
named getMountedHeightOffset
Lnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
canBeControlledByRider
public boolean canBeControlledByRider()- Overrides:
canBeControlledByRider
in classMobEntity
- Mappings:
Namespace Name Mixin selector official ff
Laxj;ff()Z
intermediary method_5956
Lnet/minecraft/class_1308;method_5956()Z
named canBeControlledByRider
Lnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
-
canSpawn
-
getPrimaryPassenger
- Overrides:
getPrimaryPassenger
in classEntity
- Mappings:
Namespace Name Mixin selector official cE
Lawt;cE()Lawt;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1297;
named getPrimaryPassenger
Lnet/minecraft/entity/Entity;getPrimaryPassenger()Lnet/minecraft/entity/Entity;
-
updatePassengerForDismount
- Overrides:
updatePassengerForDismount
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Laxh;)Ldom;
intermediary method_24829
Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
named updatePassengerForDismount
Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official h
Laxh;h(Ldom;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
getSpeed
public float getSpeed()- Mappings:
Namespace Name Mixin selector official t
Lbly;t()F
intermediary method_26345
Lnet/minecraft/class_4985;method_26345()F
named getSpeed
Lnet/minecraft/entity/passive/StriderEntity;getSpeed()F
-
getSaddledSpeed
public float getSaddledSpeed()- Specified by:
getSaddledSpeed
in interfaceItemSteerable
- Mappings:
Namespace Name Mixin selector official b
Laxe;b()F
intermediary method_26316
Lnet/minecraft/class_4981;method_26316()F
named getSaddledSpeed
Lnet/minecraft/entity/ItemSteerable;getSaddledSpeed()F
-
setMovementInput
- Specified by:
setMovementInput
in interfaceItemSteerable
- Mappings:
Namespace Name Mixin selector official a
Laxe;a(Ldom;)V
intermediary method_26315
Lnet/minecraft/class_4981;method_26315(Lnet/minecraft/class_243;)V
named setMovementInput
Lnet/minecraft/entity/ItemSteerable;setMovementInput(Lnet/minecraft/util/math/Vec3d;)V
-
calculateNextStepSoundDistance
protected float calculateNextStepSoundDistance()- Overrides:
calculateNextStepSoundDistance
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Lawt;aE()F
intermediary method_5867
Lnet/minecraft/class_1297;method_5867()F
named calculateNextStepSoundDistance
Lnet/minecraft/entity/Entity;calculateNextStepSoundDistance()F
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lawt;b(Lgh;Lcoc;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
consumeOnAStickItem
public boolean consumeOnAStickItem()- Specified by:
consumeOnAStickItem
in interfaceItemSteerable
- Mappings:
Namespace Name Mixin selector official a
Laxe;a()Z
intermediary method_6577
Lnet/minecraft/class_4981;method_6577()Z
named consumeOnAStickItem
Lnet/minecraft/entity/ItemSteerable;consumeOnAStickItem()Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) - Overrides:
fall
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(DZLcoc;Lgh;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
tick
public void tick() -
isEscapingDanger
private boolean isEscapingDanger()- Mappings:
Namespace Name Mixin selector official fz
Lbly;fz()Z
intermediary method_30078
Lnet/minecraft/class_4985;method_30078()Z
named isEscapingDanger
Lnet/minecraft/entity/passive/StriderEntity;isEscapingDanger()Z
-
isBeingTempted
private boolean isBeingTempted()- Mappings:
Namespace Name Mixin selector official fA
Lbly;fA()Z
intermediary method_30079
Lnet/minecraft/class_4985;method_30079()Z
named isBeingTempted
Lnet/minecraft/entity/passive/StriderEntity;isBeingTempted()Z
-
movesIndependently
protected boolean movesIndependently()When true, causes this entity to take over pathfinding for its controlling passenger.- Overrides:
movesIndependently
in classMobEntity
- Mappings:
Namespace Name Mixin selector official x
Laxj;x()Z
intermediary method_26323
Lnet/minecraft/class_1308;method_26323()Z
named movesIndependently
Lnet/minecraft/entity/mob/MobEntity;movesIndependently()Z
-
updateFloating
private void updateFloating()- Mappings:
Namespace Name Mixin selector official fG
Lbly;fG()V
intermediary method_26347
Lnet/minecraft/class_4985;method_26347()V
named updateFloating
Lnet/minecraft/entity/passive/StriderEntity;updateFloating()V
-
createStriderAttributes
- Mappings:
Namespace Name Mixin selector official fy
Lbly;fy()Layh$a;
intermediary method_26924
Lnet/minecraft/class_4985;method_26924()Lnet/minecraft/class_5132$class_5133;
named createStriderAttributes
Lnet/minecraft/entity/passive/StriderEntity;createStriderAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Laxj;r()Lagu;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Laxh;c(Lawd;)Lagu;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Laxh;x_()Lagu;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
canAddPassenger
- Overrides:
canAddPassenger
in classEntity
- Mappings:
Namespace Name Mixin selector official o
Lawt;o(Lawt;)Z
intermediary method_5818
Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
named canAddPassenger
Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
-
hurtByWater
public boolean hurtByWater()- Overrides:
hurtByWater
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eD
Laxh;eD()Z
intermediary method_29503
Lnet/minecraft/class_1309;method_29503()Z
named hurtByWater
Lnet/minecraft/entity/LivingEntity;hurtByWater()Z
-
isOnFire
public boolean isOnFire() -
getPathfindingFavor
- Overrides:
getPathfindingFavor
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Laxq;a(Lgh;Lcag;)F
intermediary method_6144
Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
named getPathfindingFavor
Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbly;b(Ladi;Lawr;)Lbly;
intermediary method_26343
Lnet/minecraft/class_4985;method_26343(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4985;
named createChild
Lnet/minecraft/entity/passive/StriderEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/StriderEntity;
-
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbhl;n(Lbue;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
dropInventory
protected void dropInventory()- Overrides:
dropInventory
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ec
Laxh;ec()V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078()V
named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory()V
-
interactMob
- Overrides:
interactMob
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b
Laxj;b(Lbnr;Lavp;)Lavq;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
getLeashOffset
- Overrides:
getLeashOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official cz
Lawt;cz()Ldom;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named getLeashOffset
Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Laxj;a(Lcas;Lavo;Laxl;Laxz;Loc;)Laxz;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
initializeRider
private EntityData initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable @Nullable EntityData entityData) - Mappings:
Namespace Name Mixin selector official a
Lbly;a(Lcas;Lavo;Laxj;Laxz;)Laxz;
intermediary method_30336
Lnet/minecraft/class_4985;method_30336(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_1308;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;
named initializeRider
Lnet/minecraft/entity/passive/StriderEntity;initializeRider(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-