Class AreaEffectCloudEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,Ownable,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntityintermediary net/minecraft/class_1295official bxf
-
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 ParticleEffectstatic final intprivate static final EntityEffectParticleEffectprivate 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 LivingEntityprivate 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, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, 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 voidReads custom data fromnbt.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 voidWrites custom data tonbt.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, clientDamage, collidesWith, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, 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, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, 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, hasVehicle, igniteByLava, interact, interactAt, isAlive, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isBeingRainedOn, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, 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, lookAt, method_70980, method_70982, method_70983, method_70984, method_70985, method_70986, method_70987, method_70988, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, 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, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, 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, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbtMethods 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.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 eLbxf;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 fLbxf;f:Lakx;
-
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 gLbxf;g:Lakx;
-
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 hLbxf;h:Lakx;
-
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 iLbxf;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 jLbxf;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 kLbxf;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 lLbxf;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 mLbxf;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 nLbxf;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 oLbxf;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 pLbxf;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 aLbxf;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 bLbxf;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 cLbxf;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 dLbxf;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 qLbxf;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 rLbxf;r:I
-
DEFAULT_PARTICLE_EFFECT
- Mappings:
Namespace Name Mixin selector named DEFAULT_PARTICLE_EFFECTLnet/minecraft/entity/AreaEffectCloudEntity;DEFAULT_PARTICLE_EFFECT:Lnet/minecraft/particle/EntityEffectParticleEffect;intermediary field_56422Lnet/minecraft/class_1295;field_56422:Lnet/minecraft/class_9381;official sLbxf;s:Llu;
-
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 tLbxf;t:Llz;
-
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 uLbxf;u:Ldcs;
-
potionDurationScale
private float potionDurationScale- Mappings:
Namespace Name Mixin selector named potionDurationScaleLnet/minecraft/entity/AreaEffectCloudEntity;potionDurationScale:Fintermediary field_55653Lnet/minecraft/class_1295;field_55653:Fofficial ayLbxf;ay: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 azLbxf;az: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 aALbxf;aA: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 aBLbxf;aB: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 aCLbxf;aC: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 aDLbxf;aD: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 aELbxf;aE: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 aFLbxf;aF:F
-
owner
- Mappings:
Namespace Name Mixin selector named ownerLnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LivingEntity;intermediary field_5943Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_1309;official aGLbxf;aG:Lbyn;
-
ownerUuid
- Mappings:
Namespace Name Mixin selector named ownerUuidLnet/minecraft/entity/AreaEffectCloudEntity;ownerUuid:Ljava/util/UUID;intermediary field_5940Lnet/minecraft/class_1295;field_5940:Ljava/util/UUID;official aHLbxf;aH: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;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbxn;<init>(Lbxw;Ldkv;)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>Lbxf;<init>(Ldkv;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 aLbxn;a(Lalb$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 aLbxf;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 i_Lbxn;i_()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 cLbxf;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 aLbxf;a(Ldcs;)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 aLbxf;a(Llz;)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 bLbxf;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 qLbxf;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 aLbxf;a(Lbwr;)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 eLbxf;e()Llz;
-
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 aLbxf;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 fLbxf;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 hLbxf;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 aLbxf;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 gLbxn;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 sLbxf;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 aLbxf;a(Lasg;)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 iLbxf;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 cLbxf;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 kLbxf;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 dLbxf;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 lLbxf;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 bLbxf;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 mLbxf;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 cLbxf;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 aLbxf;a(Lbyn;)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 nLbxf;n()Lbyn;
-
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.
nbtmight 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:
readCustomDataFromNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbxn;a(Luc;)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:
writeCustomDataToNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbxn;b(Luc;)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 aLala;a(Lakx;)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 j_Lbxn;j_()Leyr;
-
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 aLbxn;a(Lbyz;)Lbxq;
-
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 aLbxn;a(Lasg;Lbwc;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 aLki;a(Lkm;)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 aLbxn;a(Lki;)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 bLbxn;b(Lkm;Ljava/lang/Object;)Z
-