Class AreaEffectCloudEntity
- All Implemented Interfaces:
ComponentsAccess
,DataTracked
,Ownable
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntity
intermediary net/minecraft/class_1295
official bze
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable ParticleEffect
static final int
private static final EntityEffectParticleEffect
private static final float
private static final float
private static final float
private static final int
private static final int
private int
private int
private static final int
private static final float
static final float
static final float
static final int
private static final int
private static final int
private static final float
private static final float
private @Nullable LazyEntityReference
<LivingEntity> private static final TrackedData
<ParticleEffect> private PotionContentsComponent
private float
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, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionAreaEffectCloudEntity
(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.private void
protected void
final boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.<T> T
get
(ComponentType<? extends T> type) 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) Called on the client when the tracked data is set.protected void
readCustomData
(ReadView view) private void
serverTick
(ServerWorld world) protected <T> boolean
setApplicableComponent
(ComponentType<T> type, T value) void
setDuration
(int duration) void
setDurationOnUse
(int durationOnUse) void
setOwner
(@Nullable LivingEntity owner) void
setParticleType
(@Nullable ParticleEffect customParticle) void
setPotionContents
(PotionContentsComponent potionContentsComponent) void
setPotionDurationScale
(float potionDurationScale) 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
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateNextStepSoundDistance, canActVoluntarily, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, castComponentValue, changeLookDirection, checkDespawn, checkWaterState, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getInterpolator, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPickBlockStack, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, 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, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFall, handleFallDamage, handleFallDamageForPassengers, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interact, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isBeingRainedOn, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInSneakingPose, isInSwimmingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
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
Lbze;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
Lbze;f:Lalh;
-
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
Lbze;g:Lalh;
-
PARTICLE
- Mappings:
Namespace Name Mixin selector named PARTICLE
Lnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE:Lnet/minecraft/entity/data/TrackedData;
intermediary field_5931
Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;
official h
Lbze;h:Lalh;
-
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
Lbze;i:F
-
field_57566
private static final int field_57566- See Also:
- Mappings:
Namespace Name Mixin selector named field_57566
Lnet/minecraft/entity/AreaEffectCloudEntity;field_57566:I
intermediary field_57566
Lnet/minecraft/class_1295;field_57566:I
official j
Lbze;j:I
-
field_57567
private static final int field_57567- See Also:
- Mappings:
Namespace Name Mixin selector named field_57567
Lnet/minecraft/entity/AreaEffectCloudEntity;field_57567:I
intermediary field_57567
Lnet/minecraft/class_1295;field_57567:I
official k
Lbze;k:I
-
DEFAULT_RADIUS_ON_USE
private static final float DEFAULT_RADIUS_ON_USE- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RADIUS_ON_USE
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS_ON_USE:F
intermediary field_57568
Lnet/minecraft/class_1295;field_57568:F
official l
Lbze;l:F
-
DEFAULT_RADIUS_GROWTH
private static final float DEFAULT_RADIUS_GROWTH- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RADIUS_GROWTH
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS_GROWTH:F
intermediary field_57569
Lnet/minecraft/class_1295;field_57569:F
official m
Lbze;m:F
-
field_57570
private static final float field_57570- See Also:
- Mappings:
Namespace Name Mixin selector named field_57570
Lnet/minecraft/entity/AreaEffectCloudEntity;field_57570:F
intermediary field_57570
Lnet/minecraft/class_1295;field_57570:F
official n
Lbze;n: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 o
Lbze;o:F
-
DEFAULT_RADIUS
private static final float DEFAULT_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RADIUS
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS:F
intermediary field_40731
Lnet/minecraft/class_1295;field_40731:F
official p
Lbze;p: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 a
Lbze;a: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 b
Lbze;b:F
-
DEFAULT_DURATION
public static final int DEFAULT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_DURATION
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_DURATION:I
intermediary field_57564
Lnet/minecraft/class_1295;field_57564:I
official c
Lbze;c:I
-
field_57565
public static final int field_57565- See Also:
- Mappings:
Namespace Name Mixin selector named field_57565
Lnet/minecraft/entity/AreaEffectCloudEntity;field_57565:I
intermediary field_57565
Lnet/minecraft/class_1295;field_57565:I
official d
Lbze;d:I
-
DEFAULT_WAIT_TIME
private static final int DEFAULT_WAIT_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_WAIT_TIME
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_WAIT_TIME:I
intermediary field_57571
Lnet/minecraft/class_1295;field_57571:I
official q
Lbze;q:I
-
DEFAULT_REAPPLICATION_DELAY
private static final int DEFAULT_REAPPLICATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_REAPPLICATION_DELAY
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_REAPPLICATION_DELAY:I
intermediary field_57572
Lnet/minecraft/class_1295;field_57572:I
official r
Lbze;r:I
-
DEFAULT_PARTICLE_EFFECT
- Mappings:
Namespace Name Mixin selector named DEFAULT_PARTICLE_EFFECT
Lnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_PARTICLE_EFFECT:Lnet/minecraft/particle/EntityEffectParticleEffect;
intermediary field_56422
Lnet/minecraft/class_1295;field_56422:Lnet/minecraft/class_9381;
official s
Lbze;s:Llx;
-
customParticle
- Mappings:
Namespace Name Mixin selector named customParticle
Lnet/minecraft/entity/AreaEffectCloudEntity;customParticle:Lnet/minecraft/particle/ParticleEffect;
intermediary field_59666
Lnet/minecraft/class_1295;field_59666:Lnet/minecraft/class_2394;
official t
Lbze;t:Lmc;
-
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 u
Lbze;u:Lder;
-
potionDurationScale
private float potionDurationScale- Mappings:
Namespace Name Mixin selector named potionDurationScale
Lnet/minecraft/entity/AreaEffectCloudEntity;potionDurationScale:F
intermediary field_55653
Lnet/minecraft/class_1295;field_55653:F
official aM
Lbze;aM:F
-
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 aN
Lbze;aN: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 aO
Lbze;aO: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 aP
Lbze;aP: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 aQ
Lbze;aQ: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 aR
Lbze;aR: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 aS
Lbze;aS: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 aT
Lbze;aT:F
-
owner
- Mappings:
Namespace Name Mixin selector named owner
Lnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LazyEntityReference;
intermediary field_5943
Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_10583;
official aU
Lbze;aU:Lbzs;
-
-
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>
Lbzm;<init>(Lbzv;Ldmu;)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>
Lbze;<init>(Ldmu;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
Lbzm;a(Lall$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
Lbze;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_
Lbzm;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 c
Lbze;c()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
Lbze;a(Lder;)V
-
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
Lbze;a(Lmc;)V
-
setPotionDurationScale
public void setPotionDurationScale(float potionDurationScale) - Mappings:
Namespace Name Mixin selector named setPotionDurationScale
Lnet/minecraft/entity/AreaEffectCloudEntity;setPotionDurationScale(F)V
intermediary method_66232
Lnet/minecraft/class_1295;method_66232(F)V
official b
Lbze;b(F)V
-
updateParticle
private void updateParticle()- Mappings:
Namespace Name Mixin selector named updateParticle
Lnet/minecraft/entity/AreaEffectCloudEntity;updateParticle()V
intermediary method_70665
Lnet/minecraft/class_1295;method_70665()V
official q
Lbze;q()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
Lbze;a(Lbyq;)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 e
Lbze;e()Lmc;
-
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
Lbze;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 f
Lbze;f()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 h
Lbze;h()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
Lbze;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 g
Lbzm;g()V
-
clientTick
private void clientTick()- Mappings:
Namespace Name Mixin selector named clientTick
Lnet/minecraft/entity/AreaEffectCloudEntity;clientTick()V
intermediary method_64418
Lnet/minecraft/class_1295;method_64418()V
official s
Lbze;s()V
-
serverTick
- Mappings:
Namespace Name Mixin selector named serverTick
Lnet/minecraft/entity/AreaEffectCloudEntity;serverTick(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_64415
Lnet/minecraft/class_1295;method_64415(Lnet/minecraft/class_3218;)V
official a
Lbze;a(Laub;)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 i
Lbze;i()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 c
Lbze;c(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 k
Lbze;k()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 d
Lbze;d(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 l
Lbze;l()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
Lbze;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 m
Lbze;m()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
Lbze;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
Lbze;a(Lcam;)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 n
Lbze;n()Lcam;
-
readCustomData
- Specified by:
readCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
writeCustomData
- Specified by:
writeCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)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.
- 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
Lalk;a(Lalh;)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_
Lbzm;k_()Lfaq;
-
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
Lbzm;a(Lcay;)Lbzp;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)
and return early.- Specified by:
damage
in classEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbzm;a(Laub;Lbyb;F)Z
-
get
- Specified by:
get
in interfaceComponentsAccess
- Overrides:
get
in classEntity
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;
intermediary method_58694
Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;
official a
Lkl;a(Lkp;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFrom
in classEntity
- Mappings:
Namespace Name Mixin selector named copyComponentsFrom
Lnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)V
intermediary method_66649
Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)V
official a
Lbzm;a(Lkl;)V
-
setApplicableComponent
- Overrides:
setApplicableComponent
in classEntity
- Mappings:
Namespace Name Mixin selector named setApplicableComponent
Lnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Z
intermediary method_66654
Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Z
official b
Lbzm;b(Lkp;Ljava/lang/Object;)Z
-