Class BreezeEntity

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

public class BreezeEntity extends HostileEntity
Mappings:
Namespace Name
official cdl
intermediary net/minecraft/class_8949
named net/minecraft/entity/mob/BreezeEntity
  • Field Details

    • field_47271

      private static final int field_47271
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bU Lcdl;bU:I
      intermediary field_47271 Lnet/minecraft/class_8949;field_47271:I
      named field_47271 Lnet/minecraft/entity/mob/BreezeEntity;field_47271:I
    • field_47272

      private static final int field_47272
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bV Lcdl;bV:I
      intermediary field_47272 Lnet/minecraft/class_8949;field_47272:I
      named field_47272 Lnet/minecraft/entity/mob/BreezeEntity;field_47272:I
    • field_47273

      private static final int field_47273
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bW Lcdl;bW:I
      intermediary field_47273 Lnet/minecraft/class_8949;field_47273:I
      named field_47273 Lnet/minecraft/entity/mob/BreezeEntity;field_47273:I
    • field_47274

      private static final int field_47274
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bX Lcdl;bX:I
      intermediary field_47274 Lnet/minecraft/class_8949;field_47274:I
      named field_47274 Lnet/minecraft/entity/mob/BreezeEntity;field_47274:I
    • field_47275

      private static final int field_47275
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bY Lcdl;bY:I
      intermediary field_47275 Lnet/minecraft/class_8949;field_47275:I
      named field_47275 Lnet/minecraft/entity/mob/BreezeEntity;field_47275:I
    • field_47276

      private static final int field_47276
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lcdl;bZ:I
      intermediary field_47276 Lnet/minecraft/class_8949;field_47276:I
      named field_47276 Lnet/minecraft/entity/mob/BreezeEntity;field_47276:I
    • field_47278

      private static final float field_47278
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lcdl;ca:F
      intermediary field_47278 Lnet/minecraft/class_8949;field_47278:F
      named field_47278 Lnet/minecraft/entity/mob/BreezeEntity;field_47278:F
    • field_47269

      public AnimationState field_47269
      Mappings:
      Namespace Name Mixin selector
      official b Lcdl;b:Lblr;
      intermediary field_47269 Lnet/minecraft/class_8949;field_47269:Lnet/minecraft/class_7094;
      named field_47269 Lnet/minecraft/entity/mob/BreezeEntity;field_47269:Lnet/minecraft/entity/AnimationState;
    • slidingAnimationState

      public AnimationState slidingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official c Lcdl;c:Lblr;
      intermediary field_47277 Lnet/minecraft/class_8949;field_47277:Lnet/minecraft/class_7094;
      named slidingAnimationState Lnet/minecraft/entity/mob/BreezeEntity;slidingAnimationState:Lnet/minecraft/entity/AnimationState;
    • inhalingAnimationState

      public AnimationState inhalingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official d Lcdl;d:Lblr;
      intermediary field_47280 Lnet/minecraft/class_8949;field_47280:Lnet/minecraft/class_7094;
      named inhalingAnimationState Lnet/minecraft/entity/mob/BreezeEntity;inhalingAnimationState:Lnet/minecraft/entity/AnimationState;
    • shootingAnimationState

      public AnimationState shootingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official e Lcdl;e:Lblr;
      intermediary field_47281 Lnet/minecraft/class_8949;field_47281:Lnet/minecraft/class_7094;
      named shootingAnimationState Lnet/minecraft/entity/mob/BreezeEntity;shootingAnimationState:Lnet/minecraft/entity/AnimationState;
    • field_47270

      public AnimationState field_47270
      Mappings:
      Namespace Name Mixin selector
      official bT Lcdl;bT:Lblr;
      intermediary field_47270 Lnet/minecraft/class_8949;field_47270:Lnet/minecraft/class_7094;
      named field_47270 Lnet/minecraft/entity/mob/BreezeEntity;field_47270:Lnet/minecraft/entity/AnimationState;
    • longJumpingParticleAddCount

      private int longJumpingParticleAddCount
      Mappings:
      Namespace Name Mixin selector
      official cb Lcdl;cb:I
      intermediary field_47279 Lnet/minecraft/class_8949;field_47279:I
      named longJumpingParticleAddCount Lnet/minecraft/entity/mob/BreezeEntity;longJumpingParticleAddCount:I
  • Constructor Details

    • BreezeEntity

      public BreezeEntity(EntityType<? extends HostileEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblv;<init>(Lblz;Lctp;)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

    • createBreezeAttributes

      public static DefaultAttributeContainer.Builder createBreezeAttributes()
      Mappings:
      Namespace Name Mixin selector
      official u Lcdl;u()Lbnq$a;
      intermediary method_55014 Lnet/minecraft/class_8949;method_55014()Lnet/minecraft/class_5132$class_5133;
      named createBreezeAttributes Lnet/minecraft/entity/mob/BreezeEntity;createBreezeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Lcom/mojang/serialization/Dynamic;)Lbnl;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • getBrain

      public Brain<BreezeEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dO Lbml;dO()Lbnl;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • createBrainProfile

      protected Brain.Profile<BreezeEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dP Lbml;dP()Lbnl$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • canTarget

      public boolean canTarget(LivingEntity target)
      Overrides:
      canTarget in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbml;c(Lbml;)Z
      intermediary method_18395 Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lagm;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • stopAnimations

      private void stopAnimations()
      Mappings:
      Namespace Name Mixin selector
      official gg Lcdl;gg()V
      intermediary method_55010 Lnet/minecraft/class_8949;method_55010()V
      named stopAnimations Lnet/minecraft/entity/mob/BreezeEntity;stopAnimations()V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lblv;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • resetLongJumpingParticleAddCount

      public BreezeEntity resetLongJumpingParticleAddCount()
      Mappings:
      Namespace Name Mixin selector
      official w Lcdl;w()Lcdl;
      intermediary method_55015 Lnet/minecraft/class_8949;method_55015()Lnet/minecraft/class_8949;
      named resetLongJumpingParticleAddCount Lnet/minecraft/entity/mob/BreezeEntity;resetLongJumpingParticleAddCount()Lnet/minecraft/entity/mob/BreezeEntity;
    • addGustDustParticles

      public BreezeEntity addGustDustParticles()
      Mappings:
      Namespace Name Mixin selector
      official A Lcdl;A()Lcdl;
      intermediary method_55006 Lnet/minecraft/class_8949;method_55006()Lnet/minecraft/class_8949;
      named addGustDustParticles Lnet/minecraft/entity/mob/BreezeEntity;addGustDustParticles()Lnet/minecraft/entity/mob/BreezeEntity;
    • addLongJumpingParticles

      public void addLongJumpingParticles()
      Mappings:
      Namespace Name Mixin selector
      official ge Lcdl;ge()V
      intermediary method_55008 Lnet/minecraft/class_8949;method_55008()V
      named addLongJumpingParticles Lnet/minecraft/entity/mob/BreezeEntity;addLongJumpingParticles()V
    • addBlockParticles

      public void addBlockParticles(int count)
      Mappings:
      Namespace Name Mixin selector
      official b Lcdl;b(I)V
      intermediary method_55007 Lnet/minecraft/class_8949;method_55007(I)V
      named addBlockParticles Lnet/minecraft/entity/mob/BreezeEntity;addBlockParticles(I)V
    • playAmbientSound

      public void playAmbientSound()
      Overrides:
      playAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R Lbmn;R()V
      intermediary method_5966 Lnet/minecraft/class_1308;method_5966()V
      named playAmbientSound Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Returns the sound category for sounds from this entity.

      This is used by Entity.playSound(SoundEvent, float, float) and defaults to SoundCategory.NEUTRAL. Hostile entities should override this to return SoundCategory.HOSTILE.

      Overrides:
      getSoundCategory in class HostileEntity
      Returns:
      the sound category for sounds from this entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official db Lblv;db()Lart;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbml;n_()Larr;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbml;d(Lbkt;)Larr;
      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;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official y Lbmn;y()Larr;
      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;
    • isWithinLargeRange

      public boolean isWithinLargeRange(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lcdl;j(Lelt;)Z
      intermediary method_55011 Lnet/minecraft/class_8949;method_55011(Lnet/minecraft/class_243;)Z
      named isWithinLargeRange Lnet/minecraft/entity/mob/BreezeEntity;isWithinLargeRange(Lnet/minecraft/util/math/Vec3d;)Z
    • isWithinMediumRange

      public boolean isWithinMediumRange(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official k Lcdl;k(Lelt;)Z
      intermediary method_55012 Lnet/minecraft/class_8949;method_55012(Lnet/minecraft/class_243;)Z
      named isWithinMediumRange Lnet/minecraft/entity/mob/BreezeEntity;isWithinMediumRange(Lnet/minecraft/util/math/Vec3d;)Z
    • isWithinShortRange

      public boolean isWithinShortRange(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official l Lcdl;l(Lelt;)Z
      intermediary method_55013 Lnet/minecraft/class_8949;method_55013(Lnet/minecraft/class_243;)Z
      named isWithinShortRange Lnet/minecraft/entity/mob/BreezeEntity;isWithinShortRange(Lnet/minecraft/util/math/Vec3d;)Z
    • mobTick

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

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official Y Lbmn;Y()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • canTarget

      public boolean canTarget(EntityType<?> type)
      Overrides:
      canTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Lblz;)Z
      intermediary method_5973 Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
    • getMaxHeadRotation

      public int getMaxHeadRotation()
      Returns the maximum degrees which the head yaw can differ from the body yaw.

      This is used by the body control.

      It can return from 1 for entities that can hardly rotate their head, like axolotls or dolphins, or 180 for entities that can freely rotate their head, like shulkers. The default return value is 75.

      Overrides:
      getMaxHeadRotation in class MobEntity
      Returns:
      the maximum degrees which the head yaw can differ from the body yaw
      Mappings:
      Namespace Name Mixin selector
      official ab Lbmn;ab()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
    • getMaxLookYawChange

      public int getMaxLookYawChange()
      Returns the maximum degrees which the yaw can change when looking.

      This is used by the look control.

      The default return value is 10.

      Overrides:
      getMaxLookYawChange in class MobEntity
      Returns:
      the maximum degrees which the yaw can change when looking
      Mappings:
      Namespace Name Mixin selector
      official fH Lbmn;fH()I
      intermediary method_20240 Lnet/minecraft/class_1308;method_20240()I
      named getMaxLookYawChange Lnet/minecraft/entity/mob/MobEntity;getMaxLookYawChange()I
    • getChargeY

      public double getChargeY()
      Mappings:
      Namespace Name Mixin selector
      official gf Lcdl;gf()D
      intermediary method_55009 Lnet/minecraft/class_8949;method_55009()D
      named getChargeY Lnet/minecraft/entity/mob/BreezeEntity;getChargeY()D
    • isInvulnerableTo

      public boolean isInvulnerableTo(DamageSource damageSource)
      Returns whether the entity is invulnerable to damageSource.

      This can be overridden to make the entity invulnerable to some damages, but super.isInvulnerableTo() should be called in this case.

      Overrides:
      isInvulnerableTo in class Entity
      Returns:
      whether the entity is invulnerable to damageSource
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lblv;b(Lbkt;)Z
      intermediary method_5679 Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Z
      named isInvulnerableTo Lnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
    • getSwimHeight

      public double getSwimHeight()
      Returns the minimum submerged height of this entity in fluid so that it would be affected by fluid physics.
      Overrides:
      getSwimHeight in class Entity
      Returns:
      the minimum submerged height of this entity in fluid so that it would be affected by fluid physics
      Mappings:
      Namespace Name Mixin selector
      official df Lblv;df()D
      intermediary method_29241 Lnet/minecraft/class_1297;method_29241()D
      named getSwimHeight Lnet/minecraft/entity/Entity;getSwimHeight()D
    • 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 Lblv;a(FFLbkt;)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
    • getMoveEffect

      protected Entity.MoveEffect getMoveEffect()
      Returns the possible effect(s) of an entity moving.
      Overrides:
      getMoveEffect in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aW Lblv;aW()Lblv$b;
      intermediary method_33570 Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
      named getMoveEffect Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;