net.minecraft.world.entity.monster

public class Zoglin

extends Monster implements HoglinBase

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy, HoglinBase

cmr
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>
bY
DATA_BABY_ID
field_23734
BABY
f_34201_
private static final int
bZ
MAX_HEALTH
field_30514
field_30514
f_149879_
private static final int
ca
ATTACK_KNOCKBACK
field_30505
field_30505
f_149870_
private static final float
cb
KNOCKBACK_RESISTANCE
field_30506
DEFAULT_KNOCKBACK_RESISTANCE
f_149871_
private static final int
cc
ATTACK_DAMAGE
field_30507
DEFAULT_ATTACK_DAMAGE
f_149872_
private static final float
cd
BABY_ATTACK_DAMAGE
field_30508
BABY_ATTACK_DAMAGE
f_149873_
private static final int
ce
ATTACK_INTERVAL
field_30509
ADULT_MELEE_ATTACK_COOLDOWN
f_149874_
private static final int
cf
BABY_ATTACK_INTERVAL
field_30510
BABY_MELEE_ATTACK_COOLDOWN
f_149875_
private static final int
cg
ATTACK_DURATION
field_30511
ATTACK_TARGET_DURATION
f_149876_
private static final float
ch
MOVEMENT_SPEED_WHEN_FIGHTING
field_30512
DEFAULT_MOVEMENT_SPEED
f_149877_
private static final float
ci
SPEED_MULTIPLIER_WHEN_IDLING
field_30513
field_30513
f_149878_
private int
cj
attackAnimationRemainingTicks
field_23732
movementCooldownTicks
f_34199_
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Zoglin>>>
a
SENSOR_TYPES
field_23731
USED_SENSORS
f_34198_
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
b
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>
ec()
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(bwk<cmr> 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(bwk<cmr> 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(bwk<cmr> 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>
g(ard arg0)
findNearestValidAttackTarget(ServerLevel arg0)
method_26934(class_3218 arg0)
getHoglinTarget(ServerWorld world)
m_34251_(C_12_ arg0)
private boolean
b(ard arg0, bvi arg1)
isTargetable(ServerLevel arg0, LivingEntity arg1)
method_26936(class_3218 arg0, class_1309 arg1)
shouldAttack(ServerWorld world, LivingEntity target)
m_34252_(C_12_ p_34253_, C_524_ arg1)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_367985_, C_469_ p_369650_, C_345845_ p_362880_, C_542_ arg3)
public static AttributeSupplier$Builder
m()
createAttributes()
method_26937()
createZoglinAttributes()
m_34257_()
public boolean
p()
isAdult()
method_26939()
isAdult()
m_34247_()
public boolean
c(ard arg0, bum arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_34207_, C_507_ arg1)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()
protected void
e(bvi arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
m_6731_(C_524_ arg0)
public boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_368778_, C_489_ p_370202_, float arg2)
private void
j(bvi arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
m_34254_(C_524_ arg0)
public Brain<Zoglin>
eb()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
t()
updateActivity()
method_26931()
tickBrain()
m_34248_()
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public boolean
e_()
isBaby()
method_6109()
isBaby()
m_6162_()
public void
d_()
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
x()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
m_7575_()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(ji arg0, dwy 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
gs()
playAngrySound()
method_26933()
playAngrySound()
m_34250_()
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
m_5448_()
protected void
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)