Class EnderDragonPart

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.boss.dragon.EnderDragonPart
All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class EnderDragonPart extends Entity
Mappings:
Namespace Name
official bjj
intermediary net/minecraft/class_1508
named net/minecraft/entity/boss/dragon/EnderDragonPart
  • Field Details

    • owner

      public final EnderDragonEntity owner
      Mappings:
      Namespace Name Mixin selector
      official b Lbjj;b:Lbjl;
      intermediary field_7007 Lnet/minecraft/class_1508;field_7007:Lnet/minecraft/class_1510;
      named owner Lnet/minecraft/entity/boss/dragon/EnderDragonPart;owner:Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;
    • name

      public final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lbjj;c:Ljava/lang/String;
      intermediary field_7006 Lnet/minecraft/class_1508;field_7006:Ljava/lang/String;
      named name Lnet/minecraft/entity/boss/dragon/EnderDragonPart;name:Ljava/lang/String;
    • partDimensions

      private final EntityDimensions partDimensions
      Mappings:
      Namespace Name Mixin selector
      official d Lbjj;d:Lawu;
      intermediary field_18119 Lnet/minecraft/class_1508;field_18119:Lnet/minecraft/class_4048;
      named partDimensions Lnet/minecraft/entity/boss/dragon/EnderDragonPart;partDimensions:Lnet/minecraft/entity/EntityDimensions;
  • Constructor Details

    • EnderDragonPart

      public EnderDragonPart(EnderDragonEntity owner, String name, float width, float height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjj;<init>(Lbjl;Ljava/lang/String;FF)V
      intermediary <init> Lnet/minecraft/class_1508;<init>(Lnet/minecraft/class_1510;Ljava/lang/String;FF)V
      named <init> Lnet/minecraft/entity/boss/dragon/EnderDragonPart;<init>(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;Ljava/lang/String;FF)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawt;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Loc;)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
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lawt;b(Loc;)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
    • collides

      public boolean collides()
      Overrides:
      collides in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bh Lawt;bh()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      named collides Lnet/minecraft/entity/Entity;collides()Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Lawd;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • isPartOf

      public boolean isPartOf(Entity entity)
      Overrides:
      isPartOf in class Entity
      Mappings:
      Namespace Name Mixin selector
      official q Lawt;q(Lawt;)Z
      intermediary method_5779 Lnet/minecraft/class_1297;method_5779(Lnet/minecraft/class_1297;)Z
      named isPartOf Lnet/minecraft/entity/Entity;isPartOf(Lnet/minecraft/entity/Entity;)Z
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Specified by:
      createSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official S Lawt;S()Lqr;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Overrides:
      getDimensions in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Laxt;)Lawu;
      intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
    • shouldSave

      public boolean shouldSave()
      Specified by:
      shouldSave in interface EntityLike
      Overrides:
      shouldSave in class Entity
      Mappings:
      Namespace Name Mixin selector
      official dr Lcro;dr()Z
      intermediary method_31746 Lnet/minecraft/class_5568;method_31746()Z
      named shouldSave Lnet/minecraft/world/entity/EntityLike;shouldSave()Z