net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy

bxd
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
w()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
m_34669_()
protected float
b(bgl arg0, bfk 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 abstract boolean
q()
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
r()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
m_34665_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public double
bw()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
W()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public boolean
fY()
isConverting()
method_30235()
shouldZombify()
m_34666_()
protected void
c(aif arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
m_8063_(C_12_ arg0)
public boolean
fZ()
isAdult()
method_30236()
isAdult()
m_34667_()
public abstract PiglinArmPose
ga()
getArmPose()
method_24705()
getActivity()
m_6389_()
public LivingEntity
j()
getTarget()
method_5968()
getTarget()
m_5448_()
protected boolean
gb()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
m_34668_()
public void
N()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected void
V()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected abstract void
gc()
playConvertedSound()
method_30238()
playZombificationSound()
m_7580_()