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

public class PigEntity

extends AnimalEntity

All mapped superinterfaces:

CommandSource, SpawnableEntity

wc
net.minecraft.class_948
net.minecraft.entity.living.mob.passive.animal.PigEntity
net.minecraft.entity.passive.EntityPig

Field summary

Modifier and TypeField
private static final DataAttribute<Boolean>
bw
field_14615
SADDLED
SADDLED
private static final Set<Item>
bx
field_14616
BREEDING_INGREDIENT
TEMPTATION_ITEMS
private boolean
by
field_14617
boosted
boosting
private int
bA
field_14613
boostedTime
boostTime
private int
bB
field_14614
boostTime
totalBoostTime

Constructor summary

ModifierConstructor
public (World world)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
initEntityAI()
protected void
bB()
method_6129()
initAttributes()
applyEntityAttributes()
public Entity
bu()
method_12999()
getControllingPassenger()
getControllingPassenger()
public boolean
cL()
method_4476()
canBeControlledByRider()
canBeSteered()
protected void
i()
method_2484()
registerSyncedData()
entityInit()
public void
b(dq arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(dq arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
protected SoundEvent
bS()
method_13048()
getHurtSound()
getHurtSound()
protected SoundEvent
bT()
method_13049()
getDeathSound()
getDeathSound()
protected void
a(cl arg0, ajt arg1)
method_10936(class_2552 arg0, class_197 arg1)
playStepSound(BlockPos arg0, Block arg1)
playStepSound(BlockPos arg0, Block arg1)
public boolean
a(zj arg0, qm arg1, adq arg2)
method_13079(class_988 arg0, class_2961 arg1, class_1071 arg2)
interactMob(PlayerEntity arg0, InteractionHand arg1, ItemStack arg2)
processInteract(EntityPlayer arg0, EnumHand arg1, ItemStack arg2)
protected void
a(boolean arg0, int arg1)
method_4472(boolean arg0, int arg1)
dropEquipment(boolean arg0, int arg1)
dropEquipment(boolean arg0, int arg1)
protected Identifier
J()
method_13074()
getDefaultLootTable()
getLootTable()
public boolean
da()
method_2860()
isSaddled()
getSaddled()
public void
o(boolean arg0)
method_2859(boolean arg0)
setSaddled(boolean saddled)
setSaddled(boolean saddled)
public void
a(ya arg0)
method_2502(class_961 arg0)
struckByLightning(LightningBoltEntity arg0)
onStruckByLightning(EntityLightningBolt arg0)
public void
e(float arg0, float arg1)
method_2490(float arg0, float arg1)
takeFallDamage(float arg0, float arg1)
fall(float arg0, float arg1)
public void
g(float arg0, float arg1)
method_2657(float arg0, float arg1)
moveRelative(float arg0, float arg1)
moveEntityWithHeading(float arg0, float arg1)
public boolean
db()
method_13117()
boost()
boost()
public PigEntity
b(ro arg0)
method_4522(class_862 arg0)
makeChild(PassiveEntity mate)
createChild(EntityAgeable ageable)
public boolean
e(adq arg0)
method_2853(class_1071 arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)