net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, Enemy

cpg
net.minecraft.world.entity.monster.piglin.AbstractPiglin
net.minecraft.class_5418
net.minecraft.entity.mob.AbstractPiglinEntity

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Boolean>
a
DATA_IMMUNE_TO_ZOMBIFICATION
field_25758
IMMUNE_TO_ZOMBIFICATION
public static final int
b
CONVERSION_TIME
field_30547
TIME_TO_ZOMBIFY
protected int
c
timeInOverworld
field_25759
timeInOverworld

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
n()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
protected abstract boolean
j()
canHunt()
method_26952()
canHunt()
public void
w(boolean arg0)
setImmuneToZombification(boolean arg0)
method_30240(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
protected boolean
m()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(aro arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
b(int arg0)
setTimeInOverworld(int arg0)
method_63664(int arg0)
setTimeInOverworld(int timeInOverworld)
public boolean
q()
isConverting()
method_30235()
shouldZombify()
protected void
g(aro arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
public boolean
t()
isAdult()
method_30236()
isAdult()
public abstract PiglinArmPose
x()
getArmPose()
method_24705()
getActivity()
public LivingEntity
f()
getTarget()
method_5968()
getTarget()
protected boolean
gq()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
public void
T()
playAmbientSound()
method_5966()
playAmbientSound()
protected void
ab()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected abstract void
gr()
playConvertedSound()
method_30238()
playZombificationSound()