Class DonkeyEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, JumpingMount, Mount, RideableInventory, Saddleable, Tameable, Targeter, InventoryChangedListener, ScoreHolder, CommandOutput, Nameable, EntityLike

public class DonkeyEntity extends AbstractDonkeyEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/DonkeyEntity
intermediary net/minecraft/class_1495
official chl
  • Constructor Details

    • DonkeyEntity

      public DonkeyEntity(EntityType<? extends DonkeyEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsv;<init>(Lbtb;Ldbz;)V
  • Method Details

    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official v Lbts;v()Lavz;
    • getAngrySound

      protected SoundEvent getAngrySound()
      Overrides:
      getAngrySound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getAngrySound Lnet/minecraft/entity/passive/AbstractHorseEntity;getAngrySound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6747 Lnet/minecraft/class_1496;method_6747()Lnet/minecraft/class_3414;
      official gO Lchk;gO()Lavz;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbtq;o_()Lavz;
    • getEatSound

      @Nullable protected @Nullable SoundEvent getEatSound()
      Overrides:
      getEatSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named getEatSound Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_28368 Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
      official gx Lchk;gx()Lavz;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official d Lbtq;d(Lbro;)Lavz;
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
      intermediary method_6474 Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
      official a Lcfg;a(Lcfg;)Z
    • playJumpSound

      protected void playJumpSound()
      Overrides:
      playJumpSound in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named playJumpSound Lnet/minecraft/entity/passive/AbstractHorseEntity;playJumpSound()V
      intermediary method_6723 Lnet/minecraft/class_1496;method_6723()V
      official gW Lchk;gW()V
    • createChild

      @Nullable public @Nullable PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Overrides:
      createChild in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
      intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
      official a Lbsp;a(Larf;Lbsp;)Lbsp;