net.minecraft.world.entity.monster

public class Zoglin

extends Monster implements Enemy, HoglinBase

All mapped superinterfaces:

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

caa
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>
dO()
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(bkg<caa> 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(bkg<caa> 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(bkg<caa> 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>
gf()
findNearestValidAttackTarget()
method_26934()
getHoglinTarget()
m_34251_()
private boolean
j(bjg 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(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public static AttributeSupplier$Builder
s()
createAttributes()
method_26937()
createZoglinAttributes()
m_34257_()
public boolean
t()
isAdult()
method_26939()
isAdult()
m_34247_()
public boolean
C(biq arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public boolean
a(cbu arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
protected void
e(bjg arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_298735_, C_510_ p_299690_, float arg2)
public boolean
a(bho 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
k(bjg arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
m_34254_(C_524_ arg0)
public Brain<Zoglin>
dN()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
y()
updateActivity()
method_26931()
tickBrain()
m_34248_()
protected void
X()
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
m_()
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
gd()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
m_7575_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gw arg0, dfj 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
ge()
playAngrySound()
method_26933()
playAngrySound()
m_34250_()
protected void
W()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public MobType
eR()
getMobType()
method_6046()
getGroup()
m_6336_()
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)