Class BlazeEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class BlazeEntity extends HostileEntity
Mappings:
Namespace Name
official btn
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 Lbtn;d:Labn;
      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 Lbtn;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 Lbtn;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> Lbdr;<init>(Lbdv;Lcjw;)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 Lbei;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 m Lbtn;m()Lbfi$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_ Lbdr;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 Lbei;r()Laln;
      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 Lbeg;c(Lbcz;)Laln;
      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 c_ Lbeg;c_()Laln;
      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 bj Lbdr;bj()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 b_ Lbeg;b_()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 eR Lbeg;eR()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 U Lbei;U()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 Lbdr;a(FFLbcz;)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 bK Lbdr;bK()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 p Lbtn;p()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 Lbtn;v(Z)V
      intermediary method_6993 Lnet/minecraft/class_1545;method_6993(Z)V
      named setFireActive Lnet/minecraft/entity/mob/BlazeEntity;setFireActive(Z)V