net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

caj
net.minecraft.world.entity.monster.piglin.AbstractPiglin
net.minecraft.class_5418
net.minecraft.entity.mob.AbstractPiglinEntity
net.minecraft.src.C_1100_
net.minecraft.world.entity.monster.piglin.EntityPiglinAbstract

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Boolean>
b
DATA_IMMUNE_TO_ZOMBIFICATION
field_25758
IMMUNE_TO_ZOMBIFICATION
f_34648_
protected static final int
c
CONVERSION_TIME
field_30547
TIME_TO_ZOMBIFY
f_149917_
protected static final float
d
PIGLIN_EYE_HEIGHT
field_41030
EYE_HEIGHT
f_256822_
protected int
e
timeInOverworld
field_25759
timeInOverworld
f_34649_

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractPiglin> p_34653_, Level arg1)

Method summary

Modifier and TypeMethod
private void
y()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
m_34669_()
protected float
b(bjs arg0, bir arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_259279_, C_510_ arg1)
protected float
l(biq arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ 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_301042_, C_510_ p_299996_, float arg2)
protected abstract boolean
s()
canHunt()
method_26952()
canHunt()
m_7121_()
public void
w(boolean arg0)
setImmuneToZombification(boolean arg0)
method_30240(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
m_34670_(boolean arg0)
protected boolean
t()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
m_34665_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
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)
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public boolean
gd()
isConverting()
method_30235()
shouldZombify()
m_34666_()
protected void
c(akq arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
m_8063_(C_12_ arg0)
public boolean
ge()
isAdult()
method_30236()
isAdult()
m_34667_()
public abstract PiglinArmPose
gf()
getArmPose()
method_24705()
getActivity()
m_6389_()
public LivingEntity
q()
getTarget()
method_5968()
getTarget()
m_5448_()
protected boolean
gg()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
m_34668_()
public void
P()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected void
W()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected abstract void
gh()
playConvertedSound()
method_30238()
playZombificationSound()
m_7580_()