Class AreaEffectCloudEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.AreaEffectCloudEntity
All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class AreaEffectCloudEntity extends Entity
Mappings:
Namespace Name
official bbm
intermediary net/minecraft/class_1295
named net/minecraft/entity/AreaEffectCloudEntity
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbbm;b:Lorg/slf4j/Logger;
      intermediary field_5935 Lnet/minecraft/class_1295;field_5935:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/entity/AreaEffectCloudEntity;LOGGER:Lorg/slf4j/Logger;
    • field_29972

      private static final int field_29972
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbbm;c:I
      intermediary field_29972 Lnet/minecraft/class_1295;field_29972:I
      named field_29972 Lnet/minecraft/entity/AreaEffectCloudEntity;field_29972:I
    • RADIUS

      private static final TrackedData<Float> RADIUS
      Mappings:
      Namespace Name Mixin selector
      official d Lbbm;d:Laaj;
      intermediary field_5938 Lnet/minecraft/class_1295;field_5938:Lnet/minecraft/class_2940;
      named RADIUS Lnet/minecraft/entity/AreaEffectCloudEntity;RADIUS:Lnet/minecraft/entity/data/TrackedData;
    • COLOR

      private static final TrackedData<Integer> COLOR
      Mappings:
      Namespace Name Mixin selector
      official e Lbbm;e:Laaj;
      intermediary field_5936 Lnet/minecraft/class_1295;field_5936:Lnet/minecraft/class_2940;
      named COLOR Lnet/minecraft/entity/AreaEffectCloudEntity;COLOR:Lnet/minecraft/entity/data/TrackedData;
    • WAITING

      private static final TrackedData<Boolean> WAITING
      Mappings:
      Namespace Name Mixin selector
      official f Lbbm;f:Laaj;
      intermediary field_5944 Lnet/minecraft/class_1295;field_5944:Lnet/minecraft/class_2940;
      named WAITING Lnet/minecraft/entity/AreaEffectCloudEntity;WAITING:Lnet/minecraft/entity/data/TrackedData;
    • PARTICLE_ID

      private static final TrackedData<ParticleEffect> PARTICLE_ID
      Mappings:
      Namespace Name Mixin selector
      official ao Lbbm;ao:Laaj;
      intermediary field_5931 Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;
      named PARTICLE_ID Lnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE_ID:Lnet/minecraft/entity/data/TrackedData;
    • MAX_RADIUS

      private static final float MAX_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ap Lbbm;ap:F
      intermediary field_29971 Lnet/minecraft/class_1295;field_29971:F
      named MAX_RADIUS Lnet/minecraft/entity/AreaEffectCloudEntity;MAX_RADIUS:F
    • potion

      private Potion potion
      Mappings:
      Namespace Name Mixin selector
      official aq Lbbm;aq:Lccs;
      intermediary field_5933 Lnet/minecraft/class_1295;field_5933:Lnet/minecraft/class_1842;
      named potion Lnet/minecraft/entity/AreaEffectCloudEntity;potion:Lnet/minecraft/potion/Potion;
    • effects

      private final List<StatusEffectInstance> effects
      Mappings:
      Namespace Name Mixin selector
      official ar Lbbm;ar:Ljava/util/List;
      intermediary field_5934 Lnet/minecraft/class_1295;field_5934:Ljava/util/List;
      named effects Lnet/minecraft/entity/AreaEffectCloudEntity;effects:Ljava/util/List;
    • affectedEntities

      private final Map<Entity,Integer> affectedEntities
      Mappings:
      Namespace Name Mixin selector
      official as Lbbm;as:Ljava/util/Map;
      intermediary field_5942 Lnet/minecraft/class_1295;field_5942:Ljava/util/Map;
      named affectedEntities Lnet/minecraft/entity/AreaEffectCloudEntity;affectedEntities:Ljava/util/Map;
    • duration

      private int duration
      Mappings:
      Namespace Name Mixin selector
      official at Lbbm;at:I
      intermediary field_5939 Lnet/minecraft/class_1295;field_5939:I
      named duration Lnet/minecraft/entity/AreaEffectCloudEntity;duration:I
    • waitTime

      private int waitTime
      Mappings:
      Namespace Name Mixin selector
      official au Lbbm;au:I
      intermediary field_5941 Lnet/minecraft/class_1295;field_5941:I
      named waitTime Lnet/minecraft/entity/AreaEffectCloudEntity;waitTime:I
    • reapplicationDelay

      private int reapplicationDelay
      Mappings:
      Namespace Name Mixin selector
      official av Lbbm;av:I
      intermediary field_5937 Lnet/minecraft/class_1295;field_5937:I
      named reapplicationDelay Lnet/minecraft/entity/AreaEffectCloudEntity;reapplicationDelay:I
    • customColor

      private boolean customColor
      Mappings:
      Namespace Name Mixin selector
      official aw Lbbm;aw:Z
      intermediary field_5928 Lnet/minecraft/class_1295;field_5928:Z
      named customColor Lnet/minecraft/entity/AreaEffectCloudEntity;customColor:Z
    • durationOnUse

      private int durationOnUse
      Mappings:
      Namespace Name Mixin selector
      official ax Lbbm;ax:I
      intermediary field_5932 Lnet/minecraft/class_1295;field_5932:I
      named durationOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;durationOnUse:I
    • radiusOnUse

      private float radiusOnUse
      Mappings:
      Namespace Name Mixin selector
      official ay Lbbm;ay:F
      intermediary field_5929 Lnet/minecraft/class_1295;field_5929:F
      named radiusOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;radiusOnUse:F
    • radiusGrowth

      private float radiusGrowth
      Mappings:
      Namespace Name Mixin selector
      official az Lbbm;az:F
      intermediary field_5930 Lnet/minecraft/class_1295;field_5930:F
      named radiusGrowth Lnet/minecraft/entity/AreaEffectCloudEntity;radiusGrowth:F
    • owner

      Mappings:
      Namespace Name Mixin selector
      official aA Lbbm;aA:Lbcc;
      intermediary field_5943 Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_1309;
      named owner Lnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LivingEntity;
    • ownerUuid

      @Nullable private @Nullable UUID ownerUuid
      Mappings:
      Namespace Name Mixin selector
      official aB Lbbm;aB:Ljava/util/UUID;
      intermediary field_5940 Lnet/minecraft/class_1295;field_5940:Ljava/util/UUID;
      named ownerUuid Lnet/minecraft/entity/AreaEffectCloudEntity;ownerUuid:Ljava/util/UUID;
  • Constructor Details

    • AreaEffectCloudEntity

      public AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbn;<init>(Lbbr;Lcgx;)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
    • AreaEffectCloudEntity

      public AreaEffectCloudEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbm;<init>(Lcgx;DDD)V
      intermediary <init> Lnet/minecraft/class_1295;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/AreaEffectCloudEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbbn;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • setRadius

      public void setRadius(float radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(F)V
      intermediary method_5603 Lnet/minecraft/class_1295;method_5603(F)V
      named setRadius Lnet/minecraft/entity/AreaEffectCloudEntity;setRadius(F)V
    • calculateDimensions

      public void calculateDimensions()
      Calculates and sets the dimension (bounding box) of the entity and refreshes its position.
      Overrides:
      calculateDimensions in class Entity
      Mappings:
      Namespace Name Mixin selector
      official z_ Lbbn;z_()V
      intermediary method_18382 Lnet/minecraft/class_1297;method_18382()V
      named calculateDimensions Lnet/minecraft/entity/Entity;calculateDimensions()V
    • getRadius

      public float getRadius()
      Mappings:
      Namespace Name Mixin selector
      official h Lbbm;h()F
      intermediary method_5599 Lnet/minecraft/class_1295;method_5599()F
      named getRadius Lnet/minecraft/entity/AreaEffectCloudEntity;getRadius()F
    • setPotion

      public void setPotion(Potion potion)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(Lccs;)V
      intermediary method_5612 Lnet/minecraft/class_1295;method_5612(Lnet/minecraft/class_1842;)V
      named setPotion Lnet/minecraft/entity/AreaEffectCloudEntity;setPotion(Lnet/minecraft/potion/Potion;)V
    • updateColor

      private void updateColor()
      Mappings:
      Namespace Name Mixin selector
      official w Lbbm;w()V
      intermediary method_5597 Lnet/minecraft/class_1295;method_5597()V
      named updateColor Lnet/minecraft/entity/AreaEffectCloudEntity;updateColor()V
    • addEffect

      public void addEffect(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(Lbbg;)V
      intermediary method_5610 Lnet/minecraft/class_1295;method_5610(Lnet/minecraft/class_1293;)V
      named addEffect Lnet/minecraft/entity/AreaEffectCloudEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • getColor

      public int getColor()
      Mappings:
      Namespace Name Mixin selector
      official i Lbbm;i()I
      intermediary method_5606 Lnet/minecraft/class_1295;method_5606()I
      named getColor Lnet/minecraft/entity/AreaEffectCloudEntity;getColor()I
    • setColor

      public void setColor(int rgb)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(I)V
      intermediary method_5602 Lnet/minecraft/class_1295;method_5602(I)V
      named setColor Lnet/minecraft/entity/AreaEffectCloudEntity;setColor(I)V
    • getParticleType

      public ParticleEffect getParticleType()
      Mappings:
      Namespace Name Mixin selector
      official j Lbbm;j()Lim;
      intermediary method_5600 Lnet/minecraft/class_1295;method_5600()Lnet/minecraft/class_2394;
      named getParticleType Lnet/minecraft/entity/AreaEffectCloudEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;
    • setParticleType

      public void setParticleType(ParticleEffect particle)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(Lim;)V
      intermediary method_5608 Lnet/minecraft/class_1295;method_5608(Lnet/minecraft/class_2394;)V
      named setParticleType Lnet/minecraft/entity/AreaEffectCloudEntity;setParticleType(Lnet/minecraft/particle/ParticleEffect;)V
    • setWaiting

      protected void setWaiting(boolean waiting)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(Z)V
      intermediary method_5598 Lnet/minecraft/class_1295;method_5598(Z)V
      named setWaiting Lnet/minecraft/entity/AreaEffectCloudEntity;setWaiting(Z)V
    • isWaiting

      public boolean isWaiting()
      Mappings:
      Namespace Name Mixin selector
      official l Lbbm;l()Z
      intermediary method_5611 Lnet/minecraft/class_1295;method_5611()Z
      named isWaiting Lnet/minecraft/entity/AreaEffectCloudEntity;isWaiting()Z
    • getDuration

      public int getDuration()
      Mappings:
      Namespace Name Mixin selector
      official n Lbbm;n()I
      intermediary method_5605 Lnet/minecraft/class_1295;method_5605()I
      named getDuration Lnet/minecraft/entity/AreaEffectCloudEntity;getDuration()I
    • setDuration

      public void setDuration(int duration)
      Mappings:
      Namespace Name Mixin selector
      official b Lbbm;b(I)V
      intermediary method_5604 Lnet/minecraft/class_1295;method_5604(I)V
      named setDuration Lnet/minecraft/entity/AreaEffectCloudEntity;setDuration(I)V
    • tick

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

      public float getRadiusOnUse()
      Mappings:
      Namespace Name Mixin selector
      official o Lbbm;o()F
      intermediary method_35044 Lnet/minecraft/class_1295;method_35044()F
      named getRadiusOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusOnUse()F
    • setRadiusOnUse

      public void setRadiusOnUse(float radiusOnUse)
      Mappings:
      Namespace Name Mixin selector
      official b Lbbm;b(F)V
      intermediary method_5609 Lnet/minecraft/class_1295;method_5609(F)V
      named setRadiusOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusOnUse(F)V
    • getRadiusGrowth

      public float getRadiusGrowth()
      Mappings:
      Namespace Name Mixin selector
      official q Lbbm;q()F
      intermediary method_35045 Lnet/minecraft/class_1295;method_35045()F
      named getRadiusGrowth Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusGrowth()F
    • setRadiusGrowth

      public void setRadiusGrowth(float radiusGrowth)
      Mappings:
      Namespace Name Mixin selector
      official c Lbbm;c(F)V
      intermediary method_5596 Lnet/minecraft/class_1295;method_5596(F)V
      named setRadiusGrowth Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusGrowth(F)V
    • getDurationOnUse

      public int getDurationOnUse()
      Mappings:
      Namespace Name Mixin selector
      official r Lbbm;r()I
      intermediary method_35046 Lnet/minecraft/class_1295;method_35046()I
      named getDurationOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;getDurationOnUse()I
    • setDurationOnUse

      public void setDurationOnUse(int durationOnUse)
      Mappings:
      Namespace Name Mixin selector
      official c Lbbm;c(I)V
      intermediary method_35043 Lnet/minecraft/class_1295;method_35043(I)V
      named setDurationOnUse Lnet/minecraft/entity/AreaEffectCloudEntity;setDurationOnUse(I)V
    • getWaitTime

      public int getWaitTime()
      Mappings:
      Namespace Name Mixin selector
      official s Lbbm;s()I
      intermediary method_35047 Lnet/minecraft/class_1295;method_35047()I
      named getWaitTime Lnet/minecraft/entity/AreaEffectCloudEntity;getWaitTime()I
    • setWaitTime

      public void setWaitTime(int waitTime)
      Mappings:
      Namespace Name Mixin selector
      official d Lbbm;d(I)V
      intermediary method_5595 Lnet/minecraft/class_1295;method_5595(I)V
      named setWaitTime Lnet/minecraft/entity/AreaEffectCloudEntity;setWaitTime(I)V
    • setOwner

      public void setOwner(@Nullable @Nullable LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbm;a(Lbcc;)V
      intermediary method_5607 Lnet/minecraft/class_1295;method_5607(Lnet/minecraft/class_1309;)V
      named setOwner Lnet/minecraft/entity/AreaEffectCloudEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)V
    • getOwner

      @Nullable public @Nullable LivingEntity getOwner()
      Mappings:
      Namespace Name Mixin selector
      official t Lbbm;t()Lbcc;
      intermediary method_5601 Lnet/minecraft/class_1295;method_5601()Lnet/minecraft/class_1309;
      named getOwner Lnet/minecraft/entity/AreaEffectCloudEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Specified by:
      readCustomDataFromNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lpj;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses has to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Specified by:
      writeCustomDataToNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbbn;b(Lpj;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • 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 Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Laaj;)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
    • getPotion

      public Potion getPotion()
      Mappings:
      Namespace Name Mixin selector
      official u Lbbm;u()Lccs;
      intermediary method_35048 Lnet/minecraft/class_1295;method_35048()Lnet/minecraft/class_1842;
      named getPotion Lnet/minecraft/entity/AreaEffectCloudEntity;getPotion()Lnet/minecraft/potion/Potion;
    • getPistonBehavior

      public PistonBehavior getPistonBehavior()
      Returns the behavior of the piston for this entity.

      This is PistonBehavior.NORMAL by default. AreaEffectCloudEntity, MarkerEntity, and marker ArmorStandEntity return PistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated like PistonBehavior.NORMAL.

      Overrides:
      getPistonBehavior in class Entity
      Returns:
      the behavior of the piston for this entity
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbbn;c_()Ldqb;
      intermediary method_5657 Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
      named getPistonBehavior Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Returns a packet to notify the clients of the entity's spawning.
      Specified by:
      createSpawnPacket in class Entity
      Returns:
      a packet to notify the clients of the entity's spawning
      Mappings:
      Namespace Name Mixin selector
      official S Lbbn;S()Ltc;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Returns the dimensions of the entity with the given pose.
      Overrides:
      getDimensions in class Entity
      Returns:
      the dimensions of the entity with the given pose
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn;a(Lbco;)Lbbo;
      intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;