Class SkeletonEntity

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

public class SkeletonEntity
extends AbstractSkeletonEntity
Mappings:
Namespace Name
official bgh
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 b Lbgh;b:Lvu;
      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;
    • field_28643

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

      private int conversionTime
      Mappings:
      Namespace Name Mixin selector
      official d Lbgh;d: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> Laro;<init>(Lars;Lbuq;)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 e Laro;e()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 fm Lbgh;fm()Z
      intermediary method_33590 Lnet/minecraft/class_1613;method_33590()Z
      named isConverting Lnet/minecraft/entity/mob/SkeletonEntity;isConverting()Z
    • tick

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

      public void writeCustomDataToNbt​(CompoundTag tag)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laro;b(Lmr;)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/CompoundTag;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt​(CompoundTag tag)
      Overrides:
      readCustomDataFromNbt in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laro;a(Lmr;)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/CompoundTag;)V
    • setConversionTime

      private void setConversionTime​(int time)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgh;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 fn Lbgh;fn()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 da Laro;da()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 p Lasc;p()Laer;
      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 Lasb;c(Laqy;)Laer;
      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 q Lasb;q()Laer;
      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 o Lbfi;o()Laer;
      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 Lasb;a(Laqy;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