net.minecraft.world.entity.monster

public class Silverfish

extends Monster

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, Enemy

coa
net.minecraft.world.entity.monster.Silverfish
net.minecraft.class_1614
net.minecraft.entity.mob.SilverfishEntity

Field summary

Modifier and TypeField
private Silverfish$SilverfishWakeUpFriendsGoal
a
friendsGoal
field_7366
callForHelpGoal

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
j()
createAttributes()
method_26922()
createSilverfishAttributes()
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
a(aro arg0, bup arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public void
h()
tick()
method_5773()
tick()
public void
s(float arg0)
setYBodyRot(float arg0)
method_5636(float arg0)
setBodyYaw(float arg0)
public float
a(iu arg0, dis arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public static boolean
b(bwj<coa> arg0, diq arg1, bwi arg2, iu arg3, azt arg4)
checkSilverfishSpawnRules(EntityType<Silverfish> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20684(class_1299<class_1614> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)