net.minecraft.world.entity.monster

public class Zoglin

extends Monster implements Enemy, HoglinBase

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, HoglinBase

bsi
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
bX
ATTACK_KNOCKBACK
field_30505
field_30505
f_149870_
private static final float
bY
KNOCKBACK_RESISTANCE
field_30506
field_30506
f_149871_
private static final int
bZ
ATTACK_DAMAGE
field_30507
field_30507
f_149872_
private static final float
ca
BABY_ATTACK_DAMAGE
field_30508
field_30508
f_149873_
private static final int
cb
ATTACK_INTERVAL
field_30509
field_30509
f_149874_
private static final int
cc
BABY_ATTACK_INTERVAL
field_30510
field_30510
f_149875_
private static final int
cd
ATTACK_DURATION
field_30511
field_30511
f_149876_
private static final float
ce
MOVEMENT_SPEED_WHEN_FIGHTING
field_30512
field_30512
f_149877_
private static final float
cf
SPEED_MULTIPLIER_WHEN_IDLING
field_30513
field_30513
f_149878_
private int
cg
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>
dz()
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(bcx<bsi> 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(bcx<bsi> 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(bcx<bsi> 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>
fL()
findNearestValidAttackTarget()
method_26934()
getHoglinTarget()
m_34251_()
private boolean
k(bcc 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(aaj<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public static AttributeSupplier$Builder
n()
createAttributes()
method_26937()
createZoglinAttributes()
m_34257_()
public boolean
q()
isAdult()
method_26939()
isAdult()
m_34247_()
public boolean
z(bbn arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public boolean
a(buc arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
protected void
e(bcc arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
public double
bt()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
m_6048_()
public boolean
a(baw 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
l(bcc arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
m_34254_(C_524_ arg0)
public Brain<Zoglin>
dy()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
t()
updateActivity()
method_26931()
tickBrain()
m_34248_()
protected void
T()
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
y_()
isBaby()
method_6109()
isBaby()
m_6162_()
public void
w_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public int
fJ()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
m_7575_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(baw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gt arg0, cvo 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
fK()
playAngrySound()
method_26933()
playAngrySound()
m_34250_()
protected void
R()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public MobType
ey()
getMobType()
method_6046()
getGroup()
m_6336_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)