Class AreaEffectCloudEntity
- All Implemented Interfaces:
ComponentsAccess,DataTracked,Ownable,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntityintermediary net/minecraft/class_1295official bwn
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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(ParticleEffect particle) 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, getLeashOffset, getLeashOffset, 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, 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, limitFallDistance, lookAt, 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, 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, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, 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 eLbwn;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 fLbwn;f:Lakn;
-
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 gLbwn;g:Lakn;
-
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 hLbwn;h:Lakn;
-
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 iLbwn;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 jLbwn;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 kLbwn;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 lLbwn;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 mLbwn;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 nLbwn;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 oLbwn;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 pLbwn;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 aLbwn;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 bLbwn;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 cLbwn;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 dLbwn;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 qLbwn;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 rLbwn;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 sLbwn;s:Lls;
-
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 tLbwn;t:Ldbw;
-
potionDurationScale
private float potionDurationScale- Mappings:
Namespace Name Mixin selector named potionDurationScaleLnet/minecraft/entity/AreaEffectCloudEntity;potionDurationScale:Fintermediary field_55653Lnet/minecraft/class_1295;field_55653:Fofficial uLbwn;u: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 ayLbwn;ay: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 azLbwn;az: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 aALbwn;aA: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 aBLbwn;aB: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 aCLbwn;aC: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 aDLbwn;aD: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 aELbwn;aE: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 aFLbwn;aF:Lbxw;
-
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 aGLbwn;aG: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>Lbwv;<init>(Lbxe;Ldjz;)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>Lbwn;<init>(Ldjz;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 aLbwv;a(Lakr$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 aLbwn;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_Lbwv;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 eLbwn;e()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 aLbwn;a(Ldbw;)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 bLbwn;b(F)V
-
updateColor
private void updateColor()- Mappings:
Namespace Name Mixin selector named updateColorLnet/minecraft/entity/AreaEffectCloudEntity;updateColor()Vintermediary method_5597Lnet/minecraft/class_1295;method_5597()Vofficial sLbwn;s()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 aLbwn;a(Lbvz;)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 fLbwn;f()Llx;
-
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 aLbwn;a(Llx;)V
-
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 aLbwn;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 gLbwn;g()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 iLbwn;i()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 aLbwn;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 hLbwv;h()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 tLbwn;t()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 aLbwn;a(Laru;)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 jLbwn;j()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 cLbwn;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 lLbwn;l()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 dLbwn;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 mLbwn;m()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 bLbwn;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 nLbwn;n()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 cLbwn;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 aLbwn;a(Lbxw;)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 oLbwn;o()Lbxw;
-
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 aLbwv;a(Lua;)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 bLbwv;b(Lua;)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 aLakq;a(Lakn;)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_Lbwv;j_()Lexv;
-
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 aLbwv;a(Lbyi;)Lbwy;
-
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
and return early.invalid reference
#isInvulnerableTo- 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 aLbwv;a(Laru;Lbvk;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 aLkg;a(Lkk;)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 aLbwv;a(Lkg;)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 bLbwv;b(Lkk;Ljava/lang/Object;)Z
-