Class BlazeEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Monster, Targeter, ScoreHolder, CommandOutput, Nameable, EntityLike

public class BlazeEntity extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/BlazeEntity
intermediary net/minecraft/class_1545
official cjo
  • 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
      named BLAZE_FLAGS Lnet/minecraft/entity/mob/BlazeEntity;BLAZE_FLAGS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7216 Lnet/minecraft/class_1545;field_7216:Lnet/minecraft/class_2940;
      official d Lcjo;d:Lakk;
    • eyeOffset

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

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

    • BlazeEntity

      public BlazeEntity(EntityType<? extends BlazeEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsw;<init>(Lbtc;Ldca;)V
  • Method Details

    • initGoals

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

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

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsw;a(Lako$a;)V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official v Lbtt;v()Lavz;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official d Lbtr;d(Lbrp;)Lavz;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbtr;o_()Lavz;
    • getBrightnessAtEyes

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

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

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

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      official Z Lbtt;Z()V
    • 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
      named isOnFire Lnet/minecraft/entity/Entity;isOnFire()Z
      intermediary method_5809 Lnet/minecraft/class_1297;method_5809()Z
      official bQ Lbsw;bQ()Z
    • isFireActive

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

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