Class CowEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider
Direct Known Subclasses:
MooshroomEntity

public class CowEntity
extends AnimalEntity
Mappings:
Namespace Name
official to
intermediary net/minecraft/class_1849
named net/minecraft/entity/passive/CowEntity
  • Constructor Details

    • CowEntity

      public CowEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official aX Lpr;aX()V
      intermediary method_7097 Lnet/minecraft/class_1752;method_7097()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lps;z()Ljava/lang/String;
      intermediary method_7231 Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lpr;bo()Ljava/lang/String;
      intermediary method_7137 Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bp Lpr;bp()Ljava/lang/String;
      intermediary method_7138 Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • playStepSound

      protected void playStepSound​(BlockPos pos, Block block)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Lcj;Lafh;)V
      intermediary method_6932 Lnet/minecraft/class_1745;method_6932(Lnet/minecraft/class_1372;Lnet/minecraft/class_160;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • method_7108

      protected float method_7108()
      Overrides:
      method_7108 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bB Lpr;bB()F
      intermediary method_7108 Lnet/minecraft/class_1752;method_7108()F
      named method_7108 Lnet/minecraft/entity/LivingEntity;method_7108()F
    • getDefaultDrop

      protected Item getDefaultDrop()
      Overrides:
      getDefaultDrop in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lps;A()Lzw;
      intermediary method_7183 Lnet/minecraft/class_1753;method_7183()Lnet/minecraft/class_2054;
      named getDefaultDrop Lnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
    • method_7106

      protected void method_7106​(boolean bool, int int2)
      Overrides:
      method_7106 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpr;b(ZI)V
      intermediary method_7106 Lnet/minecraft/class_1752;method_7106(ZI)V
      named method_7106 Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
    • method_7195

      public boolean method_7195​(PlayerEntity player)
      Overrides:
      method_7195 in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lps;a(Lwn;)Z
      intermediary method_7195 Lnet/minecraft/class_1753;method_7195(Lnet/minecraft/class_1963;)Z
      named method_7195 Lnet/minecraft/entity/mob/MobEntity;method_7195(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • method_6890

      public CowEntity method_6890​(AgeableEntity ageableEntity)
      Specified by:
      method_6890 in class AgeableEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lto;b(Lph;)Lto;
      intermediary method_7522 Lnet/minecraft/class_1849;method_7522(Lnet/minecraft/class_1743;)Lnet/minecraft/class_1849;
      named method_6890 Lnet/minecraft/entity/passive/CowEntity;method_6890(Lnet/minecraft/entity/passive/AgeableEntity;)Lnet/minecraft/entity/passive/CowEntity;
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aS Lpk;aS()F
      intermediary method_6965 Lnet/minecraft/class_1745;method_6965()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F