net.minecraft.entity.passive

public class SheepEntity

extends AnimalEntity

All mapped superinterfaces:

Nameable, CommandOutput

arn
net.minecraft.class_1472
net.minecraft.entity.passive.SheepEntity
net.minecraft.entity.living.mob.passive.animal.SheepEntity
net.minecraft.entity.passive.SheepEntity
net.minecraft.entity.passive.SheepEntity

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
bz
field_6870
COLOR
COLOR
field_184774_bv
DYE_COLOR
private static final Map<DyeColor, ItemConvertible>
bA
field_6868
DROPS
DROPS
field_200206_bz
WOOL_BY_COLOR
private static final Map<DyeColor, float[]>
bB
field_6867
COLORS
DYE_COLOR_TO_RGB
field_175514_bm
DYE_TO_RGB
private int
bC
field_6865
field_6865
eatGrassTimer
field_70899_e
sheepTimer
private EatGrassGoal
bD
field_6869
eatGrassGoal
eatGrassGoal
field_146087_bs
eatGrassGoal

Constructor summary

ModifierConstructor
public (EntityType<? extends SheepEntity> arg0, World arg1)

Method summary

Modifier and TypeMethod
private static float[]
c(bbb arg0)
method_6630(class_1767 arg0)
getDyedColor(DyeColor arg0)
getDyedColor(DyeColor color)
func_192020_c(DyeColor arg0)
createSheepColor(DyeColor dyeColorIn)
protected void
n()
method_5959()
initGoals()
initGoals()
func_184651_r()
registerGoals()
protected void
L()
method_5958()
mobTick()
mobAiTick()
func_70619_bc()
updateAITasks()
public void
k()
method_6007()
tickMovement()
mobTick()
func_70636_d()
livingTick()
protected void
cl()
method_6001()
initAttributes()
initAttributes()
func_110147_ax()
registerAttributes()
protected void
u_()
method_5693()
initDataTracker()
registerSyncedData()
func_70088_a()
registerData()
public Identifier
H()
method_5991()
getLootTableId()
getDefaultLootTable()
func_184647_J()
getLootTable()
public boolean
a(awb arg0, ahf arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, InteractionHand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
processInteract(PlayerEntity arg0, Hand arg1)
public void
dW()
method_6636()
dropItems()
m_74443117()
func_213612_dV()
func_213612_dV()
public void
b(ic arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
writeCustomNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
writeAdditional(CompoundNBT arg0)
public void
a(ic arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
readCustomNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
readAdditional(CompoundNBT arg0)
protected SoundEvent
G()
method_5994()
getAmbientSound()
getAmbientSound()
func_184639_G()
getAmbientSound()
protected SoundEvent
e(ahu arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
cH()
method_6002()
getDeathSound()
getDeathSound()
func_184615_bR()
getDeathSound()
protected void
a(ev arg0, bvo arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public DyeColor
dX()
method_6633()
getColor()
getColor()
func_175509_cj()
getFleeceColor()
public void
b(bbb arg0)
method_6631(class_1767 arg0)
setColor(DyeColor arg0)
setColor(DyeColor id)
func_175512_b(DyeColor arg0)
setFleeceColor(DyeColor color)
public boolean
dY()
method_6629()
isSheared()
isSheared()
func_70892_o()
getSheared()
public void
r(boolean arg0)
method_6635(boolean arg0)
setSheared(boolean arg0)
setSheared(boolean sheared)
func_70893_e(boolean arg0)
setSheared(boolean sheared)
public static DyeColor
a(Random arg0)
method_6632(Random arg0)
generateDefaultColor(Random arg0)
pickColor(Random random)
func_175510_a(Random arg0)
getRandomSheepColor(Random random)
public SheepEntity
b(aij arg0)
method_6640(class_1296 arg0)
method_6640(PassiveEntity arg0)
makeChild(PassiveEntity mate)
func_90011_a(AgeableEntity arg0)
createChild(AgeableEntity ageable)
public void
z()
method_5983()
onEatingGrass()
onEatingGrass()
func_70615_aA()
eatGrassBonus()
public EntityData
a(bhn arg0, ahe arg1, aix arg2, ajg arg3, ic arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
onInitialSpawn(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
private DyeColor
a(aqv arg0, aqv arg1)
method_6639(class_1429 arg0, class_1429 arg1)
getChildColor(AnimalEntity arg0, AnimalEntity arg1)
getColorForOffspring(AnimalEntity parent1, AnimalEntity parent2)
func_175511_a(AnimalEntity arg0, AnimalEntity arg1)
getDyeColorMixFromParents(AnimalEntity father, AnimalEntity mother)
private static CraftingInventory
a(bbb arg0, bbb arg1)
method_17690(class_1767 arg0, class_1767 arg1)
createDyeMixingCraftingInventory(DyeColor arg0, DyeColor arg1)
m_63423408(DyeColor arg0, DyeColor arg1)
func_213611_a(DyeColor arg0, DyeColor arg1)
func_213611_a(DyeColor arg0, DyeColor arg1)
protected float
b(aje arg0, aim arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_86089714(Pose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
getStandingEyeHeight(Pose arg0, EntitySize arg1)
public static float[]
a(bbb arg0)
method_6634(class_1767 arg0)
getRgbColor(DyeColor arg0)
getColorRgb(DyeColor color)
func_175513_a(DyeColor arg0)
getDyeRgb(DyeColor dyeColor)
public void
a(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
doEvent(byte arg0)
func_70103_a(byte arg0)
handleStatusUpdate(byte arg0)
public float
v(float arg0)
method_6628(float arg0)
method_6628(float arg0)
getNeckAngle(float delta)
func_70894_j(float arg0)
getHeadRotationPointY(float arg0)
public float
w(float arg0)
method_6641(float arg0)
method_6641(float arg0)
getHeadAngle(float delta)
func_70890_k(float arg0)
getHeadRotationAngleX(float arg0)