Class AreaEffectCloudEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,Ownable,ScoreHolder,HeldItemContext,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntityintermediary net/minecraft/class_1295official cab
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.class_11726 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable ParticleEffectstatic final intprivate static final TintedParticleEffectprivate static final floatprivate static final floatprivate static final floatprivate static final intprivate static final intprivate intprivate intprivate static final intprivate static final floatstatic final floatstatic final floatstatic final intprivate static final intprivate static final intprivate static final floatprivate static final floatprivate @Nullable LazyEntityReference<LivingEntity> private static final TrackedData<ParticleEffect> private PotionContentsComponentprivate floatprivate static final TrackedData<Float> private floatprivate floatprivate intprivate static final TrackedData<Boolean> private intFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_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, wasInPowderSnowFields 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 TypeMethodDescriptionvoidaddEffect(StatusEffectInstance effect) voidCalculates and sets the dimension (bounding box) of the entity and refreshes its position.private voidprotected voidfinal booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.<T> Tget(ComponentType<? extends T> type) getDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.intintgetOwner()Returns the behavior of the piston for this entity.floatfloatfloatintprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.booleanvoidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidreadCustomData(ReadView view) private voidserverTick(ServerWorld world) protected <T> booleansetApplicableComponent(ComponentType<T> type, T value) voidsetDuration(int duration) voidsetDurationOnUse(int durationOnUse) voidsetOwner(@Nullable LivingEntity owner) voidsetParticleType(@Nullable ParticleEffect customParticle) voidsetPotionContents(PotionContentsComponent potionContentsComponent) voidsetPotionDurationScale(float potionDurationScale) voidsetRadius(float radius) voidsetRadiusGrowth(float radiusGrowth) voidsetRadiusOnUse(float radiusOnUse) protected voidsetWaiting(boolean waiting) voidsetWaitTime(int waitTime) voidtick()Ticks this entity.private voidprotected voidwriteCustomData(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, 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, getEntityWorld, 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, 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, method_73092, method_73094, method_73095, method_73187, 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, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.util.HeldItemContext
getEntityMethods 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_29972Lnet/minecraft/entity/AreaEffectCloudEntity;field_29972:Iintermediary field_29972Lnet/minecraft/class_1295;field_29972:Iofficial eLcab;e:I
-
RADIUS
- Mappings:
Namespace Name Mixin selector named RADIUSLnet/minecraft/entity/AreaEffectCloudEntity;RADIUS:Lnet/minecraft/entity/data/TrackedData;intermediary field_5938Lnet/minecraft/class_1295;field_5938:Lnet/minecraft/class_2940;official fLcab;f:Lals;
-
WAITING
- Mappings:
Namespace Name Mixin selector named WAITINGLnet/minecraft/entity/AreaEffectCloudEntity;WAITING:Lnet/minecraft/entity/data/TrackedData;intermediary field_5944Lnet/minecraft/class_1295;field_5944:Lnet/minecraft/class_2940;official gLcab;g:Lals;
-
PARTICLE
- Mappings:
Namespace Name Mixin selector named PARTICLELnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE:Lnet/minecraft/entity/data/TrackedData;intermediary field_5931Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;official hLcab;h:Lals;
-
MAX_RADIUS
private static final float MAX_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_RADIUSLnet/minecraft/entity/AreaEffectCloudEntity;MAX_RADIUS:Fintermediary field_29971Lnet/minecraft/class_1295;field_29971:Fofficial iLcab;i:F
-
field_57566
private static final int field_57566- See Also:
- Mappings:
Namespace Name Mixin selector named field_57566Lnet/minecraft/entity/AreaEffectCloudEntity;field_57566:Iintermediary field_57566Lnet/minecraft/class_1295;field_57566:Iofficial jLcab;j:I
-
field_57567
private static final int field_57567- See Also:
- Mappings:
Namespace Name Mixin selector named field_57567Lnet/minecraft/entity/AreaEffectCloudEntity;field_57567:Iintermediary field_57567Lnet/minecraft/class_1295;field_57567:Iofficial kLcab;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_USELnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS_ON_USE:Fintermediary field_57568Lnet/minecraft/class_1295;field_57568:Fofficial lLcab;l:F
-
DEFAULT_RADIUS_GROWTH
private static final float DEFAULT_RADIUS_GROWTH- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RADIUS_GROWTHLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS_GROWTH:Fintermediary field_57569Lnet/minecraft/class_1295;field_57569:Fofficial mLcab;m:F
-
field_57570
private static final float field_57570- See Also:
- Mappings:
Namespace Name Mixin selector named field_57570Lnet/minecraft/entity/AreaEffectCloudEntity;field_57570:Fintermediary field_57570Lnet/minecraft/class_1295;field_57570:Fofficial nLcab;n:F
-
field_40730
private static final float field_40730- See Also:
- Mappings:
Namespace Name Mixin selector named field_40730Lnet/minecraft/entity/AreaEffectCloudEntity;field_40730:Fintermediary field_40730Lnet/minecraft/class_1295;field_40730:Fofficial oLcab;o:F
-
DEFAULT_RADIUS
private static final float DEFAULT_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_RADIUSLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_RADIUS:Fintermediary field_40731Lnet/minecraft/class_1295;field_40731:Fofficial pLcab;p:F
-
field_40732
public static final float field_40732- See Also:
- Mappings:
Namespace Name Mixin selector named field_40732Lnet/minecraft/entity/AreaEffectCloudEntity;field_40732:Fintermediary field_40732Lnet/minecraft/class_1295;field_40732:Fofficial aLcab;a:F
-
field_40733
public static final float field_40733- See Also:
- Mappings:
Namespace Name Mixin selector named field_40733Lnet/minecraft/entity/AreaEffectCloudEntity;field_40733:Fintermediary field_40733Lnet/minecraft/class_1295;field_40733:Fofficial bLcab;b:F
-
DEFAULT_DURATION
public static final int DEFAULT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_DURATIONLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_DURATION:Iintermediary field_57564Lnet/minecraft/class_1295;field_57564:Iofficial cLcab;c:I
-
field_57565
public static final int field_57565- See Also:
- Mappings:
Namespace Name Mixin selector named field_57565Lnet/minecraft/entity/AreaEffectCloudEntity;field_57565:Iintermediary field_57565Lnet/minecraft/class_1295;field_57565:Iofficial dLcab;d:I
-
DEFAULT_WAIT_TIME
private static final int DEFAULT_WAIT_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_WAIT_TIMELnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_WAIT_TIME:Iintermediary field_57571Lnet/minecraft/class_1295;field_57571:Iofficial qLcab;q:I
-
DEFAULT_REAPPLICATION_DELAY
private static final int DEFAULT_REAPPLICATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_REAPPLICATION_DELAYLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_REAPPLICATION_DELAY:Iintermediary field_57572Lnet/minecraft/class_1295;field_57572:Iofficial rLcab;r:I
-
DEFAULT_PARTICLE_EFFECT
- Mappings:
Namespace Name Mixin selector named DEFAULT_PARTICLE_EFFECTLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_PARTICLE_EFFECT:Lnet/minecraft/particle/TintedParticleEffect;intermediary field_56422Lnet/minecraft/class_1295;field_56422:Lnet/minecraft/class_9381;official sLcab;s:Llx;
-
customParticle
- Mappings:
Namespace Name Mixin selector named customParticleLnet/minecraft/entity/AreaEffectCloudEntity;customParticle:Lnet/minecraft/particle/ParticleEffect;intermediary field_59666Lnet/minecraft/class_1295;field_59666:Lnet/minecraft/class_2394;official tLcab;t:Lmd;
-
potionContentsComponent
- Mappings:
Namespace Name Mixin selector named potionContentsComponentLnet/minecraft/entity/AreaEffectCloudEntity;potionContentsComponent:Lnet/minecraft/component/type/PotionContentsComponent;intermediary field_49209Lnet/minecraft/class_1295;field_49209:Lnet/minecraft/class_1844;official uLcab;u:Ldfy;
-
potionDurationScale
private float potionDurationScale- Mappings:
Namespace Name Mixin selector named potionDurationScaleLnet/minecraft/entity/AreaEffectCloudEntity;potionDurationScale:Fintermediary field_55653Lnet/minecraft/class_1295;field_55653:Fofficial aNLcab;aN:F
-
affectedEntities
- Mappings:
Namespace Name Mixin selector named affectedEntitiesLnet/minecraft/entity/AreaEffectCloudEntity;affectedEntities:Ljava/util/Map;intermediary field_5942Lnet/minecraft/class_1295;field_5942:Ljava/util/Map;official aOLcab;aO:Ljava/util/Map;
-
duration
private int duration- Mappings:
Namespace Name Mixin selector named durationLnet/minecraft/entity/AreaEffectCloudEntity;duration:Iintermediary field_5939Lnet/minecraft/class_1295;field_5939:Iofficial aPLcab;aP:I
-
waitTime
private int waitTime- Mappings:
Namespace Name Mixin selector named waitTimeLnet/minecraft/entity/AreaEffectCloudEntity;waitTime:Iintermediary field_5941Lnet/minecraft/class_1295;field_5941:Iofficial aQLcab;aQ:I
-
reapplicationDelay
private int reapplicationDelay- Mappings:
Namespace Name Mixin selector named reapplicationDelayLnet/minecraft/entity/AreaEffectCloudEntity;reapplicationDelay:Iintermediary field_5937Lnet/minecraft/class_1295;field_5937:Iofficial aRLcab;aR:I
-
durationOnUse
private int durationOnUse- Mappings:
Namespace Name Mixin selector named durationOnUseLnet/minecraft/entity/AreaEffectCloudEntity;durationOnUse:Iintermediary field_5932Lnet/minecraft/class_1295;field_5932:Iofficial aSLcab;aS:I
-
radiusOnUse
private float radiusOnUse- Mappings:
Namespace Name Mixin selector named radiusOnUseLnet/minecraft/entity/AreaEffectCloudEntity;radiusOnUse:Fintermediary field_5929Lnet/minecraft/class_1295;field_5929:Fofficial aTLcab;aT:F
-
radiusGrowth
private float radiusGrowth- Mappings:
Namespace Name Mixin selector named radiusGrowthLnet/minecraft/entity/AreaEffectCloudEntity;radiusGrowth:Fintermediary field_5930Lnet/minecraft/class_1295;field_5930:Fofficial aULcab;aU:F
-
owner
- Mappings:
Namespace Name Mixin selector named ownerLnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LazyEntityReference;intermediary field_5943Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_10583;official aVLcab;aV:Lcaq;
-
-
Constructor Details
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcak;<init>(Lcat;Ldoc;)V
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/AreaEffectCloudEntity;<init>(Lnet/minecraft/world/World;DDD)Vintermediary <init>Lnet/minecraft/class_1295;<init>(Lnet/minecraft/class_1937;DDD)Vofficial <init>Lcab;<init>(Ldoc;DDD)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTrackerin 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 initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcak;a(Lalw$a;)V
-
setRadius
public void setRadius(float radius) - Mappings:
Namespace Name Mixin selector named setRadiusLnet/minecraft/entity/AreaEffectCloudEntity;setRadius(F)Vintermediary method_5603Lnet/minecraft/class_1295;method_5603(F)Vofficial aLcab;a(F)V
-
calculateDimensions
public void calculateDimensions()Calculates and sets the dimension (bounding box) of the entity and refreshes its position.- Overrides:
calculateDimensionsin classEntity- Mappings:
Namespace Name Mixin selector named calculateDimensionsLnet/minecraft/entity/Entity;calculateDimensions()Vintermediary method_18382Lnet/minecraft/class_1297;method_18382()Vofficial k_Lcak;k_()V
-
getRadius
public float getRadius()- Mappings:
Namespace Name Mixin selector named getRadiusLnet/minecraft/entity/AreaEffectCloudEntity;getRadius()Fintermediary method_5599Lnet/minecraft/class_1295;method_5599()Fofficial cLcab;c()F
-
setPotionContents
- Mappings:
Namespace Name Mixin selector named setPotionContentsLnet/minecraft/entity/AreaEffectCloudEntity;setPotionContents(Lnet/minecraft/component/type/PotionContentsComponent;)Vintermediary method_57280Lnet/minecraft/class_1295;method_57280(Lnet/minecraft/class_1844;)Vofficial aLcab;a(Ldfy;)V
-
setParticleType
- Mappings:
Namespace Name Mixin selector named setParticleTypeLnet/minecraft/entity/AreaEffectCloudEntity;setParticleType(Lnet/minecraft/particle/ParticleEffect;)Vintermediary method_5608Lnet/minecraft/class_1295;method_5608(Lnet/minecraft/class_2394;)Vofficial aLcab;a(Lmd;)V
-
setPotionDurationScale
public void setPotionDurationScale(float potionDurationScale) - Mappings:
Namespace Name Mixin selector named setPotionDurationScaleLnet/minecraft/entity/AreaEffectCloudEntity;setPotionDurationScale(F)Vintermediary method_66232Lnet/minecraft/class_1295;method_66232(F)Vofficial bLcab;b(F)V
-
updateParticle
private void updateParticle()- Mappings:
Namespace Name Mixin selector named updateParticleLnet/minecraft/entity/AreaEffectCloudEntity;updateParticle()Vintermediary method_70665Lnet/minecraft/class_1295;method_70665()Vofficial qLcab;q()V
-
addEffect
- Mappings:
Namespace Name Mixin selector named addEffectLnet/minecraft/entity/AreaEffectCloudEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Vintermediary method_5610Lnet/minecraft/class_1295;method_5610(Lnet/minecraft/class_1293;)Vofficial aLcab;a(Lbzn;)V
-
getParticleType
- Mappings:
Namespace Name Mixin selector named getParticleTypeLnet/minecraft/entity/AreaEffectCloudEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;intermediary method_5600Lnet/minecraft/class_1295;method_5600()Lnet/minecraft/class_2394;official eLcab;e()Lmd;
-
setWaiting
protected void setWaiting(boolean waiting) - Mappings:
Namespace Name Mixin selector named setWaitingLnet/minecraft/entity/AreaEffectCloudEntity;setWaiting(Z)Vintermediary method_5598Lnet/minecraft/class_1295;method_5598(Z)Vofficial aLcab;a(Z)V
-
isWaiting
public boolean isWaiting()- Mappings:
Namespace Name Mixin selector named isWaitingLnet/minecraft/entity/AreaEffectCloudEntity;isWaiting()Zintermediary method_5611Lnet/minecraft/class_1295;method_5611()Zofficial fLcab;f()Z
-
getDuration
public int getDuration()- Mappings:
Namespace Name Mixin selector named getDurationLnet/minecraft/entity/AreaEffectCloudEntity;getDuration()Iintermediary method_5605Lnet/minecraft/class_1295;method_5605()Iofficial hLcab;h()I
-
setDuration
public void setDuration(int duration) - Mappings:
Namespace Name Mixin selector named setDurationLnet/minecraft/entity/AreaEffectCloudEntity;setDuration(I)Vintermediary method_5604Lnet/minecraft/class_1295;method_5604(I)Vofficial aLcab;a(I)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcak;g()V
-
clientTick
private void clientTick()- Mappings:
Namespace Name Mixin selector named clientTickLnet/minecraft/entity/AreaEffectCloudEntity;clientTick()Vintermediary method_64418Lnet/minecraft/class_1295;method_64418()Vofficial sLcab;s()V
-
serverTick
- Mappings:
Namespace Name Mixin selector named serverTickLnet/minecraft/entity/AreaEffectCloudEntity;serverTick(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_64415Lnet/minecraft/class_1295;method_64415(Lnet/minecraft/class_3218;)Vofficial aLcab;a(Lauo;)V
-
getRadiusOnUse
public float getRadiusOnUse()- Mappings:
Namespace Name Mixin selector named getRadiusOnUseLnet/minecraft/entity/AreaEffectCloudEntity;getRadiusOnUse()Fintermediary method_35044Lnet/minecraft/class_1295;method_35044()Fofficial iLcab;i()F
-
setRadiusOnUse
public void setRadiusOnUse(float radiusOnUse) - Mappings:
Namespace Name Mixin selector named setRadiusOnUseLnet/minecraft/entity/AreaEffectCloudEntity;setRadiusOnUse(F)Vintermediary method_5609Lnet/minecraft/class_1295;method_5609(F)Vofficial cLcab;c(F)V
-
getRadiusGrowth
public float getRadiusGrowth()- Mappings:
Namespace Name Mixin selector named getRadiusGrowthLnet/minecraft/entity/AreaEffectCloudEntity;getRadiusGrowth()Fintermediary method_35045Lnet/minecraft/class_1295;method_35045()Fofficial kLcab;k()F
-
setRadiusGrowth
public void setRadiusGrowth(float radiusGrowth) - Mappings:
Namespace Name Mixin selector named setRadiusGrowthLnet/minecraft/entity/AreaEffectCloudEntity;setRadiusGrowth(F)Vintermediary method_5596Lnet/minecraft/class_1295;method_5596(F)Vofficial dLcab;d(F)V
-
getDurationOnUse
public int getDurationOnUse()- Mappings:
Namespace Name Mixin selector named getDurationOnUseLnet/minecraft/entity/AreaEffectCloudEntity;getDurationOnUse()Iintermediary method_35046Lnet/minecraft/class_1295;method_35046()Iofficial lLcab;l()I
-
setDurationOnUse
public void setDurationOnUse(int durationOnUse) - Mappings:
Namespace Name Mixin selector named setDurationOnUseLnet/minecraft/entity/AreaEffectCloudEntity;setDurationOnUse(I)Vintermediary method_35043Lnet/minecraft/class_1295;method_35043(I)Vofficial bLcab;b(I)V
-
getWaitTime
public int getWaitTime()- Mappings:
Namespace Name Mixin selector named getWaitTimeLnet/minecraft/entity/AreaEffectCloudEntity;getWaitTime()Iintermediary method_35047Lnet/minecraft/class_1295;method_35047()Iofficial mLcab;m()I
-
setWaitTime
public void setWaitTime(int waitTime) - Mappings:
Namespace Name Mixin selector named setWaitTimeLnet/minecraft/entity/AreaEffectCloudEntity;setWaitTime(I)Vintermediary method_5595Lnet/minecraft/class_1295;method_5595(I)Vofficial cLcab;c(I)V
-
setOwner
- Mappings:
Namespace Name Mixin selector named setOwnerLnet/minecraft/entity/AreaEffectCloudEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_5607Lnet/minecraft/class_1295;method_5607(Lnet/minecraft/class_1309;)Vofficial aLcab;a(Lcbl;)V
-
getOwner
- Specified by:
getOwnerin interfaceOwnable- Mappings:
Namespace Name Mixin selector named getOwnerLnet/minecraft/entity/AreaEffectCloudEntity;getOwner()Lnet/minecraft/entity/LivingEntity;intermediary method_5601Lnet/minecraft/class_1295;method_5601()Lnet/minecraft/class_1309;official nLcab;n()Lcbl;
-
readCustomData
- Specified by:
readCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcak;a(Lfey;)V
-
writeCustomData
- Specified by:
writeCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcak;a(Lffa;)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:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLalv;a(Lals;)V
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMALby default.AreaEffectCloudEntity,MarkerEntity, and markerArmorStandEntityreturnPistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL.- Overrides:
getPistonBehaviorin classEntity- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;official l_Lcak;l_()Lfco;
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official aLcak;a(Lcbx;)Lcan;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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:
damagein classEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcak;a(Lauo;Lbyy;F)Z
-
get
- Specified by:
getin interfaceComponentsAccess- Overrides:
getin classEntity- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;intermediary method_58694Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;official aLkl;a(Lkp;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFromin classEntity- Mappings:
Namespace Name Mixin selector named copyComponentsFromLnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)Vintermediary method_66649Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)Vofficial aLcak;a(Lkl;)V
-
setApplicableComponent
- Overrides:
setApplicableComponentin classEntity- Mappings:
Namespace Name Mixin selector named setApplicableComponentLnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Zintermediary method_66654Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Zofficial bLcak;b(Lkp;Ljava/lang/Object;)Z
-