net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Enemy

cdx
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
A()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
m_34669_()
protected float
b(bmx arg0, blw 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(blv arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ arg0)
protected org.joml.Vector3f
a(blv arg0, blw 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
u()
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
w()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
m_34665_()
protected void
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
Z()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public boolean
ge()
isConverting()
method_30235()
shouldZombify()
m_34666_()
protected void
c(and arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
m_8063_(C_12_ arg0)
public boolean
gf()
isAdult()
method_30236()
isAdult()
m_34667_()
public abstract PiglinArmPose
gg()
getArmPose()
method_24705()
getActivity()
m_6389_()
public LivingEntity
q()
getTarget()
method_5968()
getTarget()
m_5448_()
protected boolean
gh()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
m_34668_()
public void
R()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected abstract void
gi()
playConvertedSound()
method_30238()
playZombificationSound()
m_7580_()