Class BreezeEntity

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

public class BreezeEntity extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/BreezeEntity
intermediary net/minecraft/class_8949
official cns
  • 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 cb Lcns;cb: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 cc Lcns;cc: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 cd Lcns;cd: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 ce Lcns;ce: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 cf Lcns;cf: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 cg Lcns;cg: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 ch Lcns;ch: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 ci Lcns;ci: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 cj Lcns;cj: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 cm Lcns;cm:Lcqq;
    • idleAnimationState

      public AnimationState idleAnimationState
      Mappings:
      Namespace Name Mixin selector
      named idleAnimationState Lnet/minecraft/entity/mob/BreezeEntity;idleAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_47269 Lnet/minecraft/class_8949;field_47269:Lnet/minecraft/class_7094;
      official a Lcns;a:Lbvb;
    • 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 b Lcns;b:Lbvb;
    • slidingBackAnimationState

      public AnimationState slidingBackAnimationState
      Mappings:
      Namespace Name Mixin selector
      named slidingBackAnimationState Lnet/minecraft/entity/mob/BreezeEntity;slidingBackAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_47816 Lnet/minecraft/class_8949;field_47816:Lnet/minecraft/class_7094;
      official c Lcns;c:Lbvb;
    • longJumpingAnimationState

      public AnimationState longJumpingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named longJumpingAnimationState Lnet/minecraft/entity/mob/BreezeEntity;longJumpingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_47280 Lnet/minecraft/class_8949;field_47280:Lnet/minecraft/class_7094;
      official d Lcns;d:Lbvb;
    • 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 bZ Lcns;bZ:Lbvb;
    • inhalingAnimationState

      public AnimationState inhalingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named inhalingAnimationState Lnet/minecraft/entity/mob/BreezeEntity;inhalingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_47270 Lnet/minecraft/class_8949;field_47270:Lnet/minecraft/class_7094;
      official ca Lcns;ca:Lbvb;
    • 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 ck Lcns;ck: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 cl Lcns;cl: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> Lbvj;<init>(Lbvq;Ldhh;)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 m Lcns;m()Lbxm$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 Lbwf;a(Lcom/mojang/serialization/Dynamic;)Lbxh;
    • 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 ec Lbwf;ec()Lbxh;
    • 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 ed Lbwf;ed()Lbxh$b;
    • 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.

      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 Lalf;a(Lalc;)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 gq Lcns;gq()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 h Lbvj;h()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 p Lcns;p()Lcns;
    • 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 t Lcns;t()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 Lcns;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 R Lbwh;R()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 x Lcns;x()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 Lbvj;a(Lcqp;)Lcqq;
    • 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 dn Lbvj;dn()Laxg;
    • 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;
    • 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;
    • 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;
    • 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 go Lcns;go()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 k Lcns;k(Lfbx;)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
    • 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 Lbwh;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 Lbwf;a(Lbvq;)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 aa Lbwh;aa()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 ac Lbwh;ac()I
    • getChargeY

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

      public boolean isInvulnerableTo(ServerWorld world, DamageSource source)
      Overrides:
      isInvulnerableTo in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isInvulnerableTo Lnet/minecraft/entity/LivingEntity;isInvulnerableTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Z
      intermediary method_5679 Lnet/minecraft/class_1309;method_5679(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Z
      official a Lbwf;a(Lash;Lbtz;)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 dq Lbvj;dq()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 Lbvj;a(FFLbtz;)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 bg Lbvj;bg()Lbvj$c;
    • 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 O_ Lbxd;O_()Lbwf;