Class SkeletonHorseEntity

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

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

    • DESPAWN_AGE Link icon

      private static final int DESPAWN_AGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DESPAWN_AGE Lnet/minecraft/entity/mob/SkeletonHorseEntity;DESPAWN_AGE:I
      intermediary field_30427 Lnet/minecraft/class_1506;field_30427:I
      official bZ Lcjj;bZ:I
    • BABY_BASE_DIMENSIONS Link icon

      private static final EntityDimensions BABY_BASE_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      named BABY_BASE_DIMENSIONS Lnet/minecraft/entity/mob/SkeletonHorseEntity;BABY_BASE_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
      intermediary field_47809 Lnet/minecraft/class_1506;field_47809:Lnet/minecraft/class_4048;
      official ca Lcjj;ca:Lbup;
    • trapTriggerGoal Link icon

      private final SkeletonHorseTrapTriggerGoal trapTriggerGoal
      Mappings:
      Namespace Name Mixin selector
      named trapTriggerGoal Lnet/minecraft/entity/mob/SkeletonHorseEntity;trapTriggerGoal:Lnet/minecraft/entity/ai/goal/SkeletonHorseTrapTriggerGoal;
      intermediary field_7003 Lnet/minecraft/class_1506;field_7003:Lnet/minecraft/class_1505;
      official bY Lcjj;bY:Lcjk;
    • trapped Link icon

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

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

    • SkeletonHorseEntity Link icon

      public SkeletonHorseEntity(EntityType<? extends SkeletonHorseEntity> 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> Lbum;<init>(Lbut;Ldgj;)V
  • Method Details Link icon

    • createSkeletonHorseAttributes Link icon

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

      public static boolean canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official c Lcjj;c(Lbut;Ldgk;Lbus;Lji;Lazh;)Z
    • initAttributes Link icon

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

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

      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 Lbvk;u()Lavz;
    • getDeathSound Link icon

      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_ Lbvi;o_()Lavz;
    • getHurtSound Link icon

      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 Lbvi;e(Lbtc;)Lavz;
    • getSwimSound Link icon

      protected SoundEvent getSwimSound()
      Overrides:
      getSwimSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getSwimSound Lnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5737 Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;
      official aV Lbum;aV()Lavz;
    • playSwimSound Link icon

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

      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 ha Lcjd;ha()V
    • getBaseDimensions Link icon

      public EntityDimensions getBaseDimensions(EntityPose pose)
      Overrides:
      getBaseDimensions in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBaseDimensions Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
      intermediary method_55694 Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      official e Lbvi;e(Lbvu;)Lbup;
    • tickMovement Link icon

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

      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
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbum;b(Ltq;)V
    • readCustomDataFromNbt Link icon

      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
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbum;a(Ltq;)V
    • getBaseWaterMovementSpeedMultiplier Link icon

      protected float getBaseWaterMovementSpeedMultiplier()
      Overrides:
      getBaseWaterMovementSpeedMultiplier in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBaseWaterMovementSpeedMultiplier Lnet/minecraft/entity/LivingEntity;getBaseWaterMovementSpeedMultiplier()F
      intermediary method_6120 Lnet/minecraft/class_1309;method_6120()F
      official fm Lbvi;fm()F
    • isTrapped Link icon

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

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

      @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 Lbud;a(Lard;Lbud;)Lbud;
    • interactMob Link icon

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