net.minecraft.world.entity.monster.hoglin

public class Hoglin

extends Animal implements Enemy, HoglinBase

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, HoglinBase

buz
net.minecraft.world.entity.monster.hoglin.Hoglin
net.minecraft.class_4760
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>
ca
DATA_IMMUNE_TO_ZOMBIFICATION
field_23737
BABY
f_34482_
private static final float
cb
PROBABILITY_OF_SPAWNING_AS_BABY
field_30525
field_30525
f_149891_
private static final int
cc
MAX_HEALTH
field_30526
MAX_HEALTH
f_149892_
private static final float
cd
MOVEMENT_SPEED_WHEN_FIGHTING
field_30527
MOVEMENT_SPEED
f_149893_
private static final int
ce
ATTACK_KNOCKBACK
field_30528
ATTACK_KNOCKBACK
f_149894_
private static final float
cf
KNOCKBACK_RESISTANCE
field_30529
KNOCKBACK_RESISTANCE
f_149895_
private static final int
cg
ATTACK_DAMAGE
field_30530
ATTACK_DAMAGE
f_149896_
private static final float
ch
BABY_ATTACK_DAMAGE
field_30531
BABY_ATTACK_DAMAGE
f_149897_
private static final int
ci
CONVERSION_TIME
field_30532
CONVERSION_TIME
f_149898_
private int
cj
attackAnimationRemainingTicks
field_22368
movementCooldownTicks
f_34483_
private int
ck
timeInOverworld
field_23735
timeInOverworld
f_34484_
private boolean
cl
cannotBeHunted
field_23736
cannotBeHunted
f_34485_
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Hoglin>>>
bX
SENSOR_TYPES
field_22365
SENSOR_TYPES
f_34480_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
bY
MEMORY_TYPES
field_22366
MEMORY_MODULE_TYPES
f_34481_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b_(bwp arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public static AttributeSupplier$Builder
p()
createAttributes()
method_26943()
createHoglinAttributes()
m_34551_()
public boolean
A(bdr arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
protected void
e(beg arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
public boolean
a(bcz arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_34504_, float arg1)
protected Brain$Provider<Hoglin>
dE()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Hoglin>
dD()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
U()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
protected void
m()
ageBoundaryReached()
method_5619()
onGrowUp()
m_30232_()
public static boolean
c(bdv<buz> arg0, cjx arg1, bek arg2, gp arg3, aoh 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)
canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random 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(ckl arg0, bck arg1, bek arg2, bez arg3, qp 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)
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)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public float
a(gp arg0, cjz arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_34517_, C_1599_ arg1)
public double
bw()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
m_6048_()
public InteractionResult
b(bwp arg0, bcl arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_34524_, C_470_ arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
fM()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
m_7575_()
public boolean
dR()
shouldDropExperience()
method_6054()
shouldDropXp()
m_6149_()
public int
dT()
getExperienceReward()
method_6110()
getXpToDrop()
m_213860_()
private void
c(ahm arg0)
finishConversion(ServerLevel arg0)
method_26942(class_3218 arg0)
zombify(ServerWorld word)
m_34531_(C_12_ arg0)
public boolean
n(cdt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public boolean
t()
isAdult()
method_24658()
isAdult()
m_34552_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(qp arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qp arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
v(boolean arg0)
setImmuneToZombification(boolean arg0)
method_26948(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
m_34564_(boolean arg0)
private boolean
fU()
isImmuneToZombification()
method_26946()
isImmuneToZombification()
m_34557_()
public boolean
fN()
isConverting()
method_26944()
canConvert()
m_34554_()
private void
w(boolean arg0)
setCannotBeHunted(boolean arg0)
method_26949(boolean arg0)
setCannotBeHunted(boolean cannotBeHunted)
m_34566_(boolean arg0)
public boolean
fO()
canBeHunted()
method_26945()
canBeHunted()
m_34555_()
public AgeableMob
a(ahm arg0, bdo arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149901_, C_141062_ arg1)
public boolean
fP()
canFallInLove()
method_6482()
canEat()
m_5957_()
public SoundSource
cW()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(bcz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
c_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
aK()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected SoundEvent
aL()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected void
b(gp arg0, cyt arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_34527_, C_2064_ arg1)
protected void
b(aln arg0)
playSoundEvent(SoundEvent arg0)
method_30081(class_3414 arg0)
playSound(SoundEvent sound)
m_219179_(C_123_ arg0)
protected void
S()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()