Class SkeletonHorseEntity

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

public class SkeletonHorseEntity extends AbstractHorseEntity
Mappings:
Namespace Name
official cad
intermediary net/minecraft/class_1506
named net/minecraft/entity/mob/SkeletonHorseEntity
  • Field Details

    • DESPAWN_AGE

      private static final int DESPAWN_AGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bU Lcad;bU:I
      intermediary field_30427 Lnet/minecraft/class_1506;field_30427:I
      named DESPAWN_AGE Lnet/minecraft/entity/mob/SkeletonHorseEntity;DESPAWN_AGE:I
    • trapTriggerGoal

      private final SkeletonHorseTrapTriggerGoal trapTriggerGoal
      Mappings:
      Namespace Name Mixin selector
      official bT Lcad;bT:Lcae;
      intermediary field_7003 Lnet/minecraft/class_1506;field_7003:Lnet/minecraft/class_1505;
      named trapTriggerGoal Lnet/minecraft/entity/mob/SkeletonHorseEntity;trapTriggerGoal:Lnet/minecraft/entity/ai/goal/SkeletonHorseTrapTriggerGoal;
    • trapped

      private boolean trapped
      Mappings:
      Namespace Name Mixin selector
      official bW Lcad;bW:Z
      intermediary field_7005 Lnet/minecraft/class_1506;field_7005:Z
      named trapped Lnet/minecraft/entity/mob/SkeletonHorseEntity;trapped:Z
    • trapTime

      private int trapTime
      Mappings:
      Namespace Name Mixin selector
      official bX Lcad;bX:I
      intermediary field_7004 Lnet/minecraft/class_1506;field_7004:I
      named trapTime Lnet/minecraft/entity/mob/SkeletonHorseEntity;trapTime:I
  • Constructor Details

    • SkeletonHorseEntity

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

    • createSkeletonHorseAttributes

      public static DefaultAttributeContainer.Builder createSkeletonHorseAttributes()
      Mappings:
      Namespace Name Mixin selector
      official u Lcad;u()Lbnq$a;
      intermediary method_26901 Lnet/minecraft/class_1506;method_26901()Lnet/minecraft/class_5132$class_5133;
      named createSkeletonHorseAttributes Lnet/minecraft/entity/mob/SkeletonHorseEntity;createSkeletonHorseAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • canSpawn

      public static boolean canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official c Lcad;c(Lblz;Lctq;Lbmp;Lhx;Lauv;)Z
      intermediary method_55001 Lnet/minecraft/class_1506;method_55001(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      named canSpawn Lnet/minecraft/entity/mob/SkeletonHorseEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
    • initAttributes

      protected void initAttributes(Random random)
      Overrides:
      initAttributes in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbzx;a(Lauv;)V
      intermediary method_6001 Lnet/minecraft/class_1496;method_6001(Lnet/minecraft/class_5819;)V
      named initAttributes Lnet/minecraft/entity/passive/AbstractHorseEntity;initAttributes(Lnet/minecraft/util/math/random/Random;)V
    • initCustomGoals

      protected void initCustomGoals()
      Overrides:
      initCustomGoals in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official gu Lbzx;gu()V
      intermediary method_6764 Lnet/minecraft/class_1496;method_6764()V
      named initCustomGoals Lnet/minecraft/entity/passive/AbstractHorseEntity;initCustomGoals()V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lbmn;y()Larr;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbml;n_()Larr;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

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

      protected SoundEvent getSwimSound()
      Overrides:
      getSwimSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aN Lblv;aN()Larr;
      intermediary method_5737 Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;
      named getSwimSound Lnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
    • playSwimSound

      protected void playSwimSound(float volume)
      Overrides:
      playSwimSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official e Lblv;e(F)V
      intermediary method_5734 Lnet/minecraft/class_1297;method_5734(F)V
      named playSwimSound Lnet/minecraft/entity/Entity;playSwimSound(F)V
    • playJumpSound

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

      public EntityGroup getGroup()
      Overrides:
      getGroup in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eS Lbml;eS()Lbmq;
      intermediary method_6046 Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;
      named getGroup Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
    • getPassengerAttachmentPos

      protected Vector3f getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor)
      Overrides:
      getPassengerAttachmentPos in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lblv;Lblw;F)Lorg/joml/Vector3f;
      intermediary method_52533 Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lorg/joml/Vector3f;
      named getPassengerAttachmentPos Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lorg/joml/Vector3f;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official d_ Lbml;d_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class AbstractHorseEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lblv;b(Lsn;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class AbstractHorseEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lsn;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getBaseMovementSpeedMultiplier

      protected float getBaseMovementSpeedMultiplier()
      Overrides:
      getBaseMovementSpeedMultiplier in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official fd Lbml;fd()F
      intermediary method_6120 Lnet/minecraft/class_1309;method_6120()F
      named getBaseMovementSpeedMultiplier Lnet/minecraft/entity/LivingEntity;getBaseMovementSpeedMultiplier()F
    • isTrapped

      public boolean isTrapped()
      Mappings:
      Namespace Name Mixin selector
      official w Lcad;w()Z
      intermediary method_6812 Lnet/minecraft/class_1506;method_6812()Z
      named isTrapped Lnet/minecraft/entity/mob/SkeletonHorseEntity;isTrapped()Z
    • setTrapped

      public void setTrapped(boolean trapped)
      Mappings:
      Namespace Name Mixin selector
      official w Lcad;w(Z)V
      intermediary method_6813 Lnet/minecraft/class_1506;method_6813(Z)V
      named setTrapped Lnet/minecraft/entity/mob/SkeletonHorseEntity;setTrapped(Z)V
    • createChild

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

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AbstractHorseEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbmn;b(Lcfi;Lbka;)Lbkb;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;