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.world.entity.monster.EntityZoglin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bY
DATA_BABY_ID
field_23734
BABY
private static final int
bZ
MAX_HEALTH
field_30514
field_30514
private static final int
ca
ATTACK_KNOCKBACK
field_30505
field_30505
private static final float
cb
KNOCKBACK_RESISTANCE
field_30506
DEFAULT_KNOCKBACK_RESISTANCE
private static final int
cc
ATTACK_DAMAGE
field_30507
DEFAULT_ATTACK_DAMAGE
private static final float
cd
BABY_ATTACK_DAMAGE
field_30508
BABY_ATTACK_DAMAGE
private static final int
ce
ATTACK_INTERVAL
field_30509
ADULT_MELEE_ATTACK_COOLDOWN
private static final int
cf
BABY_ATTACK_INTERVAL
field_30510
BABY_MELEE_ATTACK_COOLDOWN
private static final int
cg
ATTACK_DURATION
field_30511
ATTACK_TARGET_DURATION
private static final float
ch
MOVEMENT_SPEED_WHEN_FIGHTING
field_30512
DEFAULT_MOVEMENT_SPEED
private static final float
ci
SPEED_MULTIPLIER_WHEN_IDLING
field_30513
field_30513
private int
cj
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>
ec()
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(bwk<cmr> arg0)
initCoreActivity(Brain<Zoglin> arg0)
method_26928(class_4095<class_5136> arg0)
addCoreTasks(Brain<ZoglinEntity> brain)
private static void
b(bwk<cmr> arg0)
initIdleActivity(Brain<Zoglin> arg0)
method_26929(class_4095<class_5136> arg0)
addIdleTasks(Brain<ZoglinEntity> brain)
private static void
c(bwk<cmr> arg0)
initFightActivity(Brain<Zoglin> arg0)
method_26930(class_4095<class_5136> arg0)
addFightTasks(Brain<ZoglinEntity> brain)
private Optional<? extends LivingEntity>
g(ard arg0)
findNearestValidAttackTarget(ServerLevel arg0)
method_26934(class_3218 arg0)
getHoglinTarget(ServerWorld world)
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)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> 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)
public static AttributeSupplier$Builder
m()
createAttributes()
method_26937()
createZoglinAttributes()
public boolean
p()
isAdult()
method_26939()
isAdult()
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)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
protected void
e(bvi arg0)
blockedByShield(LivingEntity arg0)
method_6060(class_1309 arg0)
knockback(LivingEntity 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)
private void
j(bvi arg0)
setAttackTarget(LivingEntity arg0)
method_26938(class_1309 arg0)
setAttackTarget(LivingEntity entity)
public Brain<Zoglin>
eb()
getBrain()
method_18868()
getBrain()
protected void
t()
updateActivity()
method_26931()
tickBrain()
protected void
a(ard 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(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
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)
protected void
gs()
playAngrySound()
method_26933()
playAngrySound()
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
protected void
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)