net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

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

clo
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
y()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
m_34669_()
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
u()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
m_34665_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us 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
gq()
isConverting()
method_30235()
shouldZombify()
m_34666_()
protected void
c(arf arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
m_8063_(C_12_ arg0)
public boolean
gr()
isAdult()
method_30236()
isAdult()
m_34667_()
public abstract PiglinArmPose
gs()
getArmPose()
method_24705()
getActivity()
m_6389_()
public LivingEntity
p()
getTarget()
method_5968()
getTarget()
m_5448_()
protected boolean
gt()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
m_34668_()
public void
Q()
playAmbientSound()
method_5966()
playAmbientSound()
m_8032_()
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected abstract void
gu()
playConvertedSound()
method_30238()
playZombificationSound()
m_7580_()