net.minecraft.world.entity.monster

public class Zoglin

extends Monster implements Enemy, HoglinBase

All mapped superinterfaces:

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

bwu
net.minecraft.world.entity.monster.Zoglin
net.minecraft.class_5136
net.minecraft.entity.mob.ZoglinEntity
net.minecraft.src.C_1091_
net.minecraft.world.entity.monster.EntityZoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
d
DATA_BABY_ID
field_23734
BABY
f_34201_
private static final int
e
MAX_HEALTH
field_30514
field_30514
f_149879_
private static final int
bT
ATTACK_KNOCKBACK
field_30505
field_30505
f_149870_
private static final float
bU
KNOCKBACK_RESISTANCE
field_30506
DEFAULT_KNOCKBACK_RESISTANCE
f_149871_
private static final int
bV
ATTACK_DAMAGE
field_30507
DEFAULT_ATTACK_DAMAGE
f_149872_
private static final float
bW
BABY_ATTACK_DAMAGE
field_30508
BABY_ATTACK_DAMAGE
f_149873_
private static final int
bX
ATTACK_INTERVAL
field_30509
ADULT_MELEE_ATTACK_COOLDOWN
f_149874_
private static final int
bY
BABY_ATTACK_INTERVAL
field_30510
BABY_MELEE_ATTACK_COOLDOWN
f_149875_
private static final int
bZ
ATTACK_DURATION
field_30511
ATTACK_TARGET_DURATION
f_149876_
private static final float
ca
MOVEMENT_SPEED_WHEN_FIGHTING
field_30512
DEFAULT_MOVEMENT_SPEED
f_149877_
private static final float
cb
SPEED_MULTIPLIER_WHEN_IDLING
field_30513
field_30513
f_149878_
private int
cc
attackAnimationRemainingTicks
field_23732
movementCooldownTicks
f_34199_
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Zoglin>>>
b
SENSOR_TYPES
field_23731
USED_SENSORS
f_34198_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
c
MEMORY_TYPES
field_23733
USED_MEMORY_MODULES
f_34200_

Constructor summary

ModifierConstructor
public (EntityType<? extends Zoglin> p_34205_, Level arg1)

Method summary

Modifier and TypeMethod
protected Brain$Provider<Zoglin>
dL()
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)
private static void
a(bha<bwu> arg0)
initCoreActivity(Brain<Zoglin> arg0)
method_26928(class_4095<class_5136> arg0)
addCoreTasks(Brain<ZoglinEntity> brain)
m_34216_(C_548_<C_1091_> p_34217_)
private static void
b(bha<bwu> arg0)
initIdleActivity(Brain<Zoglin> arg0)
method_26929(class_4095<class_5136> arg0)
addIdleTasks(Brain<ZoglinEntity> brain)
m_34228_(C_548_<C_1091_> p_34229_)
private static void
c(bha<bwu> arg0)
initFightActivity(Brain<Zoglin> arg0)
method_26930(class_4095<class_5136> arg0)
addFightTasks(Brain<ZoglinEntity> brain)
m_34236_(C_548_<C_1091_> p_34237_)
private Optional<? extends LivingEntity>
ga()
findNearestValidAttackTarget()
method_26934()
getHoglinTarget()
m_34251_()
private boolean
l(bfz arg0)
isTargetable(LivingEntity arg0)
method_26936(class_1309 arg0)
shouldAttack(LivingEntity entity)
m_34252_(C_524_ arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
a(aby<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26937()
createZoglinAttributes()
m_34257_()
public boolean
r()
isAdult()
method_26939()
isAdult()
m_34247_()
public boolean
z(bfj arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public boolean
a(byo arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
protected void
e(bfz arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
public double
bx()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
m_6048_()
public boolean
a(ben 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_34215_, float arg1)
private void
m(bfz arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
m_34254_(C_524_ arg0)
public Brain<Zoglin>
dK()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
w()
updateActivity()
method_26931()
tickBrain()
m_34248_()
protected void
W()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public boolean
h_()
isBaby()
method_6109()
isBaby()
m_6162_()
public void
b_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
fY()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
m_7575_()
protected SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
g_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gu arg0, dcb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_34232_, C_2064_ arg1)
protected void
fZ()
playAngrySound()
method_26933()
playAngrySound()
m_34250_()
protected void
V()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public MobType
eN()
getMobType()
method_6046()
getGroup()
m_6336_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)