net.minecraft.world.entity.animal

public class Pig

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

atn
net.minecraft.world.entity.animal.Pig
net.minecraft.class_1452
net.minecraft.unmapped.C_svwchvcj
net.minecraft.entity.passive.PigEntity
net.minecraft.entity.passive.PigEntity
net.minecraft.server.v1_15_R1.EntityPig

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bw
DATA_SADDLE_ID
field_6816
f_nmxsdcqa
SADDLED
field_184763_bv
private static final EntityDataAccessor<Integer>
bx
DATA_BOOST_TIME
field_6815
f_nosaypiw
field_191520_bx
private static final Ingredient
by
FOOD_ITEMS
field_6817
f_oofbqdmv
BREEDING_INGREDIENT
field_184764_bw
private boolean
bz
boosting
field_6814
f_suewmbcq
field_184765_bx
private int
bA
boostTime
field_6812
f_pkboigdq
field_184766_bz
private int
bB
boostTimeTotal
field_6813
f_cnzbdesi
field_184767_bA

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
n()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
func_184651_r()
initPathfinder()
protected void
cA()
registerAttributes()
method_6001()
m_eubsbslp()
initAttributes()
func_110147_ax()
initAttributes()
public Entity
cd()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public boolean
dY()
canBeControlledByRider()
method_5956()
m_izyginfd()
canBeControlledByRider()
func_82171_bF()
public void
a(sb<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_prrlvbmi(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
protected void
w_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
protected SoundEvent
G()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(ajw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
a(fk arg0, byg arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
public boolean
a(ayg arg0, ajh arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
protected void
cU()
dropEquipment()
method_16078()
m_whvujbsh()
dropInventory()
func_213337_cE()
dropInventory()
public boolean
eq()
hasSaddle()
method_6575()
m_qpvfwret()
isSaddled()
func_70901_n()
hasSaddle()
public void
r(boolean arg0)
setSaddle(boolean arg0)
method_6576(boolean arg0)
m_zkofqhzk(boolean arg0)
setSaddled(boolean saddled)
func_70900_e(boolean arg0)
setSaddle(boolean arg0)
public void
a(avv arg0)
thunderHit(LightningBolt arg0)
method_5800(class_1538 arg0)
m_vindekkr(C_kbpqznyn arg0)
onStruckByLightning(LightningEntity arg0)
func_70077_a(LightningBoltEntity arg0)
onLightningStrike(EntityLightning arg0)
public void
e(cvi arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
func_213352_e(Vec3d arg0)
public boolean
er()
boost()
method_6577()
m_aiimixrh()
func_184762_da()
public Pig
b(akl arg0)
getBreedOffspring(AgableMob arg0)
method_6574(class_1296 arg0)
m_byrxnepg(C_rswhorqk arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)