net.minecraft.world.entity.animal

public class Pig

extends Animal implements ItemSteerable, Saddleable

All mapped superinterfaces:

Nameable, CommandSource, ItemSteerable, Saddleable

ban
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_16_R3.EntityPig

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
bo
DATA_SADDLE_ID
field_6816
f_nmxsdcqa
SADDLED
field_184763_bv
private static final EntityDataAccessor<Integer>
bp
DATA_BOOST_TIME
field_6815
f_nosaypiw
BOOST_TIME
field_191520_bx
private static final Ingredient
bq
FOOD_ITEMS
field_6817
f_oofbqdmv
BREEDING_INGREDIENT
field_184764_bw
private final ItemBasedSteering
br
steering
field_23230
f_iqofkmwg
saddledComponent
field_234214_bx_
saddleStorage

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eK()
createAttributes()
method_26890()
m_pxotskdy()
createPigAttributes()
func_234215_eI_()
public Entity
cm()
getControllingPassenger()
method_5642()
m_cvqrfbej()
getPrimaryPassenger()
func_184179_bs()
getRidingPassenger()
public boolean
er()
canBeControlledByRider()
method_5956()
m_izyginfd()
canBeControlledByRider()
func_82171_bF()
public void
a(us<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_prrlvbmi(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
protected void
e()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected SoundEvent
I()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(apk 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
dq()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
b(fx arg0, ceh 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 InteractionResult
b(bfw arg0, aot 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_230254_b_(PlayerEntity arg0, Hand arg1)
public boolean
L_()
isSaddleable()
method_6765()
m_glykbwde()
canBeSaddled()
func_230264_L__()
canSaddle()
protected void
dn()
dropEquipment()
method_16078()
m_whvujbsh()
dropInventory()
func_213337_cE()
dropInventory()
public boolean
M_()
isSaddled()
method_6725()
m_cxbwxsec()
isSaddled()
func_110257_ck()
hasSaddle()
public void
a(adr arg0)
equipSaddle(SoundSource arg0)
method_6576(class_3419 arg0)
m_kexbjetg(C_pqzizukq arg0)
saddle(SoundCategory arg0)
func_230266_a_(SoundCategory arg0)
saddle(SoundCategory arg0)
public Vec3
b(aqm arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
func_230268_c_(LivingEntity arg0)
public void
a(aag arg0, aql arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
m_vindekkr(C_bdwnwhiu arg0, C_kbpqznyn arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
func_241841_a(ServerWorld arg0, LightningBoltEntity arg1)
onLightningStrike(WorldServer arg0, EntityLightning arg1)
public void
g(dcn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
public float
N_()
getSteeringSpeed()
method_26316()
m_bihgwuri()
getSaddledSpeed()
func_230265_N__()
public void
a_(dcn arg0)
travelWithInput(Vec3 arg0)
method_26315(class_243 arg0)
m_upsnggas(C_vgpupfxx arg0)
setMovementInput(Vec3d arg0)
func_230267_a__(Vector3d arg0)
public boolean
O_()
boost()
method_6577()
m_hibdwtrq()
consumeOnAStickItem()
func_184762_da()
public Pig
b(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_6574(class_3218 arg0, class_1296 arg1)
m_kqiyvbue(C_bdwnwhiu arg0, C_rswhorqk arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public Vec3
cf()
getLeashOffset()
method_29919()
m_suasneff()
method_29919()
func_241205_ce_()