net.minecraft.world.entity.monster.hoglin

public class Hoglin

extends Animal implements Enemy, HoglinBase

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy, HoglinBase

bwy
net.minecraft.world.entity.monster.hoglin.Hoglin
net.minecraft.class_4760
net.minecraft.unmapped.C_fnzykddk
net.minecraft.entity.mob.HoglinEntity
net.minecraft.entity.mob.HoglinEntity
net.minecraft.src.C_1097_
net.minecraft.world.entity.monster.hoglin.EntityHoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bW
DATA_IMMUNE_TO_ZOMBIFICATION
field_23737
f_tqecwjfe
BABY
BABY
f_34482_
private static final float
bX
PROBABILITY_OF_SPAWNING_AS_BABY
field_30525
f_bgmpkqio
field_30525
BABY_SPAWN_PROBABILITY
f_149891_
private static final int
bY
MAX_HEALTH
field_30526
f_ojzheltu
MAX_HEALTH
MAX_HEALTH
f_149892_
private static final float
bZ
MOVEMENT_SPEED_WHEN_FIGHTING
field_30527
f_vfdklure
MOVEMENT_SPEED
FIGHTING_MOVEMENT_SPEED
f_149893_
private static final int
ca
ATTACK_KNOCKBACK
field_30528
f_emlqkcps
ATTACK_KNOCKBACK
ATTACK_KNOCKBACK
f_149894_
private static final float
cb
KNOCKBACK_RESISTANCE
field_30529
f_obslggle
KNOCKBACK_RESISTANCE
KNOCKBACK_RESISTANCE
f_149895_
private static final int
cc
ATTACK_DAMAGE
field_30530
f_vzzufnvg
ATTACK_DAMAGE
ATTACK_DAMAGE
f_149896_
private static final float
cd
BABY_ATTACK_DAMAGE
field_30531
f_qvafdtfm
BABY_ATTACK_DAMAGE
BABY_ATTACK_DAMAGE
f_149897_
private static final int
ce
CONVERSION_TIME
field_30532
f_vsgooziv
CONVERSION_TIME
CONVERSION_TIME
f_149898_
private int
cf
attackAnimationRemainingTicks
field_22368
f_yicrjrzo
movementCooldownTicks
movementCooldownTicks
f_34483_
private int
cg
timeInOverworld
field_23735
f_gxtgevss
timeInOverworld
timeInOverworld
f_34484_
private boolean
ch
cannotBeHunted
field_23736
f_kyuqnuyr
cannotBeHunted
cannotBeHunted
f_34485_
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Hoglin>>>
bT
SENSOR_TYPES
field_22365
f_qvrctnyb
SENSOR_TYPES
SENSOR_TYPES
f_34480_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
bU
MEMORY_TYPES
field_22366
f_hewflnwa
MEMORY_MODULE_TYPES
MEMORY_MODULE_TYPES
f_34481_

Constructor summary

ModifierConstructor
public (EntityType<? extends Hoglin> p_34489_, Level arg1)

Method summary

