net.minecraft.world.entity.monster.hoglin

public class Hoglin

extends Animal implements Enemy, HoglinBase

All mapped superinterfaces:

Nameable, CommandSource, Enemy, HoglinBase

bem
net.minecraft.world.entity.monster.hoglin.Hoglin
net.minecraft.class_4760
net.minecraft.entity.mob.HoglinEntity
net.minecraft.entity.monster.HoglinEntity
net.minecraft.server.v1_16_R3.EntityHoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bq
DATA_IMMUNE_TO_ZOMBIFICATION
field_23737
BABY
field_234356_bw_
private int
br
attackAnimationRemainingTicks
field_22368
movementCooldownTicks
field_234357_bx_
private int
bs
timeInOverworld
field_23735
timeInOverworld
field_234358_by_
conversionTicks
private boolean
bt
cannotBeHunted
field_23736
cannotBeHunted
field_234359_bz_
cannotBeHunted
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Hoglin>>>
bo
SENSOR_TYPES
field_22365
SENSOR_TYPES
field_234354_bu_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
bp
MEMORY_TYPES
field_22366
MEMORY_MODULE_TYPES
field_234355_bv_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bfw arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public static AttributeSupplier$Builder
eK()
createAttributes()
method_26943()
createHoglinAttributes()
func_234362_eI_()
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
protected void
e(aqm arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
func_213371_e(LivingEntity arg0)
public boolean
a(apk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
protected Brain$Provider<Hoglin>
cK()
brainProvider()
method_28306()
createBrainProfile()
func_230289_cH_()
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)
func_213364_a(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Hoglin>
cJ()
getBrain()
method_18868()
getBrain()
func_213375_cj()
getBehaviorController()
protected void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
protected void
m()
ageBoundaryReached()
method_5619()
onGrowUp()
func_175500_n()
public static boolean
c(aqe<bem> arg0, bry arg1, aqp arg2, fx arg3, Random arg4)
checkHoglinSpawnRules(EntityType<Hoglin> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_24349(class_1299<class_4760> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random arg4)
func_234361_c_(EntityType<HoglinEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc arg3, md 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)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
public float
a(fx arg0, brz arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
public double
bc()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
func_70042_X()
public InteractionResult
b(bfw arg0, aot arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
protected boolean
cV()
shouldDropExperience()
method_6054()
shouldDropXp()
func_146066_aG()
isDropExperience()
protected int
d(bfw arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getXpToDrop(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
private void
c(aag arg0)
finishConversion(ServerLevel arg0)
method_26942(class_3218 arg0)
zombify(ServerWorld word)
func_234360_a_(ServerWorld arg0)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public boolean
eL()
isAdult()
method_24658()
isAdult()
func_234363_eJ_()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
t(boolean arg0)
setImmuneToZombification(boolean arg0)
method_26948(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
func_234370_t_(boolean arg0)
setImmuneToZombification(boolean arg0)
private boolean
eV()
isImmuneToZombification()
method_26946()
isImmuneToZombification()
func_234368_eV_()
isImmuneToZombification()
public boolean
eN()
isConverting()
method_26944()
canConvert()
func_234364_eK_()
isConverting()
private void
u(boolean arg0)
setCannotBeHunted(boolean arg0)
method_26949(boolean arg0)
setCannotBeHunted(boolean cannotBeHunted)
func_234371_u_(boolean arg0)
public boolean
eO()
canBeHunted()
method_26945()
canBeHunted()
func_234365_eM_()
public AgableMob
a(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
eP()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public SoundSource
cu()
getSoundSource()
method_5634()
getSoundCategory()
func_184176_by()
getSoundCategory()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
av()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected SoundEvent
aw()
getSwimSplashSound()
method_5625()
getSplashSound()
func_184181_aa()
getSoundSplash()
protected void
b(fx arg0, ceh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
protected void
a(adp arg0)
playSound(SoundEvent arg0)
method_30081(class_3414 arg0)
method_30081(SoundEvent arg0)
func_241412_a_(SoundEvent arg0)
protected void
M()
sendDebugPackets()
method_18409()
sendAiDebugData()
func_213387_K()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public int
eM()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
func_230290_eL_()