net.minecraft.world.entity.animal

public class Sheep

extends Animal implements Shearable

All mapped superinterfaces:

Nameable, CommandSource, Shearable

azd
net.minecraft.world.entity.animal.Sheep
net.minecraft.class_1472
net.minecraft.entity.passive.SheepEntity
net.minecraft.entity.passive.SheepEntity
net.minecraft.server.v1_16_R1.EntitySheep

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
bv
DATA_WOOL_ID
field_6870
COLOR
field_184774_bv
private static final Map<DyeColor, ItemLike>
bw
ITEM_BY_DYE
field_6868
DROPS
field_200206_bz
private static final Map<DyeColor, float[]>
bx
COLORARRAY_BY_COLOR
field_6867
COLORS
field_175514_bm
private int
by
eatAnimationTick
field_6865
eatGrassTimer
field_70899_e
private EatBlockGoal
bz
eatBlockGoal
field_6869
eatGrassGoal
field_146087_bs

Constructor summary

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

Method summary

Modifier and TypeMethod
private static float[]
c(bje arg0)
createSheepColor(DyeColor arg0)
method_6630(class_1767 arg0)
getDyedColor(DyeColor color)
func_192020_c(DyeColor arg0)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
public static AttributeSupplier$Builder
eL()
createAttributes()
method_26893()
createSheepAttributes()
func_234225_eI_()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public ResourceLocation
J()
getDefaultLootTable()
method_5991()
getLootTableId()
func_184647_J()
getDefaultLootTable()
public InteractionResult
b(bec arg0, anf arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public void
a(acm arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
sheared(SoundCategory arg0)
func_230263_a_(SoundCategory arg0)
shear(SoundCategory arg0)
public boolean
L_()
readyForShearing()
method_27072()
isShearable()
func_230262_K__()
canShear()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
a(fu arg0, cfj arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
public DyeColor
eM()
getColor()
method_6633()
getColor()
func_175509_cj()
getColor()
public void
b(bje arg0)
setColor(DyeColor arg0)
method_6631(class_1767 arg0)
setColor(DyeColor color)
func_175512_b(DyeColor arg0)
setColor(EnumColor arg0)
public boolean
eN()
isSheared()
method_6629()
isSheared()
func_70892_o()
isSheared()
public void
t(boolean arg0)
setSheared(boolean arg0)
method_6635(boolean arg0)
setSheared(boolean sheared)
func_70893_e(boolean arg0)
setSheared(boolean arg0)
public static DyeColor
a(Random arg0)
getRandomSheepColor(Random arg0)
method_6632(Random arg0)
generateDefaultColor(Random arg0)
func_175510_a(Random arg0)
public Sheep
b(aok arg0)
getBreedOffspring(AgableMob arg0)
method_6640(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public void
B()
ate()
method_5983()
onEatingGrass()
func_70615_aA()
blockEaten()
public SpawnGroupData
a(bqc arg0, ane arg1, apb arg2, apo arg3, le arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private DyeColor
a(ayk arg0, ayk arg1)
getOffspringColor(Animal arg0, Animal arg1)
method_6639(class_1429 arg0, class_1429 arg1)
getChildColor(AnimalEntity firstParent, AnimalEntity secondParent)
func_175511_a(AnimalEntity arg0, AnimalEntity arg1)
private static CraftingContainer
a(bje arg0, bje arg1)
makeContainer(DyeColor arg0, DyeColor arg1)
method_17690(class_1767 arg0, class_1767 arg1)
createDyeMixingCraftingInventory(DyeColor firstColor, DyeColor secondColor)
func_213611_a(DyeColor arg0, DyeColor arg1)
protected float
b(apj arg0, aon arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public static float[]
a(bje arg0)
getColorArray(DyeColor arg0)
method_6634(class_1767 arg0)
getRgbColor(DyeColor dyeColor)
func_175513_a(DyeColor arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public float
u(float arg0)
getHeadEatPositionScale(float arg0)
method_6628(float arg0)
getNeckAngle(float delta)
func_70894_j(float arg0)
public float
v(float arg0)
getHeadEatAngleScale(float arg0)
method_6641(float arg0)
getHeadAngle(float delta)
func_70890_k(float arg0)