Class CowEntity

All Implemented Interfaces:
EntityCategoryProvider
Direct Known Subclasses:
MooshroomEntity

public class CowEntity extends AnimalEntity
Mappings:
Namespace Name
official us
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> Lqm;<init>(Lafm;)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

    • shouldDropHead

      public boolean shouldDropHead()
      Overrides:
      shouldDropHead in class MobEntity
    • initializeAttributes

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

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lrh;t()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()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 aT Lrg;aT()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()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 aU Lrg;aU()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • method_2494

      protected void method_2494(int int2, int int3, int int4, Block block)
      Overrides:
      method_2494 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lqm;a(IIILaht;)V
      intermediary method_2494 Lnet/minecraft/class_864;method_2494(IIILnet/minecraft/class_197;)V
      named method_2494 Lnet/minecraft/entity/Entity;method_2494(IIILnet/minecraft/block/Block;)V
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bf Lrg;bf()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getDefaultDrop

      protected Item getDefaultDrop()
      Overrides:
      getDefaultDrop in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lrh;u()Labm;
      intermediary method_8375 Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;
      named getDefaultDrop Lnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
    • dropLoot

      protected void dropLoot(boolean allowDrops, int lootingMultiplier)
      Overrides:
      dropLoot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lrg;b(ZI)V
      intermediary method_2587 Lnet/minecraft/class_1699;method_2587(ZI)V
      named dropLoot Lnet/minecraft/entity/LivingEntity;dropLoot(ZI)V
    • canBeLeashedBy

      public boolean canBeLeashedBy(PlayerEntity player)
      Overrides:
      canBeLeashedBy in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lrh;a(Lxk;)Z
      intermediary method_2537 Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Z
      named canBeLeashedBy Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • breed

      public CowEntity breed(PassiveEntity passiveEntity)
      Specified by:
      breed in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lus;b(Lqj;)Lus;
      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;