Class GhastEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Monster

public class GhastEntity extends FlyingEntity implements Monster
Mappings:
Namespace Name
official afa
intermediary net/minecraft/class_972
named net/minecraft/entity/mob/GhastEntity
  • Field Details

    • fireballStrength

      private int fireballStrength
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a:I
      intermediary field_5389 Lnet/minecraft/class_972;field_5389:I
      named fireballStrength Lnet/minecraft/entity/mob/GhastEntity;fireballStrength:I
  • Constructor Details

    • GhastEntity

      public GhastEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwv;<init>(Laqu;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • isShooting

      @Environment(CLIENT) public boolean isShooting()
      Mappings:
      Namespace Name Mixin selector
      official n Lafa;n()Z
      intermediary method_6308 Lnet/minecraft/class_972;method_6308()Z
      named isShooting Lnet/minecraft/entity/mob/GhastEntity;isShooting()Z
    • setShooting

      public void setShooting(boolean shooting)
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Z)V
      intermediary method_11188 Lnet/minecraft/class_972;method_11188(Z)V
      named setShooting Lnet/minecraft/entity/mob/GhastEntity;setShooting(Z)V
    • getFireballStrength

      public int getFireballStrength()
      Mappings:
      Namespace Name Mixin selector
      official cd Lafa;cd()I
      intermediary method_11189 Lnet/minecraft/class_972;method_11189()I
      named getFireballStrength Lnet/minecraft/entity/mob/GhastEntity;getFireballStrength()I
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official s_ Lwv;s_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lwh;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lwv;h()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official aW Lxm;aW()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lxn;z()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bn Lxm;bn()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lxm;bo()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • getDefaultDrop

      protected Item getDefaultDrop()
      Overrides:
      getDefaultDrop in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lxn;A()Lalq;
      intermediary method_8375 Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;
      named getDefaultDrop Lnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
    • dropLoot

      protected void dropLoot(boolean allowDrops, int lootingMultiplier)
      Overrides:
      dropLoot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lxm;b(ZI)V
      intermediary method_2587 Lnet/minecraft/class_1699;method_2587(ZI)V
      named dropLoot Lnet/minecraft/entity/LivingEntity;dropLoot(ZI)V
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bA Lxm;bA()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • canSpawn

      public boolean canSpawn()
      Overrides:
      canSpawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bQ Lxn;bQ()Z
      intermediary method_2637 Lnet/minecraft/class_871;method_2637()Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn()Z
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bU Lxn;bU()I
      intermediary method_2639 Lnet/minecraft/class_871;method_2639()I
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lwv;b(Lfn;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lfn;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aR Lwv;aR()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F