Class DonkeyEntity

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

public class DonkeyEntity extends AbstractDonkeyEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/DonkeyEntity
intermediary net/minecraft/class_1495
official ckb
  • 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> Lbvj;<init>(Lbvq;Ldhh;)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 u Lbwh;u()Laxe;
    • 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 gP Lcka;gP()Laxe;
    • 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_ Lbwf;o_()Laxe;
    • 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 gq Lcka;gq()Laxe;
    • 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 e Lbwf;e(Lbtz;)Laxe;
    • 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 Lchw;a(Lchw;)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 Lcka;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 Lbva;a(Lash;Lbva;)Lbva;