Class AreaEffectCloudEntity
- All Implemented Interfaces:
DataTracked,Ownable,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntityintermediary net/minecraft/class_1295official btx
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static final intprivate static final floatprivate static final floatstatic final floatstatic final floatprivate static final Loggerprivate static final floatprivate @Nullable LivingEntityprivate static final TrackedData<ParticleEffect> private PotionContentsComponentprivate 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, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields 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.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.voidsetDuration(int duration) voidsetDurationOnUse(int durationOnUse) voidsetOwner(@Nullable LivingEntity owner) voidsetParticleType(ParticleEffect particle) voidsetPotionContents(PotionContentsComponent potionContentsComponent) 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, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTable, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, 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, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, method_64166, method_64168, move, movementInputToVelocity, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, 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.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/entity/AreaEffectCloudEntity;LOGGER:Lorg/slf4j/Logger;intermediary field_5935Lnet/minecraft/class_1295;field_5935:Lorg/slf4j/Logger;official dLbtx;d:Lorg/slf4j/Logger;
-
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 eLbtx;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 fLbtx;f:Lakl;
-
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 gLbtx;g:Lakl;
-
PARTICLE_ID
- Mappings:
Namespace Name Mixin selector named PARTICLE_IDLnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE_ID:Lnet/minecraft/entity/data/TrackedData;intermediary field_5931Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;official hLbtx;h:Lakl;
-
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 iLbtx;i: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 jLbtx;j:F
-
field_40731
private static final float field_40731- See Also:
- Mappings:
Namespace Name Mixin selector named field_40731Lnet/minecraft/entity/AreaEffectCloudEntity;field_40731:Fintermediary field_40731Lnet/minecraft/class_1295;field_40731:Fofficial kLbtx;k: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 bLbtx;b: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 cLbtx;c:F
-
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 lLbtx;l:Lcya;
-
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 mLbtx;m: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 nLbtx;n: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 oLbtx;o: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 pLbtx;p: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 qLbtx;q: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 rLbtx;r: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 sLbtx;s: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 tLbtx;t:Lbva;
-
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 uLbtx;u:Ljava/util/UUID;
-
-
Constructor Details
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbue;<init>(Lbul;Ldfb;)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>Lbtx;<init>(Ldfb;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 aLbue;a(Lakp$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 aLbtx;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 j_Lbue;j_()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 gLbtx;g()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 aLbtx;a(Lcya;)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 tLbtx;t()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 aLbtx;a(Lbtj;)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 hLbtx;h()Llp;
-
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 aLbtx;a(Llp;)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 aLbtx;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 iLbtx;i()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 jLbtx;j()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 aLbtx;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 lLbue;l()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 kLbtx;k()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 bLbtx;b(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 mLbtx;m()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 cLbtx;c(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 oLbtx;o()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 bLbtx;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 pLbtx;p()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 cLbtx;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 aLbtx;a(Lbva;)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 qLbtx;q()Lbva;
-
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 aLbue;a(Luk;)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 bLbue;b(Luk;)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 aLako;a(Lakl;)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 k_Lbue;k_()Lerp;
-
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 aLbue;a(Lbvm;)Lbuh;
-