net.minecraft.world.entity.monster.hoglin

public class Hoglin

extends Animal implements Enemy, HoglinBase

All mapped superinterfaces:

Nameable, CommandSource, Enemy, HoglinBase

bcx
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_R1.EntityHoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bx
DATA_IMMUNE_TO_ZOMBIFICATION
field_23737
BABY
field_234356_bw_
private int
by
attackAnimationRemainingTicks
field_22368
movementCooldownTicks
field_234357_bx_
private int
bz
timeInOverworld
field_23735
timeInOverworld
field_234358_by_
private boolean
bA
cannotBeHunted
field_23736
cannotBeHunted
field_234359_bz_
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Hoglin>>>
bv
SENSOR_TYPES
field_22365
SENSOR_TYPES
field_234354_bu_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
bw
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(bec arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public static AttributeSupplier$Builder
eL()
createAttributes()
method_26943()
createHoglinAttributes()
func_234362_eI_()
public boolean
B(aom arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
protected void
f(aoy arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
func_213371_e(LivingEntity arg0)
public boolean
a(anw 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>
cJ()
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>
cI()
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(aoq<bcx> arg0, bqc arg1, apb arg2, fu 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(bqc arg0, ane arg1, apb arg2, apo arg3, le arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess 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(fu arg0, bqd 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
aY()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
func_70042_X()
public InteractionResult
b(bec arg0, anf 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
cU()
shouldDropExperience()
method_6054()
canDropLootAndXp()
func_146066_aG()
isDropExperience()
protected int
d(bec arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getCurrentExperience(PlayerEntity arg0)
func_70693_a(PlayerEntity arg0)
getExpValue(EntityHuman arg0)
private void
b(zd arg0)
finishConversion(ServerLevel arg0)
method_26942(class_3218 arg0)
zombify(ServerWorld word)
func_234360_a_(ServerWorld arg0)
public boolean
k(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public boolean
eM()
isAdult()
method_24658()
isAdult()
func_234363_eJ_()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag 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)
private boolean
eW()
isImmuneToZombification()
method_26946()
isImmuneToZombification()
func_234368_eV_()
public boolean
eO()
isConverting()
method_26944()
canConvert()
func_234364_eK_()
private void
u(boolean arg0)
setCannotBeHunted(boolean arg0)
method_26949(boolean arg0)
setCannotBeHunted(boolean cannotBeHunted)
func_234371_u_(boolean arg0)
public boolean
eP()
canBeHunted()
method_26945()
canBeHunted()
func_234365_eM_()
public AgableMob
a(aok arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
eQ()
canFallInLove()
method_6482()
canEat()
func_204701_dC()
public SoundSource
ct()
getSoundSource()
method_5634()
getSoundCategory()
func_184176_by()
getSoundCategory()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
aq()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected SoundEvent
ar()
getSwimSplashSound()
method_5625()
getSplashSound()
func_184181_aa()
getSoundSplash()
protected void
a(fu arg0, cfj 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(ack 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
eN()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
func_230290_eL_()