Class CowEntity

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

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

    • CowEntity

      public CowEntity(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

    • 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
    • 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
    • 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
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ce Lsa;ce()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • 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;
    • 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
    • breed

      public CowEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lvy;b(Lro;)Lvy;
      intermediary method_4517 Lnet/minecraft/class_944;method_4517(Lnet/minecraft/class_862;)Lnet/minecraft/class_944;
      named breed Lnet/minecraft/entity/passive/CowEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CowEntity;
    • 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