Class AreaEffectCloudEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bbm
intermediary net/minecraft/class_1295
named net/minecraft/entity/AreaEffectCloudEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
private boolean
private int
private int
private final List<StatusEffectInstance>
private static final int
private static final org.slf4j.Logger
private static final float
private @Nullable LivingEntity
private static final TrackedData<ParticleEffect>
private Potion
private static final TrackedData<Float>
private float
private float
private int
private static final TrackedData<Boolean>
private int
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionAreaEffectCloudEntity
(EntityType<? extends AreaEffectCloudEntity> type, World world) AreaEffectCloudEntity
(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEffect
(StatusEffectInstance effect) void
Calculates and sets the dimension (bounding box) of the entity and refreshes its position.Packet<?>
Returns a packet to notify the clients of the entity's spawning.int
getColor()
getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.int
int
getOwner()
Returns the behavior of the piston for this entity.float
float
float
int
protected void
Initializes data tracker.boolean
void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
Reads custom data fromnbt
.void
setColor
(int rgb) void
setDuration
(int duration) void
setDurationOnUse
(int durationOnUse) void
setOwner
(@Nullable LivingEntity owner) void
setParticleType
(ParticleEffect particle) void
void
setRadius
(float radius) void
setRadiusGrowth
(float radiusGrowth) void
setRadiusOnUse
(float radiusOnUse) protected void
setWaiting
(boolean waiting) void
setWaitTime
(int waitTime) void
tick()
Ticks this entity.private void
protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMessageSourceProfile, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldownn, hasPrimaryPassenger, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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 classEntity
- 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 classEntity
- 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
- 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
- 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
- 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
- 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. -
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
- 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
- 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
Reads custom data fromnbt
. 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 classEntity
- 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
Writes custom data tonbt
. 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 classEntity
- 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
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 classEntity
- 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
- 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
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMAL
by default.AreaEffectCloudEntity
,MarkerEntity
, and markerArmorStandEntity
returnPistonBehavior.IGNORE
, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL
.- Overrides:
getPistonBehavior
in classEntity
- 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
Returns a packet to notify the clients of the entity's spawning.- Specified by:
createSpawnPacket
in classEntity
- 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
Returns the dimensions of the entity with the givenpose
.- Overrides:
getDimensions
in classEntity
- 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;
-