net.minecraft.world.entity.monster.piglin

public abstract class AbstractPiglin

extends Monster

All mapped superinterfaces:

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

cok
net.minecraft.world.entity.monster.piglin.AbstractPiglin
net.minecraft.class_5418
net.minecraft.entity.mob.AbstractPiglinEntity
net.minecraft.world.entity.monster.piglin.EntityPiglinAbstract

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
t()
applyOpenDoorsAbility()
method_30239()
setCanPathThroughDoors()
protected abstract boolean
m()
canHunt()
method_26952()
canHunt()
public void
x(boolean arg0)
setImmuneToZombification(boolean arg0)
method_30240(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
protected boolean
p()
isImmuneToZombification()
method_30234()
isImmuneToZombification()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(ash 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
x()
isConverting()
method_30235()
shouldZombify()
protected void
g(ash arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
zombify(ServerWorld world)
public boolean
go()
isAdult()
method_30236()
isAdult()
public abstract PiglinArmPose
gp()
getArmPose()
method_24705()
getActivity()
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
protected boolean
gq()
isHoldingMeleeWeapon()
method_30237()
isHoldingTool()
public void
R()
playAmbientSound()
method_5966()
playAmbientSound()
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected abstract void
gr()
playConvertedSound()
method_30238()
playZombificationSound()