net.minecraft.world.entity.animal

public class Sheep

extends Animal implements Shearable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Shearable

bes
net.minecraft.world.entity.animal.Sheep
net.minecraft.class_1472
net.minecraft.unmapped.C_xhsufrff
net.minecraft.entity.passive.SheepEntity
net.minecraft.src.C_896_
net.minecraft.world.entity.animal.EntitySheep

Field summary

Modifier and TypeField
private static final int
bT
EAT_ANIMATION_TICKS
field_30371
f_onljvpcz
MAX_GRASS_TIMER
f_149039_
private static final EntityDataAccessor<Byte>
bU
DATA_WOOL_ID
field_6870
f_diffbcus
COLOR
f_29799_
private static final Map<DyeColor, ItemLike>
bW
ITEM_BY_DYE
field_6868
f_shaewanj
DROPS
f_29800_
private static final Map<DyeColor, float[]>
bX
COLORARRAY_BY_COLOR
field_6867
f_cwaaachp
COLORS
f_29801_
private int
bY
eatAnimationTick
field_6865
f_ufchpxcv
eatGrassTimer
f_29802_
private EatBlockGoal
bZ
eatBlockGoal
field_6869
f_vclipzab
eatGrassGoal
f_29803_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static float[]
c(bpm arg0)
createSheepColor(DyeColor arg0)
method_6630(class_1767 arg0)
m_rdjcwxiq(C_arllgqae arg0)
getDyedColor(DyeColor color)
m_29865_(C_1353_ p_29866_)
public static float[]
a(bpm arg0)
getColorArray(DyeColor arg0)
method_6634(class_1767 arg0)
m_nkbxzgcw(C_arllgqae arg0)
getRgbColor(DyeColor dyeColor)
m_29829_(C_1353_ p_29830_)
protected void
v()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
m_8099_()
initPathfinder()
protected void
eY()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
m_8024_()
mobTick()
public void
u_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
m_8107_()
movementTick()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26893()
m_qsurahxi()
createSheepAttributes()
m_29873_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
public ResourceLocation
N()
getDefaultLootTable()
method_5991()
m_jdpupgbu()
getLootTableId()
m_7582_()
getDefaultLootTable()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public float
z(float arg0)
getHeadEatPositionScale(float arg0)
method_6628(float arg0)
m_zqcilmda(float arg0)
getNeckAngle(float delta)
m_29880_(float arg0)
public float
A(float arg0)
getHeadEatAngleScale(float arg0)
method_6641(float arg0)
m_pbnjltwz(float arg0)
getHeadAngle(float delta)
m_29882_(float arg0)
public InteractionResult
b(bke arg0, asa arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_29854_, C_470_ arg1)
public void
a(aff arg0)
shear(SoundSource arg0)
method_6636(class_3419 arg0)
m_bwawkxlz(C_pqzizukq arg0)
sheared(SoundCategory arg0)
m_5851_(C_125_ arg0)
shear(SoundCategory arg0)
public boolean
a()
readyForShearing()
method_27072()
m_kwgwshvc()
isShearable()
m_6220_()
canShear()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected SoundEvent
q()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
m_5592_()
getSoundDeath()
protected void
b(gg arg0, ckt arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_29862_, C_2064_ arg1)
public DyeColor
t()
getColor()
method_6633()
m_vrrvyxik()
getColor()
m_29874_()
getColor()
public void
b(bpm arg0)
setColor(DyeColor arg0)
method_6631(class_1767 arg0)
m_rgkmjdvy(C_arllgqae arg0)
setColor(DyeColor color)
m_29855_(C_1353_ arg0)
setColor(EnumColor arg0)
public boolean
fw()
isSheared()
method_6629()
m_ngkjntpv()
isSheared()
m_29875_()
isSheared()
public void
v(boolean arg0)
setSheared(boolean arg0)
method_6635(boolean arg0)
m_cwpbmdbg(boolean arg0)
setSheared(boolean sheared)
m_29878_(boolean arg0)
setSheared(boolean arg0)
public static DyeColor
a(Random arg0)
getRandomSheepColor(Random arg0)
method_6632(Random arg0)
m_iannlubv(Random arg0)
generateDefaultColor(Random random)
m_29842_(Random p_29843_)
public Sheep
b(abr arg0, ate arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6640(class_3218 arg0, class_1296 arg1)
m_elggjmmi(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_149045_, C_141062_ arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public void
I()
ate()
method_5983()
m_yrminwpr()
onEatingGrass()
m_8035_()
blockEaten()
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_29836_, C_469_ p_29837_, C_529_ p_29838_, C_542_ p_29839_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
private DyeColor
a(bdy arg0, bdy arg1)
getOffspringColor(Animal arg0, Animal arg1)
method_6639(class_1429 arg0, class_1429 arg1)
m_spfmlykt(C_tprvtfff arg0, C_tprvtfff arg1)
getChildColor(AnimalEntity firstParent, AnimalEntity secondParent)
m_29823_(C_801_ p_29825_, C_801_ arg1)
private static CraftingContainer
a(bpm arg0, bpm arg1)
makeContainer(DyeColor arg0, DyeColor arg1)
method_17690(class_1767 arg0, class_1767 arg1)
m_snhfykch(C_arllgqae arg0, C_arllgqae arg1)
createDyeMixingCraftingInventory(DyeColor firstColor, DyeColor secondColor)
m_29831_(C_1353_ p_29832_, C_1353_ p_29833_)
protected float
b(aug arg0, ath arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_29851_, C_510_ arg1)