Class BreezeEntity

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

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

    • field_47271

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

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

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

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

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

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

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

      private static final int field_47813
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47813 Lnet/minecraft/entity/mob/BreezeEntity;field_47813:I
      intermediary field_47813 Lnet/minecraft/class_8949;field_47813:I
      official cj Lckx;cj:I
    • field_47814

      private static final int field_47814
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47814 Lnet/minecraft/entity/mob/BreezeEntity;field_47814:I
      intermediary field_47814 Lnet/minecraft/class_8949;field_47814:I
      official ck Lckx;ck:I
    • PROJECTILE_DEFLECTOR

      private static final ProjectileDeflection PROJECTILE_DEFLECTOR
      Mappings:
      Namespace Name Mixin selector
      named PROJECTILE_DEFLECTOR Lnet/minecraft/entity/mob/BreezeEntity;PROJECTILE_DEFLECTOR:Lnet/minecraft/entity/ProjectileDeflection;
      intermediary field_48344 Lnet/minecraft/class_8949;field_48344:Lnet/minecraft/class_9109;
      official cn Lckx;cn:Lcno;
    • field_47269

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

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

      public AnimationState field_47816
      Mappings:
      Namespace Name Mixin selector
      named field_47816 Lnet/minecraft/entity/mob/BreezeEntity;field_47816:Lnet/minecraft/entity/AnimationState;
      intermediary field_47816 Lnet/minecraft/class_8949;field_47816:Lnet/minecraft/class_7094;
      official d Lckx;d:Lbsl;
    • inhalingAnimationState

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

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

      public AnimationState field_47270
      Mappings:
      Namespace Name Mixin selector
      named field_47270 Lnet/minecraft/entity/mob/BreezeEntity;field_47270:Lnet/minecraft/entity/AnimationState;
      intermediary field_47270 Lnet/minecraft/class_8949;field_47270:Lnet/minecraft/class_7094;
      official cb Lckx;cb:Lbsl;
    • longJumpingParticleAddCount

      private int longJumpingParticleAddCount
      Mappings:
      Namespace Name Mixin selector
      named longJumpingParticleAddCount Lnet/minecraft/entity/mob/BreezeEntity;longJumpingParticleAddCount:I
      intermediary field_47279 Lnet/minecraft/class_8949;field_47279:I
      official cl Lckx;cl:I
    • ticksUntilWhirlSound

      private int ticksUntilWhirlSound
      Mappings:
      Namespace Name Mixin selector
      named ticksUntilWhirlSound Lnet/minecraft/entity/mob/BreezeEntity;ticksUntilWhirlSound:I
      intermediary field_47815 Lnet/minecraft/class_8949;field_47815:I
      official cm Lckx;cm:I
  • Constructor Details

    • BreezeEntity

      public BreezeEntity(EntityType<? extends HostileEntity> 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> Lbsq;<init>(Lbsw;Ldcu;)V
  • Method Details

    • createBreezeAttributes

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

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

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

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

      public void onTrackedDataSet(TrackedData<?> data)
      Specified by:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lajy;a(Lajv;)V
    • stopAnimations

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to MobEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsq;l()V
    • resetLongJumpingParticleAddCount

      public BreezeEntity resetLongJumpingParticleAddCount()
      Mappings:
      Namespace Name Mixin selector
      named resetLongJumpingParticleAddCount Lnet/minecraft/entity/mob/BreezeEntity;resetLongJumpingParticleAddCount()Lnet/minecraft/entity/mob/BreezeEntity;
      intermediary method_55015 Lnet/minecraft/class_8949;method_55015()Lnet/minecraft/class_8949;
      official t Lckx;t()Lckx;
    • addLongJumpingParticles

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

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

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

      public void playWhirlSound()
      Mappings:
      Namespace Name Mixin selector
      named playWhirlSound Lnet/minecraft/entity/mob/BreezeEntity;playWhirlSound()V
      intermediary method_55747 Lnet/minecraft/class_8949;method_55747()V
      official gm Lckx;gm()V
    • getProjectileDeflection

      public ProjectileDeflection getProjectileDeflection(ProjectileEntity projectile)
      Overrides:
      getProjectileDeflection in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getProjectileDeflection Lnet/minecraft/entity/Entity;getProjectileDeflection(Lnet/minecraft/entity/projectile/ProjectileEntity;)Lnet/minecraft/entity/ProjectileDeflection;
      intermediary method_56071 Lnet/minecraft/class_1297;method_56071(Lnet/minecraft/class_1676;)Lnet/minecraft/class_9109;
      official a Lbsq;a(Lcnn;)Lcno;
    • 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
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      official df Lbsq;df()Lavp;
    • 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 n_ Lbtl;n_()Lavn;
    • 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 Lbtl;d(Lbrj;)Lavn;
    • 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 Lbtn;v()Lavn;
    • getHurtBy

      public Optional<LivingEntity> getHurtBy()
      Mappings:
      Namespace Name Mixin selector
      named getHurtBy Lnet/minecraft/entity/mob/BreezeEntity;getHurtBy()Ljava/util/Optional;
      intermediary method_56562 Lnet/minecraft/class_8949;method_56562()Ljava/util/Optional;
      official gn Lckx;gn()Ljava/util/Optional;
    • isWithinShortRange

      public boolean isWithinShortRange(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named isWithinShortRange Lnet/minecraft/entity/mob/BreezeEntity;isWithinShortRange(Lnet/minecraft/util/math/Vec3d;)Z
      intermediary method_55013 Lnet/minecraft/class_8949;method_55013(Lnet/minecraft/class_243;)Z
      official b Lckx;b(Leww;)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 Lbtn;Z()V
    • sendAiDebugData

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

      public boolean canTarget(EntityType<?> type)
      Overrides:
      canTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
      intermediary method_5973 Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
      official a Lbtl;a(Lbsw;)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
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      official ab Lbtn;ab()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
      named getMaxLookYawChange Lnet/minecraft/entity/mob/MobEntity;getMaxLookYawChange()I
      intermediary method_20240 Lnet/minecraft/class_1308;method_20240()I
      official ae Lbtn;ae()I
    • getChargeY

      public double getChargeY()
      Mappings:
      Namespace Name Mixin selector
      named getChargeY Lnet/minecraft/entity/mob/BreezeEntity;getChargeY()D
      intermediary method_55009 Lnet/minecraft/class_8949;method_55009()D
      official go Lckx;go()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 LivingEntity
      Returns:
      whether the entity is invulnerable to damageSource
      See Also:
      Implementation Note:
      Entity is invulnerable to all damages if it is removed, and is invulnerable to all damages except DamageTypes.OUT_OF_WORLD or damages from creative mode players if the entity is invulnerable. This also checks Entity.isFireImmune().
      Mappings:
      Namespace Name Mixin selector
      named isInvulnerableTo Lnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
      intermediary method_5679 Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Z
      official b Lbsq;b(Lbrj;)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
      API Note:
      This is also used by living entities for checking whether to start swimming.
      Implementation Note:
      This implementation returns 0.4 if its standing eye height is larger than 0.4; otherwise it returns 0.0 for shorter entities. The swim height of 0 allows short entities like baby animals to start swimming to avoid suffocation.
      Mappings:
      Namespace Name Mixin selector
      named getSwimHeight Lnet/minecraft/entity/Entity;getSwimHeight()D
      intermediary method_29241 Lnet/minecraft/class_1297;method_29241()D
      official dj Lbsq;dj()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
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      official a Lbsq;a(FFLbrj;)Z
    • getMoveEffect

      protected Entity.MoveEffect getMoveEffect()
      Returns the possible effect(s) of an entity moving.
      Overrides:
      getMoveEffect in class Entity
      Implementation Note:
      If an entity does not emit game events or play move sounds, this method should be overridden as returning a value other than ALL allows skipping some movement logic and boost ticking performance.
      Mappings:
      Namespace Name Mixin selector
      named getMoveEffect Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
      intermediary method_33570 Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
      official bc Lbsq;bc()Lbsq$b;
    • getTarget

      @Nullable public @Nullable LivingEntity getTarget()
      Specified by:
      getTarget in interface Targeter
      Overrides:
      getTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/entity/Targeter;getTarget()Lnet/minecraft/entity/LivingEntity;
      intermediary method_5968 Lnet/minecraft/class_8152;method_5968()Lnet/minecraft/class_1309;
      official p Lbuk;p()Lbtl;