net.minecraft.world.entity.animal

public class Sheep

extends Animal implements Shearable

All mapped superinterfaces:

Nameable, CommandSource, Shearable

bap
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_R2.EntitySheep

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
bo
DATA_WOOL_ID
field_6870
COLOR
field_184774_bv
private static final Map<DyeColor, ItemLike>
bp
ITEM_BY_DYE
field_6868
DROPS
field_200206_bz
private static final Map<DyeColor, float[]>
bq
COLORARRAY_BY_COLOR
field_6867
COLORS
field_175514_bm
private int
br
eatAnimationTick
field_6865
eatGrassTimer
field_70899_e
private EatBlockGoal
bs
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(bku 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
eK()
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(bft arg0, aoq 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(adp arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
sheared(SoundCategory arg0)
func_230263_a_(SoundCategory arg0)
shear(SoundCategory arg0)
public boolean
K_()
readyForShearing()
method_27072()
isShearable()
func_230262_K__()
canShear()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 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)
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(aph 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
b(fx arg0, cee 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
eL()
getColor()
method_6633()
getColor()
func_175509_cj()
getColor()
public void
b(bku arg0)
setColor(DyeColor arg0)
method_6631(class_1767 arg0)
setColor(DyeColor color)
func_175512_b(DyeColor arg0)
setColor(EnumColor arg0)
public boolean
eM()
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(aag arg0, apv arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_6640(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public void
B()
ate()
method_5983()
onEatingGrass()
func_70615_aA()
blockEaten()
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private DyeColor
a(azw arg0, azw 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(bku arg0, bku 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(aqu arg0, apy 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(bku 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
y(float arg0)
getHeadEatPositionScale(float arg0)
method_6628(float arg0)
getNeckAngle(float delta)
func_70894_j(float arg0)
public float
z(float arg0)
getHeadEatAngleScale(float arg0)
method_6641(float arg0)
getHeadAngle(float delta)
func_70890_k(float arg0)