net.minecraft.entity.passive

public class SheepEntity

extends AnimalEntity implements Shearable

All mapped superinterfaces:

DataTracked, Nameable, EntityLike, ScoreHolder, Attackable, EquipmentHolder, Leashable, Targeter, Shearable

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

Field summary

Modifier and TypeField
private static final int
bY
EAT_ANIMATION_TICKS
field_30371
MAX_GRASS_TIMER
f_onljvpcz
EAT_ANIMATION_TICKS
f_149039_
private static final TrackedData<Byte>
bZ
DATA_WOOL_ID
field_6870
COLOR
f_diffbcus
COLOR
f_29799_
private static final Map<DyeColor, Integer>
ca
COLOR_BY_DYE
field_6867
COLORS
f_uilvdboo
COLOR_BY_DYE
f_336949_
private int
cc
eatAnimationTick
field_6865
eatGrassTimer
f_ufchpxcv
eatGrassTimer
f_29802_
private EatGrassGoal
cd
eatBlockGoal
field_6869
eatGrassGoal
f_vclipzab
eatGrassGoal
f_29803_

Constructor summary

ModifierConstructor
public (EntityType<? extends SheepEntity> p_29807_, World world)

Method summary

Modifier and TypeMethod
private static int
c(cvn o)
createSheepColor(DyeColor arg0)
method_6630(class_1767 arg0)
getDyedColor(DyeColor color)
m_rdjcwxiq(C_arllgqae arg0)
getColorInternal(DyeColor color)
m_29865_(C_1353_ p_29866_)
public static int
a(cvn o)
getColor(DyeColor arg0)
method_6634(class_1767 arg0)
getRgbColor(DyeColor dyeColor)
m_pegrkopl(C_arllgqae arg0)
getColor(DyeColor color)
m_339153_(C_1353_ p_342171_)
protected void
E()
registerGoals()
method_5959()
initGoals()
m_itjttsuo()
initGoals()
m_8099_()
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
m_alyudxll()
tickMovement()
m_8107_()
public static DefaultAttributeContainer$Builder
p()
createAttributes()
method_26893()
createSheepAttributes()
m_qsurahxi()
createAttributes()
m_29873_()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public float
J(float arg0)
getHeadEatPositionScale(float arg0)
method_6628(float arg0)
getNeckAngle(float delta)
m_zqcilmda(float arg0)
getNeckAngle(float delta)
m_29880_(float arg0)
public float
K(float arg0)
getHeadEatAngleScale(float arg0)
method_6641(float arg0)
getHeadAngle(float delta)
m_pbnjltwz(float arg0)
getHeadAngle(float delta)
m_29882_(float arg0)
public ActionResult
b(coy o, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand 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(ard o, awb o, cwq arg2)
shear(ServerLevel arg0, SoundSource arg1, ItemStack arg2)
method_6636(class_3218 arg0, class_3419 arg1, class_1799 arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
m_bwawkxlz(C_bdwnwhiu arg0, C_pqzizukq arg1, C_sddaxwyk arg2)
sheared(ServerWorld arg0, SoundCategory arg1, ItemStack arg2)
m_5851_(C_12_ p_29819_, C_125_ p_361058_, C_1391_ arg2)
public boolean
a()
readyForShearing()
method_27072()
isShearable()
m_kwgwshvc()
isShearable()
m_6220_()
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected void
b(ji o, dwy arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState 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()
getColor()
m_zzglaoyq()
getDyeColor()
m_29874_()
public void
b(cvn arg0)
setColor(DyeColor arg0)
method_6631(class_1767 arg0)
setColor(DyeColor color)
m_rgkmjdvy(C_arllgqae arg0)
setColor(DyeColor color)
m_29855_(C_1353_ arg0)
public boolean
x()
isSheared()
method_6629()
isSheared()
m_ngkjntpv()
isSheared()
m_29875_()
public void
x(boolean arg0)
setSheared(boolean arg0)
method_6635(boolean arg0)
setSheared(boolean sheared)
m_cwpbmdbg(boolean arg0)
setSheared(boolean sheared)
m_29878_(boolean arg0)
public static DyeColor
a(azh o)
getRandomSheepColor(RandomSource arg0)
method_6632(class_5819 arg0)
generateDefaultColor(Random random)
m_iannlubv(C_rlomrsco arg0)
generateDefaultColor(RandomGenerator random)
m_218261_(C_212974_ p_218262_)
public SheepEntity
b(ard o, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6640(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_elggjmmi(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld world, PassiveEntity arg1)
m_142606_(C_12_ p_149045_, C_141062_ arg1)
public void
S()
ate()
method_5983()
onEatingGrass()
m_yrminwpr()
onEatingGrass()
m_8035_()
public EntityData
a(dha o, bsj o, bus o, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_29836_, C_469_ p_364266_, C_345845_ p_29838_, C_542_ arg3)