Class CowEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Nameable
Direct Known Subclasses:
MooshroomEntity

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

    • CowEntity

      protected CowEntity(EntityType<?> entityType, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laev;Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • CowEntity

      public CowEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)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 n Lafb;n()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 bZ Lafa;bZ()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 D Lafb;D()Lwi;
      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 Lafa;d(Laea;)Lwi;
      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 cs Lafa;cs()Lwi;
      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;
    • method_10936

      protected void method_10936(BlockPos blockPos, BlockState blockState)
      Overrides:
      method_10936 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lel;Lblc;)V
      intermediary method_10936 Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_10936 Lnet/minecraft/entity/Entity;method_10936(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cD Lafa;cD()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 G Lafb;G()Lpc;
      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;
    • interactMob

      public boolean interactMob(PlayerEntity playerEntity, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laog;Ladk;)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
    • breed

      public CowEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Laeo;)Lajt;
      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 bF Laer;bF()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F