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

public class PigEntity

extends AnimalEntity

All mapped superinterfaces:

CommandSource, SpawnableEntity

xc
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 DataAttribute<Integer>
bx
field_15485
BOOST_TIME
field_191520_bx
private static final Set<Item>
by
field_14616
BREEDING_INGREDIENT
TEMPTATION_ITEMS
private boolean
bA
field_14617
boosted
boosting
private int
bB
field_14613
boostedTime
boostTime
private int
bC
field_14614
boostTime
totalBoostTime

Constructor summary

ModifierConstructor
public (World world)

Method summary

Modifier and TypeMethod
protected void
r()
method_13087()
initGoals()
initEntityAI()
protected void
bE()
method_6129()
initAttributes()
applyEntityAttributes()
public Entity
bw()
method_12999()
getControllingPassenger()
getControllingPassenger()
public boolean
cR()
method_4476()
canBeControlledByRider()
canBeSteered()
public void
a(kk<?> arg0)
method_12974(class_2921<?> arg0)
onDataValueChanged(DataAttribute<?> arg0)
notifyDataManagerChange(DataParameter<?> arg0)
protected void
i()
method_2484()
registerSyncedData()
entityInit()
public static void
a(ph arg0)
method_13504(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesPig(DataFixer fixer)
public void
b(du arg0)
method_2528(class_322 arg0)
writeCustomNbt(NbtCompound arg0)
writeEntityToNBT(NBTTagCompound arg0)
public void
a(du arg0)
method_2498(class_322 arg0)
readCustomNbt(NbtCompound arg0)
readEntityFromNBT(NBTTagCompound arg0)
protected SoundEvent
G()
method_2603()
getAmbientSound()
getAmbientSound()
protected SoundEvent
bW()
method_13048()
getHurtSound()
getHurtSound()
protected SoundEvent
bX()
method_13049()
getDeathSound()
getDeathSound()
protected void
a(co arg0, alu arg1)
method_10936(class_2552 arg0, class_197 arg1)
playStepSound(BlockPos arg0, Block arg1)
playStepSound(BlockPos arg0, Block arg1)
public boolean
a(aay arg0, ri arg1)
method_13079(class_988 arg0, class_2961 arg1)
interactMob(PlayerEntity arg0, InteractionHand arg1)
processInteract(EntityPlayer arg0, EnumHand arg1)
public void
a(ry arg0)
method_2580(class_856 arg0)
die(DamageSource arg0)
onDeath(DamageSource arg0)
protected Identifier
J()
method_13074()
getDefaultLootTable()
getLootTable()
public boolean
dh()
method_2860()
isSaddled()
getSaddled()
public void
p(boolean arg0)
method_2859(boolean arg0)
setSaddled(boolean saddled)
setSaddled(boolean saddled)
public void
a(zg 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
di()
method_13117()
boost()
boost()
public PigEntity
b(sk arg0)
method_4522(class_862 arg0)
makeChild(PassiveEntity mate)
createChild(EntityAgeable ageable)
public boolean
e(afj arg0)
method_2853(class_1071 arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)