Class AreaEffectCloudEntity
- All Implemented Interfaces:
DataTracked
,Ownable
,ScoreHolder
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntity
intermediary net/minecraft/class_1295
official bsr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private static final int
private static final float
private static final float
static final float
static final float
private static final Logger
private static final float
private @Nullable LivingEntity
private static final TrackedData
<ParticleEffect> private PotionContentsComponent
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_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
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.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
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.boolean
void
onTrackedDataSet
(TrackedData<?> data) protected void
Reads custom data fromnbt
.void
setDuration
(int duration) void
setDurationOnUse
(int durationOnUse) void
setOwner
(@Nullable LivingEntity owner) void
setParticleType
(ParticleEffect particle) void
setPotionContents
(PotionContentsComponent potionContentsComponent) 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, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerNearestTo, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, limitFallDistance, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, 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, setOnFireForTicks, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, 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
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/entity/AreaEffectCloudEntity;LOGGER:Lorg/slf4j/Logger;
intermediary field_5935
Lnet/minecraft/class_1295;field_5935:Lorg/slf4j/Logger;
official d
Lbsr;d:Lorg/slf4j/Logger;
-
field_29972
private static final int field_29972- See Also:
- Mappings:
Namespace Name Mixin selector named field_29972
Lnet/minecraft/entity/AreaEffectCloudEntity;field_29972:I
intermediary field_29972
Lnet/minecraft/class_1295;field_29972:I
official e
Lbsr;e:I
-
RADIUS
- Mappings:
Namespace Name Mixin selector named RADIUS
Lnet/minecraft/entity/AreaEffectCloudEntity;RADIUS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_5938
Lnet/minecraft/class_1295;field_5938:Lnet/minecraft/class_2940;
official f
Lbsr;f:Lakk;
-
WAITING
- Mappings:
Namespace Name Mixin selector named WAITING
Lnet/minecraft/entity/AreaEffectCloudEntity;WAITING:Lnet/minecraft/entity/data/TrackedData;
intermediary field_5944
Lnet/minecraft/class_1295;field_5944:Lnet/minecraft/class_2940;
official g
Lbsr;g:Lakk;
-
PARTICLE_ID
- Mappings:
Namespace Name Mixin selector named PARTICLE_ID
Lnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE_ID:Lnet/minecraft/entity/data/TrackedData;
intermediary field_5931
Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;
official h
Lbsr;h:Lakk;
-
MAX_RADIUS
private static final float MAX_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_RADIUS
Lnet/minecraft/entity/AreaEffectCloudEntity;MAX_RADIUS:F
intermediary field_29971
Lnet/minecraft/class_1295;field_29971:F
official i
Lbsr;i:F
-
field_40730
private static final float field_40730- See Also:
- Mappings:
Namespace Name Mixin selector named field_40730
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40730:F
intermediary field_40730
Lnet/minecraft/class_1295;field_40730:F
official j
Lbsr;j:F
-
field_40731
private static final float field_40731- See Also:
- Mappings:
Namespace Name Mixin selector named field_40731
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40731:F
intermediary field_40731
Lnet/minecraft/class_1295;field_40731:F
official k
Lbsr;k:F
-
field_40732
public static final float field_40732- See Also:
- Mappings:
Namespace Name Mixin selector named field_40732
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40732:F
intermediary field_40732
Lnet/minecraft/class_1295;field_40732:F
official b
Lbsr;b:F
-
field_40733
public static final float field_40733- See Also:
- Mappings:
Namespace Name Mixin selector named field_40733
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40733:F
intermediary field_40733
Lnet/minecraft/class_1295;field_40733:F
official c
Lbsr;c:F
-
potionContentsComponent
- Mappings:
Namespace Name Mixin selector named potionContentsComponent
Lnet/minecraft/entity/AreaEffectCloudEntity;potionContentsComponent:Lnet/minecraft/component/type/PotionContentsComponent;
intermediary field_49209
Lnet/minecraft/class_1295;field_49209:Lnet/minecraft/class_1844;
official l
Lbsr;l:Lcwr;
-
affectedEntities
- Mappings:
Namespace Name Mixin selector named affectedEntities
Lnet/minecraft/entity/AreaEffectCloudEntity;affectedEntities:Ljava/util/Map;
intermediary field_5942
Lnet/minecraft/class_1295;field_5942:Ljava/util/Map;
official m
Lbsr;m:Ljava/util/Map;
-
duration
private int duration- Mappings:
Namespace Name Mixin selector named duration
Lnet/minecraft/entity/AreaEffectCloudEntity;duration:I
intermediary field_5939
Lnet/minecraft/class_1295;field_5939:I
official n
Lbsr;n:I
-
waitTime
private int waitTime- Mappings:
Namespace Name Mixin selector named waitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;waitTime:I
intermediary field_5941
Lnet/minecraft/class_1295;field_5941:I
official o
Lbsr;o:I
-
reapplicationDelay
private int reapplicationDelay- Mappings:
Namespace Name Mixin selector named reapplicationDelay
Lnet/minecraft/entity/AreaEffectCloudEntity;reapplicationDelay:I
intermediary field_5937
Lnet/minecraft/class_1295;field_5937:I
official p
Lbsr;p:I
-
durationOnUse
private int durationOnUse- Mappings:
Namespace Name Mixin selector named durationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;durationOnUse:I
intermediary field_5932
Lnet/minecraft/class_1295;field_5932:I
official q
Lbsr;q:I
-
radiusOnUse
private float radiusOnUse- Mappings:
Namespace Name Mixin selector named radiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;radiusOnUse:F
intermediary field_5929
Lnet/minecraft/class_1295;field_5929:F
official r
Lbsr;r:F
-
radiusGrowth
private float radiusGrowth- Mappings:
Namespace Name Mixin selector named radiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;radiusGrowth:F
intermediary field_5930
Lnet/minecraft/class_1295;field_5930:F
official s
Lbsr;s:F
-
owner
- Mappings:
Namespace Name Mixin selector named owner
Lnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LivingEntity;
intermediary field_5943
Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_1309;
official t
Lbsr;t:Lbtq;
-
ownerUuid
- Mappings:
Namespace Name Mixin selector named ownerUuid
Lnet/minecraft/entity/AreaEffectCloudEntity;ownerUuid:Ljava/util/UUID;
intermediary field_5940
Lnet/minecraft/class_1295;field_5940:Ljava/util/UUID;
official u
Lbsr;u:Ljava/util/UUID;
-
-
Constructor Details
-
AreaEffectCloudEntity
- 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>
Lbsv;<init>(Lbtb;Ldbz;)V
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/AreaEffectCloudEntity;<init>(Lnet/minecraft/world/World;DDD)V
intermediary <init>
Lnet/minecraft/class_1295;<init>(Lnet/minecraft/class_1937;DDD)V
official <init>
Lbsr;<init>(Ldbz;DDD)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTracker
in classEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbsv;a(Lako$a;)V
-
setRadius
public void setRadius(float radius) - Mappings:
Namespace Name Mixin selector named setRadius
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadius(F)V
intermediary method_5603
Lnet/minecraft/class_1295;method_5603(F)V
official a
Lbsr;a(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 named calculateDimensions
Lnet/minecraft/entity/Entity;calculateDimensions()V
intermediary method_18382
Lnet/minecraft/class_1297;method_18382()V
official j_
Lbsv;j_()V
-
getRadius
public float getRadius()- Mappings:
Namespace Name Mixin selector named getRadius
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadius()F
intermediary method_5599
Lnet/minecraft/class_1295;method_5599()F
official g
Lbsr;g()F
-
setPotionContents
- Mappings:
Namespace Name Mixin selector named setPotionContents
Lnet/minecraft/entity/AreaEffectCloudEntity;setPotionContents(Lnet/minecraft/component/type/PotionContentsComponent;)V
intermediary method_57280
Lnet/minecraft/class_1295;method_57280(Lnet/minecraft/class_1844;)V
official a
Lbsr;a(Lcwr;)V
-
updateColor
private void updateColor()- Mappings:
Namespace Name Mixin selector named updateColor
Lnet/minecraft/entity/AreaEffectCloudEntity;updateColor()V
intermediary method_5597
Lnet/minecraft/class_1295;method_5597()V
official u
Lbsr;u()V
-
addEffect
- Mappings:
Namespace Name Mixin selector named addEffect
Lnet/minecraft/entity/AreaEffectCloudEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
intermediary method_5610
Lnet/minecraft/class_1295;method_5610(Lnet/minecraft/class_1293;)V
official a
Lbsr;a(Lbsd;)V
-
getParticleType
- Mappings:
Namespace Name Mixin selector named getParticleType
Lnet/minecraft/entity/AreaEffectCloudEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;
intermediary method_5600
Lnet/minecraft/class_1295;method_5600()Lnet/minecraft/class_2394;
official h
Lbsr;h()Llg;
-
setParticleType
- Mappings:
Namespace Name Mixin selector named setParticleType
Lnet/minecraft/entity/AreaEffectCloudEntity;setParticleType(Lnet/minecraft/particle/ParticleEffect;)V
intermediary method_5608
Lnet/minecraft/class_1295;method_5608(Lnet/minecraft/class_2394;)V
official a
Lbsr;a(Llg;)V
-
setWaiting
protected void setWaiting(boolean waiting) - Mappings:
Namespace Name Mixin selector named setWaiting
Lnet/minecraft/entity/AreaEffectCloudEntity;setWaiting(Z)V
intermediary method_5598
Lnet/minecraft/class_1295;method_5598(Z)V
official a
Lbsr;a(Z)V
-
isWaiting
public boolean isWaiting()- Mappings:
Namespace Name Mixin selector named isWaiting
Lnet/minecraft/entity/AreaEffectCloudEntity;isWaiting()Z
intermediary method_5611
Lnet/minecraft/class_1295;method_5611()Z
official i
Lbsr;i()Z
-
getDuration
public int getDuration()- Mappings:
Namespace Name Mixin selector named getDuration
Lnet/minecraft/entity/AreaEffectCloudEntity;getDuration()I
intermediary method_5605
Lnet/minecraft/class_1295;method_5605()I
official j
Lbsr;j()I
-
setDuration
public void setDuration(int duration) - Mappings:
Namespace Name Mixin selector named setDuration
Lnet/minecraft/entity/AreaEffectCloudEntity;setDuration(I)V
intermediary method_5604
Lnet/minecraft/class_1295;method_5604(I)V
official a
Lbsr;a(I)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classEntity
- 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
Entity.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
Lbsv;l()V
-
getRadiusOnUse
public float getRadiusOnUse()- Mappings:
Namespace Name Mixin selector named getRadiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusOnUse()F
intermediary method_35044
Lnet/minecraft/class_1295;method_35044()F
official k
Lbsr;k()F
-
setRadiusOnUse
public void setRadiusOnUse(float radiusOnUse) - Mappings:
Namespace Name Mixin selector named setRadiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusOnUse(F)V
intermediary method_5609
Lnet/minecraft/class_1295;method_5609(F)V
official b
Lbsr;b(F)V
-
getRadiusGrowth
public float getRadiusGrowth()- Mappings:
Namespace Name Mixin selector named getRadiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusGrowth()F
intermediary method_35045
Lnet/minecraft/class_1295;method_35045()F
official m
Lbsr;m()F
-
setRadiusGrowth
public void setRadiusGrowth(float radiusGrowth) - Mappings:
Namespace Name Mixin selector named setRadiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusGrowth(F)V
intermediary method_5596
Lnet/minecraft/class_1295;method_5596(F)V
official c
Lbsr;c(F)V
-
getDurationOnUse
public int getDurationOnUse()- Mappings:
Namespace Name Mixin selector named getDurationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;getDurationOnUse()I
intermediary method_35046
Lnet/minecraft/class_1295;method_35046()I
official o
Lbsr;o()I
-
setDurationOnUse
public void setDurationOnUse(int durationOnUse) - Mappings:
Namespace Name Mixin selector named setDurationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;setDurationOnUse(I)V
intermediary method_35043
Lnet/minecraft/class_1295;method_35043(I)V
official b
Lbsr;b(I)V
-
getWaitTime
public int getWaitTime()- Mappings:
Namespace Name Mixin selector named getWaitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;getWaitTime()I
intermediary method_35047
Lnet/minecraft/class_1295;method_35047()I
official p
Lbsr;p()I
-
setWaitTime
public void setWaitTime(int waitTime) - Mappings:
Namespace Name Mixin selector named setWaitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;setWaitTime(I)V
intermediary method_5595
Lnet/minecraft/class_1295;method_5595(I)V
official c
Lbsr;c(I)V
-
setOwner
- Mappings:
Namespace Name Mixin selector named setOwner
Lnet/minecraft/entity/AreaEffectCloudEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_5607
Lnet/minecraft/class_1295;method_5607(Lnet/minecraft/class_1309;)V
official a
Lbsr;a(Lbtq;)V
-
getOwner
- Specified by:
getOwner
in interfaceOwnable
- Mappings:
Namespace Name Mixin selector named getOwner
Lnet/minecraft/entity/AreaEffectCloudEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
intermediary method_5601
Lnet/minecraft/class_1295;method_5601()Lnet/minecraft/class_1309;
official q
Lbsr;q()Lbtq;
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses have 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 named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
official a
Lbsv;a(Lus;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses have 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 named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
official b
Lbsv;b(Lus;)V
-
onTrackedDataSet
- Specified by:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classEntity
- 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
Lakn;a(Lakk;)V
-
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 named getPistonBehavior
Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
intermediary method_5657
Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
official k_
Lbsv;k_()Leob;
-
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 named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official a
Lbsv;a(Lbuc;)Lbsy;
-