Class BlazeEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class BlazeEntity extends HostileEntity
Mappings:
Namespace Name
official bra
intermediary net/minecraft/class_1545
named net/minecraft/entity/mob/BlazeEntity
  • Field Details

    • BLAZE_FLAGS

      private static final TrackedData<Byte> BLAZE_FLAGS
      The tracked flags of blazes. Only has the 1 bit for fire activation.
      Mappings:
      Namespace Name Mixin selector
      official d Lbra;d:Laaj;
      intermediary field_7216 Lnet/minecraft/class_1545;field_7216:Lnet/minecraft/class_2940;
      named BLAZE_FLAGS Lnet/minecraft/entity/mob/BlazeEntity;BLAZE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • eyeOffset

      private float eyeOffset
      Mappings:
      Namespace Name Mixin selector
      official b Lbra;b:F
      intermediary field_7214 Lnet/minecraft/class_1545;field_7214:F
      named eyeOffset Lnet/minecraft/entity/mob/BlazeEntity;eyeOffset:F
    • eyeOffsetCooldown

      private int eyeOffsetCooldown
      Mappings:
      Namespace Name Mixin selector
      official c Lbra;c:I
      intermediary field_7215 Lnet/minecraft/class_1545;field_7215:I
      named eyeOffsetCooldown Lnet/minecraft/entity/mob/BlazeEntity;eyeOffsetCooldown:I
  • Constructor Details

    • BlazeEntity

      public BlazeEntity(EntityType<? extends BlazeEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbn;<init>(Lbbr;Lcgx;)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

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbce;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • createBlazeAttributes

      public static DefaultAttributeContainer.Builder createBlazeAttributes()
      Mappings:
      Namespace Name Mixin selector
      official n Lbra;n()Lbdc$a;
      intermediary method_26906 Lnet/minecraft/class_1545;method_26906()Lnet/minecraft/class_5132$class_5133;
      named createBlazeAttributes Lnet/minecraft/entity/mob/BlazeEntity;createBlazeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbbn;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbce;r()Lajv;
      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 Lbcc;c(Lbaw;)Lajv;
      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 x_ Lbcc;x_()Lajv;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getBrightnessAtEyes

      public float getBrightnessAtEyes()
      Overrides:
      getBrightnessAtEyes in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bg Lbbn;bg()F
      intermediary method_5718 Lnet/minecraft/class_1297;method_5718()F
      named getBrightnessAtEyes Lnet/minecraft/entity/Entity;getBrightnessAtEyes()F
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbcc;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • hurtByWater

      public boolean hurtByWater()
      Overrides:
      hurtByWater in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eL Lbcc;eL()Z
      intermediary method_29503 Lnet/minecraft/class_1309;method_29503()Z
      named hurtByWater Lnet/minecraft/entity/LivingEntity;hurtByWater()Z
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official T Lbce;T()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • handleFallDamage

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Called when an entity falls.

      Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like TntMinecartEntity.

      Overrides:
      handleFallDamage in class LivingEntity
      Returns:
      whether to play the sound when falling on honey block; false for all entities except horses and llamas
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(FFLbaw;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • isOnFire

      public boolean isOnFire()
      Returns whether the entity is on fire and is not fire immune.
      Overrides:
      isOnFire in class Entity
      Returns:
      whether the entity is on fire and is not fire immune
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bH Lbbn;bH()Z
      intermediary method_5809 Lnet/minecraft/class_1297;method_5809()Z
      named isOnFire Lnet/minecraft/entity/Entity;isOnFire()Z
    • isFireActive

      private boolean isFireActive()
      Mappings:
      Namespace Name Mixin selector
      official q Lbra;q()Z
      intermediary method_6994 Lnet/minecraft/class_1545;method_6994()Z
      named isFireActive Lnet/minecraft/entity/mob/BlazeEntity;isFireActive()Z
    • setFireActive

      void setFireActive(boolean fireActive)
      Mappings:
      Namespace Name Mixin selector
      official v Lbra;v(Z)V
      intermediary method_6993 Lnet/minecraft/class_1545;method_6993(Z)V
      named setFireActive Lnet/minecraft/entity/mob/BlazeEntity;setFireActive(Z)V