Class BlazeEntity

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

public class BlazeEntity extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/BlazeEntity
intermediary net/minecraft/class_1545
official cmf
  • 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 c Lcmf;c:Lalc;
    • 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 a Lcmf;a: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 b Lcmf;b: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> Lbvj;<init>(Lbvq;Ldhh;)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 B Lbwh;B()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 m Lcmf;m()Lbxm$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 Lbvj;a(Lalg$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 u Lbwh;u()Laxe;
    • 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 e Lbwf;e(Lbtz;)Laxe;
    • 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_ Lbwf;o_()Laxe;
    • 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 by Lbvj;by()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 d_ Lbwf;d_()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 fr Lbwf;fr()Z
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lbwh;a(Lash;)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 bY Lbvj;bY()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 p Lcmf;p()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 x Lcmf;x(Z)V