net.minecraft.entity.passive

public class StriderEntity

extends AnimalEntity implements ItemSteerable

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, ItemSteerable

net.minecraft.world.entity.monster.Strider
net.minecraft.class_4985
net.minecraft.entity.passive.StriderEntity

Field summary

Modifier and TypeField
private static final Identifier
SUFFOCATING_MODIFIER_ID
field_42981
SUFFOCATING_MODIFIER_ID
private static final EntityAttributeModifier
SUFFOCATING_MODIFIER
field_42982
SUFFOCATING_MODIFIER
private static final float
SUFFOCATE_STEERING_MODIFIER
field_30499
COLD_SADDLED_SPEED
private static final float
STEERING_MODIFIER
field_30501
DEFAULT_SADDLED_SPEED
private static final TrackedData<Integer>
DATA_BOOST_TIME
field_23245
BOOST_TIME
private static final TrackedData<Boolean>
DATA_SUFFOCATING
field_23246
COLD
private static final EntityDimensions
BABY_DIMENSIONS
field_1_6061
field_1_6061
private final SaddledComponent
steering
field_23240
saddledComponent
private TemptGoal
temptGoal
field_23241
temptGoal

Constructor summary

ModifierConstructor
public (EntityType<? extends StriderEntity> strider, World level)

Method summary

Modifier and TypeMethod
public static boolean
checkStriderSpawnRules(EntityType<Strider> ignoredType, LevelAccessor level, EntitySpawnReason ignoredSpawnType, BlockPos pos, RandomSource ignoredRandom)
method_26344(class_1299<class_4985> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
canUseSlot(EquipmentSlot slot)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected boolean
canDispenserEquipIntoSlot(EquipmentSlot slot)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
protected RegistryEntry<SoundEvent>
getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable)
method_66667(class_1304 arg0, class_1799 arg1, class_10192 arg2)
getEquipSound(EquipmentSlot arg0, ItemStack arg1, EquippableComponent arg2)
protected void
registerGoals()
method_5959()
initGoals()
public void
setSuffocating(boolean flag)
method_26349(boolean arg0)
setCold(boolean cold)
public boolean
isSuffocating()
method_26348()
isCold()
public boolean
canStandOnFluid(FluidState fluid)
method_26319(class_3610 arg0)
canWalkOnFluid(FluidState arg0)
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected Vec3d
getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
public boolean
checkSpawnObstruction(LevelReader level)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public LivingEntity
getControllingPassenger()
method_5642()
getControllingPassenger()
public Vec3d
getDismountLocationForPassenger(LivingEntity passenger)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
protected void
tickRidden(Player controller, Vec3 riddenInput)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
protected Vec3d
getRiddenInput(Player controller, Vec3 selfInput)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
protected float
getRiddenSpeed(Player controller)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
protected float
nextStep()
method_5867()
calculateNextStepSoundDistance()
protected void
playStepSound(BlockPos pos, BlockState blockState)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
boost()
method_6577()
consumeOnAStickItem()
protected void
checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public void
tick()
method_5773()
tick()
private boolean
isBeingTempted()
method_30079()
isBeingTempted()
protected boolean
shouldPassengersInheritMalus()
method_26323()
movesIndependently()
private void
floatStrider()
method_26347()
updateFloating()
public VoxelShape
getLiquidCollisionShape()
method_1_1166()
getFluidWalkingShape()
public static DefaultAttributeContainer$Builder
createAttributes()
method_26924()
createStriderAttributes()
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected boolean
canAddPassenger(Entity passenger)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
public boolean
isSensitiveToWater()
method_29503()
hurtByWater()
public boolean
isOnFire()
method_5809()
isOnFire()
protected EntityNavigation
createNavigation(Level level)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public float
getWalkTargetValue(BlockPos pos, LevelReader level)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public StriderEntity
getBreedOffspring(ServerLevel level, AgeableMob partner)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
isFood(ItemStack itemStack)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public ActionResult
mobInteract(Player player, InteractionHand hand)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public Vec3d
getLeashOffset()
method_29919()
getLeashOffset()
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
private EntityData
spawnJockey(ServerLevelAccessor level, DifficultyInstance difficulty, Mob jockey, SpawnGroupData jockeyGroupData)
method_30336(class_5425 arg0, class_1266 arg1, class_1308 arg2, class_1315 arg3)
initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, EntityData entityData)
public PassiveEntity
getBreedOffspring(ServerLevel level, AgeableMob partner)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
private static boolean
lambda$registerGoals$0(ItemStack arg0)
method_58395(class_1799 arg0)
method_58395(ItemStack stack)