Class SheepEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

public class SheepEntity extends AnimalEntity
Mappings:
Namespace Name
official aag
intermediary net/minecraft/class_949
named net/minecraft/entity/passive/SheepEntity
  • Field Details

    • field_14620

      private static final TrackedData<Byte> field_14620
      Mappings:
      Namespace Name Mixin selector
      official bx Laag;bx:Lmy;
      intermediary field_14620 Lnet/minecraft/class_949;field_14620:Lnet/minecraft/class_2921;
      named field_14620 Lnet/minecraft/entity/passive/SheepEntity;field_14620:Lnet/minecraft/entity/data/TrackedData;
    • COLORS

      private static final Map<DyeColor,float[]> COLORS
      Mappings:
      Namespace Name Mixin selector
      official bz Laag;bz:Ljava/util/Map;
      intermediary field_12006 Lnet/minecraft/class_949;field_12006:Ljava/util/Map;
      named COLORS Lnet/minecraft/entity/passive/SheepEntity;COLORS:Ljava/util/Map;
    • field_5369

      private final CraftingInventory field_5369
      Mappings:
      Namespace Name Mixin selector
      official by Laag;by:Lafy;
      intermediary field_5369 Lnet/minecraft/class_949;field_5369:Lnet/minecraft/class_1011;
      named field_5369 Lnet/minecraft/entity/passive/SheepEntity;field_5369:Lnet/minecraft/inventory/CraftingInventory;
    • eatGrassTimer

      private int eatGrassTimer
      Mappings:
      Namespace Name Mixin selector
      official bB Laag;bB:I
      intermediary field_3707 Lnet/minecraft/class_949;field_3707:I
      named eatGrassTimer Lnet/minecraft/entity/passive/SheepEntity;eatGrassTimer:I
    • eatGrassGoal

      private EatGrassGoal eatGrassGoal
      Mappings:
      Namespace Name Mixin selector
      official bC Laag;bC:Lwx;
      intermediary field_3708 Lnet/minecraft/class_949;field_3708:Lnet/minecraft/class_891;
      named eatGrassGoal Lnet/minecraft/entity/passive/SheepEntity;eatGrassGoal:Lnet/minecraft/entity/ai/goal/EatGrassGoal;
  • Constructor Details

    • SheepEntity

      public SheepEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvg;<init>(Lamu;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • method_14113

      private static float[] method_14113(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      official c Laag;c(Lahs;)[F
      intermediary method_14113 Lnet/minecraft/class_949;method_14113(Lnet/minecraft/class_2674;)[F
      named method_14113 Lnet/minecraft/entity/passive/SheepEntity;method_14113(Lnet/minecraft/util/DyeColor;)[F
    • getDyedColor

      @Environment(CLIENT) public static float[] getDyedColor(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      official a Laag;a(Lahs;)[F
      intermediary method_11101 Lnet/minecraft/class_949;method_11101(Lnet/minecraft/class_2674;)[F
      named getDyedColor Lnet/minecraft/entity/passive/SheepEntity;getDyedColor(Lnet/minecraft/util/DyeColor;)[F
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lvq;r()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official M Lvq;M()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lvp;n()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bM Lvp;bM()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official i Lvg;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lvq;J()Lnf;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • method_2864

      @Environment(CLIENT) public float method_2864(float float2)
      Mappings:
      Namespace Name Mixin selector
      official r Laag;r(F)F
      intermediary method_2864 Lnet/minecraft/class_949;method_2864(F)F
      named method_2864 Lnet/minecraft/entity/passive/SheepEntity;method_2864(F)F
    • method_2865

      @Environment(CLIENT) public float method_2865(float float2)
      Mappings:
      Namespace Name Mixin selector
      official s Laag;s(F)F
      intermediary method_2865 Lnet/minecraft/class_949;method_2865(F)F
      named method_2865 Lnet/minecraft/entity/passive/SheepEntity;method_2865(F)F
    • interactMob

      public boolean interactMob(PlayerEntity playerEntity, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a(Laed;Lub;)Z
      intermediary method_13079 Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Z
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
    • method_13510

      public static void method_13510(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Laag;a(Lry;)V
      intermediary method_13510 Lnet/minecraft/class_949;method_13510(Lnet/minecraft/class_2934;)V
      named method_13510 Lnet/minecraft/entity/passive/SheepEntity;method_13510(Lnet/minecraft/class_2934;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lvg;b(Lfy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(Lfy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • ambientSound

      protected SoundEvent ambientSound()
      Overrides:
      ambientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official F Lvq;F()Lqe;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;
      named ambientSound Lnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lvp;d(Lur;)Lqe;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cf Lvp;cf()Lqe;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • playStepSound

      protected void playStepSound(BlockPos pos, Block block)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lvg;a(Let;Laow;)V
      intermediary method_10936 Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • getColor

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official dl Laag;dl()Lahs;
      intermediary method_11103 Lnet/minecraft/class_949;method_11103()Lnet/minecraft/class_2674;
      named getColor Lnet/minecraft/entity/passive/SheepEntity;getColor()Lnet/minecraft/util/DyeColor;
    • setColor

      public void setColor(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      official b Laag;b(Lahs;)V
      intermediary method_11102 Lnet/minecraft/class_949;method_11102(Lnet/minecraft/class_2674;)V
      named setColor Lnet/minecraft/entity/passive/SheepEntity;setColor(Lnet/minecraft/util/DyeColor;)V
    • isSheared

      public boolean isSheared()
      Mappings:
      Namespace Name Mixin selector
      official dm Laag;dm()Z
      intermediary method_2867 Lnet/minecraft/class_949;method_2867()Z
      named isSheared Lnet/minecraft/entity/passive/SheepEntity;isSheared()Z
    • setSheared

      public void setSheared(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official p Laag;p(Z)V
      intermediary method_2863 Lnet/minecraft/class_949;method_2863(Z)V
      named setSheared Lnet/minecraft/entity/passive/SheepEntity;setSheared(Z)V
    • generateDefaultColor

      public static DyeColor generateDefaultColor(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Laag;a(Ljava/util/Random;)Lahs;
      intermediary method_11100 Lnet/minecraft/class_949;method_11100(Ljava/util/Random;)Lnet/minecraft/class_2674;
      named generateDefaultColor Lnet/minecraft/entity/passive/SheepEntity;generateDefaultColor(Ljava/util/Random;)Lnet/minecraft/util/DyeColor;
    • breed

      public SheepEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laag;b(Lvd;)Laag;
      intermediary method_4525 Lnet/minecraft/class_949;method_4525(Lnet/minecraft/class_862;)Lnet/minecraft/class_949;
      named breed Lnet/minecraft/entity/passive/SheepEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/SheepEntity;
    • onEatingGrass

      public void onEatingGrass()
      Overrides:
      onEatingGrass in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lvq;A()V
      intermediary method_2588 Lnet/minecraft/class_871;method_2588()V
      named onEatingGrass Lnet/minecraft/entity/mob/MobEntity;onEatingGrass()V
    • initialize

      @Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData data)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lvq;a(Lua;Lvs;)Lvs;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
    • getChildColor

      private DyeColor getChildColor(AnimalEntity animalEntity, AnimalEntity animalEntity2)
      Mappings:
      Namespace Name Mixin selector
      official a Laag;a(Lzv;Lzv;)Lahs;
      intermediary method_4524 Lnet/minecraft/class_949;method_4524(Lnet/minecraft/class_942;Lnet/minecraft/class_942;)Lnet/minecraft/class_2674;
      named getChildColor Lnet/minecraft/entity/passive/SheepEntity;getChildColor(Lnet/minecraft/entity/passive/AnimalEntity;Lnet/minecraft/entity/passive/AnimalEntity;)Lnet/minecraft/util/DyeColor;
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official by Lvg;by()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F