Modifier and TypeMethod
public boolean
a(byo arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
m_fgmsyatf(C_jzrpycqo arg0)
canBeLeashedBy(PlayerEntity arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26943()
m_vbviheux()
createHoglinAttributes()
createAttributes()
m_34551_()
public boolean
z(bfj arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
protected void
e(bfz arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
m_scndcdpp(C_usxaxydn arg0)
knockback(LivingEntity arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
public boolean
a(ben arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_34504_, float arg1)
protected Brain$Provider<Hoglin>
dL()
brainProvider()
method_28306()
m_pusvfpox()
createBrainProfile()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
m_epkzhkqg(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Hoglin>
dK()
getBrain()
method_18868()
m_hobjxuks()
getBrain()
getBrain()
m_6274_()
protected void
W()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
mobTick()
m_8024_()
public void
b_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
protected void
m()
ageBoundaryReached()
method_5619()
m_xdpbetzz()
onGrowUp()
onGrowUp()
m_30232_()
public static boolean
c(bfn<bwy> arg0, cmn arg1, bgd arg2, gu arg3, apf arg4)
checkHoglinSpawnRules(EntityType<Hoglin> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_24349(class_1299<class_4760> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_mnmxbgxw(C_ogavsvbr<C_fnzykddk> arg0, C_vdvbsyle arg1, C_uzzvxofv arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, RandomGenerator random)
m_219181_(C_513_<C_1097_> p_219182_, C_1598_ p_219183_, C_529_ p_219184_, C_4675_ p_219185_, C_212974_ p_219186_)
public SpawnGroupData
a(cnb arg0, bdv arg1, bgd arg2, bgt arg3, qr arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_34509_, C_469_ p_34510_, C_529_ p_34511_, C_542_ p_34512_, C_4917_ arg4)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public float
a(gu arg0, cmp arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_34517_, C_1599_ arg1)
public double
bx()
getPassengersRidingOffset()
method_5621()
m_kkphuyzb()
getMountedHeightOffset()
getMountedHeightOffset()
m_6048_()
public InteractionResult
b(byo arg0, bdw arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_34524_, C_470_ arg1)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
fY()
getAttackAnimationRemainingTicks()
method_24657()
m_lxbrilgc()
getMovementCooldownTicks()
getMovementCooldownTicks()
m_7575_()
public boolean
dY()
shouldDropExperience()
method_6054()
m_rtgyxdad()
shouldDropXp()
shouldDropXp()
m_6149_()
public int
ea()
getExperienceReward()
method_6110()
m_yanqzhib()
getXpToDrop()
getXpToDrop()
m_213860_()
private void
c(aif arg0)
finishConversion(ServerLevel arg0)
method_26942(class_3218 arg0)
m_ljhxfqmt(C_bdwnwhiu arg0)
zombify(ServerWorld word)
zombify(ServerWorld word)
m_34531_(C_12_ arg0)
public boolean
m(cfz arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public boolean
r()
isAdult()
method_24658()
m_ztbcqyge()
isAdult()
isAdult()
m_34552_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
w(boolean arg0)
setImmuneToZombification(boolean arg0)
method_26948(boolean arg0)
m_sjcwxamc(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
setImmuneToZombification(boolean immuneToZombification)
m_34564_(boolean arg0)
private boolean
gf()
isImmuneToZombification()
method_26946()
m_tvesjzys()
isImmuneToZombification()
isImmuneToZombification()
m_34557_()
public boolean
w()
isConverting()
method_26944()
m_cbcfhojz()
canConvert()
canConvert()
m_34554_()
private void
x(boolean arg0)
setCannotBeHunted(boolean arg0)
method_26949(boolean arg0)
m_tnmkoscv(boolean arg0)
setCannotBeHunted(boolean cannotBeHunted)
setCannotBeHunted(boolean cannotBeHunted)
m_34566_(boolean arg0)
public boolean
ge()
canBeHunted()
method_26945()
m_xsqvpjqk()
canBeHunted()
canBeHunted()
m_34555_()
public AgeableMob
a(aif arg0, bfe arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149901_, C_141062_ arg1)
public boolean
fZ()
canFallInLove()
method_6482()
m_ajdkrylg()
canEat()
canEat()
m_5957_()
public SoundSource
cY()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
protected SoundEvent
s()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
g_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
aJ()
getSwimSound()
method_5737()
m_ngysbrcu()
getSwimSound()
getSwimSound()
m_5501_()
protected SoundEvent
aK()
getSwimSplashSound()
method_5625()
m_vkgfaeyc()
getSplashSound()
getSplashSound()
m_5509_()
protected void
b(gu arg0, dcb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_34527_, C_2064_ arg1)
protected void
b(amg arg0)
playSoundEvent(SoundEvent arg0)
method_30081(class_3414 arg0)
m_nwekqbae(C_avavozay arg0)
playSound(SoundEvent sound)
playHoglinSound(SoundEvent sound)
m_219179_(C_123_ arg0)
protected void
V()
sendDebugPackets()
method_18409()
m_xozpkuaw()
sendAiDebugData()
sendAiDebugData()
m_8025_()