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

cnp
net.minecraft.world.entity.monster.Zoglin
net.minecraft.class_5136
net.minecraft.entity.mob.ZoglinEntity
net.minecraft.world.entity.monster.EntityZoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bZ
DATA_BABY_ID
field_23734
BABY
private static final int
ca
MAX_HEALTH
field_30514
field_30514
private static final int
cb
ATTACK_KNOCKBACK
field_30505
field_30505
private static final float
cc
KNOCKBACK_RESISTANCE
field_30506
DEFAULT_KNOCKBACK_RESISTANCE
private static final int
cd
ATTACK_DAMAGE
field_30507
DEFAULT_ATTACK_DAMAGE
private static final float
ce
BABY_ATTACK_DAMAGE
field_30508
BABY_ATTACK_DAMAGE
private static final int
cf
ATTACK_INTERVAL
field_30509
ADULT_MELEE_ATTACK_COOLDOWN
private static final int
cg
BABY_ATTACK_INTERVAL
field_30510
BABY_MELEE_ATTACK_COOLDOWN
private static final int
ch
ATTACK_DURATION
field_30511
ATTACK_TARGET_DURATION
private static final float
ci
MOVEMENT_SPEED_WHEN_FIGHTING
field_30512
DEFAULT_MOVEMENT_SPEED
private static final float
cj
SPEED_MULTIPLIER_WHEN_IDLING
field_30513
field_30513
private int
ck
attackAnimationRemainingTicks
field_23732
movementCooldownTicks
protected static final com.google.common.collect.ImmutableList<? extends SensorType<? extends Sensor<? super Zoglin>>>
a
SENSOR_TYPES
field_23731
USED_SENSORS
protected static final com.google.common.collect.ImmutableList<? extends MemoryModuleType<?>>
b
MEMORY_TYPES
field_23733
USED_MEMORY_MODULES

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Zoglin>
ed()
brainProvider()
method_28306()
createBrainProfile()
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)
private static void
a(bxi<cnp> arg0)
initCoreActivity(Brain<Zoglin> arg0)
method_26928(class_4095<class_5136> arg0)
addCoreTasks(Brain<ZoglinEntity> brain)
private static void
b(bxi<cnp> arg0)
initIdleActivity(Brain<Zoglin> arg0)
method_26929(class_4095<class_5136> arg0)
addIdleTasks(Brain<ZoglinEntity> brain)
private static void
c(bxi<cnp> arg0)
initFightActivity(Brain<Zoglin> arg0)
method_26930(class_4095<class_5136> arg0)
addFightTasks(Brain<ZoglinEntity> brain)
private Optional<? extends LivingEntity>
g(ash arg0)
findNearestValidAttackTarget(ServerLevel arg0)
method_26934(class_3218 arg0)
getHoglinTarget(ServerWorld world)
private boolean
b(ash arg0, bwg arg1)
isTargetable(ServerLevel arg0, LivingEntity arg1)
method_26936(class_3218 arg0, class_1309 arg1)
shouldAttack(ServerWorld world, LivingEntity target)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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)
public static AttributeSupplier$Builder
m()
createAttributes()
method_26937()
createZoglinAttributes()
public boolean
p()
isAdult()
method_26939()
isAdult()
public boolean
c(ash arg0, bvk arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
protected void
e(bwg arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity arg0)
public boolean
a(ash arg0, bua 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)
private void
j(bwg arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
public Brain<Zoglin>
ec()
getBrain()
method_18868()
getBrain()
protected void
t()
updateActivity()
method_26931()
tickBrain()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
public boolean
e_()
isBaby()
method_6109()
isBaby()
public void
d_()
aiStep()
method_6007()
tickMovement()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
public int
x()
getAttackAnimationRemainingTicks()
method_24657()
getMovementCooldownTicks()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected void
go()
playAngrySound()
method_26933()
playAngrySound()
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)