Class SheepEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider

public class SheepEntity extends AnimalEntity
Mappings:
Namespace Name
official we
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 bw Lwe;bw:Lkf;
      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 by Lwe;by: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 bx Lwe;bx:Labc;
      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 bA Lwe;bA: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 bB Lwe;bB:Ltf;
      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> Lrr;<init>(Laht;)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

    • getDyedColor

      public static float[] getDyedColor(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      official a Lwe;a(Lact;)[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 Lsb;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 Lsb;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 Lsa;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 bB Lsa;bB()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 Lrr;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 Lsb;J()Lkl;
      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 Lrr;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 Lwe;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 Lwe;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
    • method_13079

      public boolean method_13079(PlayerEntity playerEntity, Hand hand, @Nullable ItemStack itemStack)
      Overrides:
      method_13079 in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lsb;a(Lzj;Lqm;Ladq;)Z
      intermediary method_13079 Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1071;)Z
      named method_13079 Lnet/minecraft/entity/mob/MobEntity;method_13079(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lrr;b(Ldq;)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 Lrr;a(Ldq;)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 G Lsb;G()Lng;
      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;
    • method_13048

      protected SoundEvent method_13048()
      Overrides:
      method_13048 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bS Lsa;bS()Lng;
      intermediary method_13048 Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;
      named method_13048 Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bT Lsa;bT()Lng;
      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 Lrr;a(Lcl;Lajt;)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 da Lwe;da()Lact;
      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 Lwe;b(Lact;)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 db Lwe;db()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 o Lwe;o(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 Lwe;a(Ljava/util/Random;)Lact;
      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 Lwe;b(Lro;)Lwe;
      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 B Lsb;B()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 Lsb;a(Lql;Lsd;)Lsd;
      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 Lwe;a(Lvw;Lvw;)Lact;
      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 bo Lrr;bo()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F