net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bsr
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 int
d
timeInOverworld
field_25759
timeInOverworld
f_34649_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
t()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
m_34669_()
protected abstract boolean
n()
canHunt()
method_26952()
canHunt()
m_7121_()
public void
v(boolean arg0)
setImmuneToZombification(boolean arg0)
method_30240(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
m_34670_(boolean arg0)
protected boolean
q()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
m_34665_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public double
bs()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
T()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public boolean
fJ()
isConverting()
method_30235()
shouldZombify()
m_34666_()
protected void
c(agg arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
m_8063_(C_12_ arg0)
public boolean
fK()
isAdult()
method_30236()
isAdult()
m_34667_()
public abstract PiglinArmPose
fL()
getArmPose()
method_24705()
getActivity()
m_6389_()
public LivingEntity
G()
getTarget()
method_5968()
getTarget()
m_5448_()
protected boolean
fM()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
m_34668_()
public void
K()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected void
R()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected abstract void
fP()
playConvertedSound()
method_30238()
playZombificationSound()
m_7580_()