net.minecraft.entity.living.mob.passive.animal

public class PigEntity

extends AnimalEntity

All mapped superinterfaces:

CommandSource, SpawnableEntity

xb
net.minecraft.unmapped.C_87105418
net.minecraft.entity.living.mob.passive.animal.PigEntity

Field summary

Modifier and TypeField
private static final DataAttribute<Boolean>
bw
f_93442470
SADDLED
private static final Set<Item>
bx
f_36541191
BREEDING_INGREDIENT
private boolean
by
f_10929249
boosted
private int
bA
f_25207870
boostedTime
private int
bB
f_11066983
boostTime

Constructor summary

ModifierConstructor
public (World world)

Method summary

Modifier and TypeMethod
protected void
r()
m_21202670()
initGoals()
protected void
bE()
m_64422344()
initAttributes()
public Entity
bw()
m_53087435()
getControllingPassenger()
public boolean
cR()
m_70121192()
canBeControlledByRider()
protected void
i()
m_19615596()
registerSyncedData()
public static void
b(ph arg0)
m_65042551(C_81045817 arg0)
registerSchema(DataFixerUpper dfu)
public void
b(du arg0)
m_61937125(C_74087615 arg0)
writeCustomNbt(NbtCompound arg0)
public void
a(du arg0)
m_30953923(C_74087615 arg0)
readCustomNbt(NbtCompound arg0)
protected SoundEvent
G()
m_96971201()
getAmbientSound()
protected SoundEvent
bW()
m_52063198()
getHurtSound()
protected SoundEvent
bX()
m_64027168()
getDeathSound()
protected void
a(co arg0, als arg1)
m_04616312(C_32594356 arg0, C_81592558 arg1)
playStepSound(BlockPos arg0, Block arg1)
public boolean
a(aax arg0, rh arg1)
m_80294462(C_40996800 arg0, C_31276856 arg1)
interactMob(PlayerEntity arg0, InteractionHand arg1)
public void
a(rx arg0)
m_21437816(C_83334639 arg0)
die(DamageSource arg0)
protected Identifier
J()
m_61071011()
getDefaultLootTable()
public boolean
dh()
m_59415466()
isSaddled()
public void
p(boolean arg0)
m_74702042(boolean arg0)
setSaddled(boolean saddled)
public void
a(zf arg0)
m_15478890(C_74216765 arg0)
struckByLightning(LightningBoltEntity arg0)
public void
e(float arg0, float arg1)
m_43538800(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
public void
g(float arg0, float arg1)
m_52468627(float arg0, float arg1)
moveRelative(float arg0, float arg1)
public boolean
di()
m_22135228()
boost()
public PigEntity
b(sj arg0)
m_37520019(C_95198707 arg0)
makeChild(PassiveEntity mate)
public boolean
e(afi arg0)
m_92692035(C_88708284 arg0)
isBreedingItem(ItemStack arg0)