Class SkeletonEntity

All Implemented Interfaces:
RangedAttackMob, Monster, CommandOutput, Nameable, EntityLike

public class SkeletonEntity extends AbstractSkeletonEntity
Mappings:
Namespace Name
official bif
intermediary net/minecraft/class_1613
named net/minecraft/entity/mob/SkeletonEntity
  • Field Details

    • CONVERTING

      private static final TrackedData<Boolean> CONVERTING
      Mappings:
      Namespace Name Mixin selector
      official c Lbif;c:Lwf;
      intermediary field_28642 Lnet/minecraft/class_1613;field_28642:Lnet/minecraft/class_2940;
      named CONVERTING Lnet/minecraft/entity/mob/SkeletonEntity;CONVERTING:Lnet/minecraft/entity/data/TrackedData;
    • STRAY_CONVERSION_TIME_KEY

      public static final String STRAY_CONVERSION_TIME_KEY
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lbif;b:Ljava/lang/String;
      intermediary field_30495 Lnet/minecraft/class_1613;field_30495:Ljava/lang/String;
      named STRAY_CONVERSION_TIME_KEY Lnet/minecraft/entity/mob/SkeletonEntity;STRAY_CONVERSION_TIME_KEY:Ljava/lang/String;
    • inPowderSnowTime

      private int inPowderSnowTime
      Mappings:
      Namespace Name Mixin selector
      official d Lbif;d:I
      intermediary field_28643 Lnet/minecraft/class_1613;field_28643:I
      named inPowderSnowTime Lnet/minecraft/entity/mob/SkeletonEntity;inPowderSnowTime:I
    • conversionTime

      private int conversionTime
      Mappings:
      Namespace Name Mixin selector
      official e Lbif;e:I
      intermediary field_28644 Lnet/minecraft/class_1613;field_28644:I
      named conversionTime Lnet/minecraft/entity/mob/SkeletonEntity;conversionTime:I
  • Constructor Details

    • SkeletonEntity

      public SkeletonEntity(EntityType<? extends SkeletonEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)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

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • isConverting

      public boolean isConverting()
      Returns whether this skeleton is currently converting to a stray.
      Mappings:
      Namespace Name Mixin selector
      official fw Lbif;fw()Z
      intermediary method_33590 Lnet/minecraft/class_1613;method_33590()Z
      named isConverting Lnet/minecraft/entity/mob/SkeletonEntity;isConverting()Z
    • setConverting

      public void setConverting(boolean converting)
      Mappings:
      Namespace Name Mixin selector
      official v Lbif;v(Z)V
      intermediary method_35193 Lnet/minecraft/class_1613;method_35193(Z)V
      named setConverting Lnet/minecraft/entity/mob/SkeletonEntity;setConverting(Z)V
    • isShaking

      public boolean isShaking()
      Overrides:
      isShaking in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      official fv Lbhg;fv()Z
      intermediary method_35191 Lnet/minecraft/class_1547;method_35191()Z
      named isShaking Lnet/minecraft/entity/mob/AbstractSkeletonEntity;isShaking()Z
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official k Latf;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)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)
      Overrides:
      readCustomDataFromNbt in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)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
    • setConversionTime

      private void setConversionTime(int time)
      Mappings:
      Namespace Name Mixin selector
      official a Lbif;a(I)V
      intermediary method_33589 Lnet/minecraft/class_1613;method_33589(I)V
      named setConversionTime Lnet/minecraft/entity/mob/SkeletonEntity;setConversionTime(I)V
    • convertToStray

      protected void convertToStray()
      Converts this skeleton to a stray and plays a sound if it is not silent.
      Mappings:
      Namespace Name Mixin selector
      official fx Lbif;fx()V
      intermediary method_33591 Lnet/minecraft/class_1613;method_33591()V
      named convertToStray Lnet/minecraft/entity/mob/SkeletonEntity;convertToStray()V
    • canFreeze

      public boolean canFreeze()
      Overrides:
      canFreeze in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dg Latf;dg()Z
      intermediary method_32316 Lnet/minecraft/class_1297;method_32316()Z
      named canFreeze Lnet/minecraft/entity/Entity;canFreeze()Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official q Latv;q()Lafd;
      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;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official c Latt;c(Lasp;)Lafd;
      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;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official v_ Latt;v_()Lafd;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getStepSound

      SoundEvent getStepSound()
      Specified by:
      getStepSound in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      official p Lbhg;p()Lafd;
      intermediary method_6998 Lnet/minecraft/class_1547;method_6998()Lnet/minecraft/class_3414;
      named getStepSound Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
    • dropEquipment

      protected void dropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)
      Overrides:
      dropEquipment in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(Lasp;IZ)V
      intermediary method_6099 Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)V
      named dropEquipment Lnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V