net.minecraft.world.entity.monster

public class Strider

extends Animal implements ItemSteerable, Saddleable

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, ItemSteerable, Saddleable

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

Field summary

Modifier and TypeField
private static final ResourceLocation
bZ
SUFFOCATING_MODIFIER_ID
field_42981
SUFFOCATING_MODIFIER_ID
private static final AttributeModifier
ca
SUFFOCATING_MODIFIER
field_42982
SUFFOCATING_MODIFIER
private static final float
cb
SUFFOCATE_STEERING_MODIFIER
field_30499
COLD_SADDLED_SPEED
private static final float
cd
STEERING_MODIFIER
field_30501
DEFAULT_SADDLED_SPEED
private static final EntityDataAccessor<Integer>
ce
DATA_BOOST_TIME
field_23245
BOOST_TIME
private static final EntityDataAccessor<Boolean>
cf
DATA_SUFFOCATING
field_23246
COLD
private static final EntityDataAccessor<Boolean>
cg
DATA_SADDLE_ID
field_23247
SADDLED
private final ItemBasedSteering
ch
steering
field_23240
saddledComponent
private TemptGoal
ci
temptGoal
field_23241
temptGoal

Constructor summary

ModifierConstructor
public (EntityType<? extends Strider> arg0, Level arg1)

Method summary

Modifier and TypeMethod
public static boolean
c(bvr<cnk> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkStriderSpawnRules(EntityType<Strider> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
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
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public boolean
j()
isSaddled()
method_6725()
isSaddled()
public boolean
f()
isSaddleable()
method_6765()
canBeSaddled()
public void
a(cxp arg0, axg arg1)
equipSaddle(ItemStack arg0, SoundSource arg1)
method_6576(class_1799 arg0, class_3419 arg1)
saddle(ItemStack arg0, SoundCategory arg1)
protected void
B()
registerGoals()
method_5959()
initGoals()
public void
x(boolean arg0)
setSuffocating(boolean arg0)
method_26349(boolean arg0)
setCold(boolean cold)
public boolean
p()
isSuffocating()
method_26348()
isCold()
public boolean
a(etx arg0)
canStandOnFluid(FluidState arg0)
method_26319(class_3610 arg0)
canWalkOnFluid(FluidState arg0)
protected Vec3
a(bvk arg0, bvn arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
public boolean
a(dhl arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public LivingEntity
cX()
getControllingPassenger()
method_5642()
getControllingPassenger()
public Vec3
b(bwg arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
protected void
a(cpx arg0, fby arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
protected Vec3
b(cpx arg0, fby arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
protected float
e(cpx arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
protected float
aU()
nextStep()
method_5867()
calculateNextStepSoundDistance()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
a()
boost()
method_6577()
consumeOnAStickItem()
protected void
a(double arg0, boolean arg1, dxv arg2, jh arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public void
h()
tick()
method_5773()
tick()
private boolean
x()
isBeingTempted()
method_30079()
isBeingTempted()
protected boolean
D()
shouldPassengersInheritMalus()
method_26323()
movesIndependently()
private void
go()
floatStrider()
method_26347()
updateFloating()
public static AttributeSupplier$Builder
t()
createAttributes()
method_26924()
createStriderAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected boolean
r(bvk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
public boolean
fr()
isSensitiveToWater()
method_29503()
hurtByWater()
public boolean
bY()
isOnFire()
method_5809()
isOnFire()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public float
a(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public Strider
b(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_26343(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
protected void
f(ash arg0)
dropEquipment(ServerLevel arg0)
method_16078(class_3218 arg0)
dropInventory(ServerWorld arg0)
public InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
private SpawnGroupData
a(dhz arg0, bth arg1, bwi arg2, bwz arg3)
spawnJockey(ServerLevelAccessor arg0, DifficultyInstance arg1, Mob arg2, SpawnGroupData arg3)
method_30336(class_5425 arg0, class_1266 arg1, class_1308 arg2, class_1315 arg3)
initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, EntityData entityData)