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

cpq
net.minecraft.world.entity.monster.piglin.AbstractPiglin
net.minecraft.class_5418
net.minecraft.unmapped.C_imddhoxf
net.minecraft.entity.mob.AbstractPiglinEntity
net.minecraft.entity.mob.AbstractPiglinEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
n()
applyOpenDoorsAbility()
method_30239()
m_gpunyogc()
setCanPathThroughDoors()
setCanPathThroughDoors()
protected abstract boolean
j()
canHunt()
method_26952()
m_bmugrmhr()
canHunt()
canHunt()
public void
w(boolean arg0)
setImmuneToZombification(boolean arg0)
method_30240(boolean arg0)
m_jwijlhiy(boolean arg0)
setImmuneToZombification(boolean immuneToZombification)
setImmuneToZombification(boolean immuneToZombification)
protected boolean
m()
isImmuneToZombification()
method_30234()
m_ebjshjiv()
isImmuneToZombification()
isImmuneToZombification()
protected void
a(akn$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(arq arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
mobTick(ServerWorld arg0)
public void
b(int arg0)
setTimeInOverworld(int arg0)
method_63664(int arg0)
m_zccciztz(int arg0)
setTimeInOverworld(int timeInOverworld)
setTimeInOverworld(int time)
public boolean
q()
isConverting()
method_30235()
m_jyosibyd()
shouldZombify()
shouldZombify()
protected void
g(arq arg0)
finishConversion(ServerLevel arg0)
method_24694(class_3218 arg0)
m_rloeixfu(C_bdwnwhiu arg0)
zombify(ServerWorld world)
zombify(ServerWorld world)
public boolean
t()
isAdult()
method_30236()
m_obdeahon()
isAdult()
isAdult()
public abstract PiglinArmPose
x()
getArmPose()
method_24705()
m_iihxosfw()
getActivity()
getActivity()
public LivingEntity
f()
getTarget()
method_5968()
m_mqgluxpv()
getTarget()
getTarget()
protected boolean
gr()
isHoldingMeleeWeapon()
method_30237()
m_cltstgpt()
isHoldingTool()
isHoldingTool()
public void
T()
playAmbientSound()
method_5966()
m_frolgtzg()
playAmbientSound()
playAmbientSound()
protected void
ab()
sendDebugPackets()
method_18409()
m_xozpkuaw()
sendAiDebugData()
sendAiDebugData()
protected abstract void
gs()
playConvertedSound()
method_30238()
m_jneonamx()
playZombificationSound()
playZombificationSound()