Class AreaEffectCloudEntity
- All Implemented Interfaces:
Ownable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bfg
intermediary net/minecraft/class_1295
named net/minecraft/entity/AreaEffectCloudEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TrackedData<Integer>
private boolean
private int
private int
private final List<StatusEffectInstance>
private static final int
private static final float
private static final float
static final float
static final float
private static final Logger
private static final float
private @Nullable LivingEntity
private static final TrackedData<ParticleEffect>
private Potion
private static final TrackedData<Float>
private float
private float
private int
private static final TrackedData<Boolean>
private int
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionAreaEffectCloudEntity
(EntityType<? extends AreaEffectCloudEntity> type, World world) AreaEffectCloudEntity
(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEffect
(StatusEffectInstance effect) void
Calculates and sets the dimension (bounding box) of the entity and refreshes its position.int
getColor()
getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.int
int
getOwner()
Returns the behavior of the piston for this entity.float
float
float
int
protected void
Initializes data tracker.boolean
void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
Reads custom data fromnbt
.void
setColor
(int rgb) void
setDuration
(int duration) void
setDurationOnUse
(int durationOnUse) void
setOwner
(@Nullable LivingEntity owner) void
setParticleType
(ParticleEffect particle) void
void
setRadius
(float radius) void
setRadiusGrowth
(float radiusGrowth) void
setRadiusOnUse
(float radiusOnUse) protected void
setWaiting
(boolean waiting) void
setWaitTime
(int waitTime) void
tick()
Ticks this entity.private void
protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, extinguishWithSound, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, 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, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, 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, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, 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, limitFallDistance, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lbfg;d:Lorg/slf4j/Logger;
intermediary field_5935
Lnet/minecraft/class_1295;field_5935:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/entity/AreaEffectCloudEntity;LOGGER:Lorg/slf4j/Logger;
-
field_29972
private static final int field_29972- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbfg;e:I
intermediary field_29972
Lnet/minecraft/class_1295;field_29972:I
named field_29972
Lnet/minecraft/entity/AreaEffectCloudEntity;field_29972:I
-
RADIUS
- Mappings:
Namespace Name Mixin selector official f
Lbfg;f:Laby;
intermediary field_5938
Lnet/minecraft/class_1295;field_5938:Lnet/minecraft/class_2940;
named RADIUS
Lnet/minecraft/entity/AreaEffectCloudEntity;RADIUS:Lnet/minecraft/entity/data/TrackedData;
-
COLOR
- Mappings:
Namespace Name Mixin selector official g
Lbfg;g:Laby;
intermediary field_5936
Lnet/minecraft/class_1295;field_5936:Lnet/minecraft/class_2940;
named COLOR
Lnet/minecraft/entity/AreaEffectCloudEntity;COLOR:Lnet/minecraft/entity/data/TrackedData;
-
WAITING
- Mappings:
Namespace Name Mixin selector official h
Lbfg;h:Laby;
intermediary field_5944
Lnet/minecraft/class_1295;field_5944:Lnet/minecraft/class_2940;
named WAITING
Lnet/minecraft/entity/AreaEffectCloudEntity;WAITING:Lnet/minecraft/entity/data/TrackedData;
-
PARTICLE_ID
- Mappings:
Namespace Name Mixin selector official i
Lbfg;i:Laby;
intermediary field_5931
Lnet/minecraft/class_1295;field_5931:Lnet/minecraft/class_2940;
named PARTICLE_ID
Lnet/minecraft/entity/AreaEffectCloudEntity;PARTICLE_ID:Lnet/minecraft/entity/data/TrackedData;
-
MAX_RADIUS
private static final float MAX_RADIUS- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbfg;j:F
intermediary field_29971
Lnet/minecraft/class_1295;field_29971:F
named MAX_RADIUS
Lnet/minecraft/entity/AreaEffectCloudEntity;MAX_RADIUS:F
-
field_40730
private static final float field_40730- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbfg;k:F
intermediary field_40730
Lnet/minecraft/class_1295;field_40730:F
named field_40730
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40730:F
-
field_40731
private static final float field_40731- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbfg;l:F
intermediary field_40731
Lnet/minecraft/class_1295;field_40731:F
named field_40731
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40731:F
-
field_40732
public static final float field_40732- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbfg;b:F
intermediary field_40732
Lnet/minecraft/class_1295;field_40732:F
named field_40732
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40732:F
-
field_40733
public static final float field_40733- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbfg;c:F
intermediary field_40733
Lnet/minecraft/class_1295;field_40733:F
named field_40733
Lnet/minecraft/entity/AreaEffectCloudEntity;field_40733:F
-
potion
- Mappings:
Namespace Name Mixin selector official m
Lbfg;m:Lchw;
intermediary field_5933
Lnet/minecraft/class_1295;field_5933:Lnet/minecraft/class_1842;
named potion
Lnet/minecraft/entity/AreaEffectCloudEntity;potion:Lnet/minecraft/potion/Potion;
-
effects
- Mappings:
Namespace Name Mixin selector official n
Lbfg;n:Ljava/util/List;
intermediary field_5934
Lnet/minecraft/class_1295;field_5934:Ljava/util/List;
named effects
Lnet/minecraft/entity/AreaEffectCloudEntity;effects:Ljava/util/List;
-
affectedEntities
- Mappings:
Namespace Name Mixin selector official o
Lbfg;o:Ljava/util/Map;
intermediary field_5942
Lnet/minecraft/class_1295;field_5942:Ljava/util/Map;
named affectedEntities
Lnet/minecraft/entity/AreaEffectCloudEntity;affectedEntities:Ljava/util/Map;
-
duration
private int duration- Mappings:
Namespace Name Mixin selector official p
Lbfg;p:I
intermediary field_5939
Lnet/minecraft/class_1295;field_5939:I
named duration
Lnet/minecraft/entity/AreaEffectCloudEntity;duration:I
-
waitTime
private int waitTime- Mappings:
Namespace Name Mixin selector official q
Lbfg;q:I
intermediary field_5941
Lnet/minecraft/class_1295;field_5941:I
named waitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;waitTime:I
-
reapplicationDelay
private int reapplicationDelay- Mappings:
Namespace Name Mixin selector official r
Lbfg;r:I
intermediary field_5937
Lnet/minecraft/class_1295;field_5937:I
named reapplicationDelay
Lnet/minecraft/entity/AreaEffectCloudEntity;reapplicationDelay:I
-
customColor
private boolean customColor- Mappings:
Namespace Name Mixin selector official s
Lbfg;s:Z
intermediary field_5928
Lnet/minecraft/class_1295;field_5928:Z
named customColor
Lnet/minecraft/entity/AreaEffectCloudEntity;customColor:Z
-
durationOnUse
private int durationOnUse- Mappings:
Namespace Name Mixin selector official t
Lbfg;t:I
intermediary field_5932
Lnet/minecraft/class_1295;field_5932:I
named durationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;durationOnUse:I
-
radiusOnUse
private float radiusOnUse- Mappings:
Namespace Name Mixin selector official u
Lbfg;u:F
intermediary field_5929
Lnet/minecraft/class_1295;field_5929:F
named radiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;radiusOnUse:F
-
radiusGrowth
private float radiusGrowth- Mappings:
Namespace Name Mixin selector official aD
Lbfg;aD:F
intermediary field_5930
Lnet/minecraft/class_1295;field_5930:F
named radiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;radiusGrowth:F
-
owner
- Mappings:
Namespace Name Mixin selector official aE
Lbfg;aE:Lbfz;
intermediary field_5943
Lnet/minecraft/class_1295;field_5943:Lnet/minecraft/class_1309;
named owner
Lnet/minecraft/entity/AreaEffectCloudEntity;owner:Lnet/minecraft/entity/LivingEntity;
-
ownerUuid
- Mappings:
Namespace Name Mixin selector official aF
Lbfg;aF:Ljava/util/UUID;
intermediary field_5940
Lnet/minecraft/class_1295;field_5940:Ljava/util/UUID;
named ownerUuid
Lnet/minecraft/entity/AreaEffectCloudEntity;ownerUuid:Ljava/util/UUID;
-
-
Constructor Details
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbfj;<init>(Lbfn;Lcmm;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
AreaEffectCloudEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbfg;<init>(Lcmm;DDD)V
intermediary <init>
Lnet/minecraft/class_1295;<init>(Lnet/minecraft/class_1937;DDD)V
named <init>
Lnet/minecraft/entity/AreaEffectCloudEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbfj;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
setRadius
public void setRadius(float radius) - Mappings:
Namespace Name Mixin selector official a
Lbfg;a(F)V
intermediary method_5603
Lnet/minecraft/class_1295;method_5603(F)V
named setRadius
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadius(F)V
-
calculateDimensions
public void calculateDimensions()Calculates and sets the dimension (bounding box) of the entity and refreshes its position.- Overrides:
calculateDimensions
in classEntity
- Mappings:
Namespace Name Mixin selector official d_
Lbfj;d_()V
intermediary method_18382
Lnet/minecraft/class_1297;method_18382()V
named calculateDimensions
Lnet/minecraft/entity/Entity;calculateDimensions()V
-
getRadius
public float getRadius()- Mappings:
Namespace Name Mixin selector official h
Lbfg;h()F
intermediary method_5599
Lnet/minecraft/class_1295;method_5599()F
named getRadius
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadius()F
-
setPotion
- Mappings:
Namespace Name Mixin selector official a
Lbfg;a(Lchw;)V
intermediary method_5612
Lnet/minecraft/class_1295;method_5612(Lnet/minecraft/class_1842;)V
named setPotion
Lnet/minecraft/entity/AreaEffectCloudEntity;setPotion(Lnet/minecraft/potion/Potion;)V
-
updateColor
private void updateColor()- Mappings:
Namespace Name Mixin selector official w
Lbfg;w()V
intermediary method_5597
Lnet/minecraft/class_1295;method_5597()V
named updateColor
Lnet/minecraft/entity/AreaEffectCloudEntity;updateColor()V
-
addEffect
- Mappings:
Namespace Name Mixin selector official a
Lbfg;a(Lbfa;)V
intermediary method_5610
Lnet/minecraft/class_1295;method_5610(Lnet/minecraft/class_1293;)V
named addEffect
Lnet/minecraft/entity/AreaEffectCloudEntity;addEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
getColor
public int getColor()- Mappings:
Namespace Name Mixin selector official i
Lbfg;i()I
intermediary method_5606
Lnet/minecraft/class_1295;method_5606()I
named getColor
Lnet/minecraft/entity/AreaEffectCloudEntity;getColor()I
-
setColor
public void setColor(int rgb) - Mappings:
Namespace Name Mixin selector official a
Lbfg;a(I)V
intermediary method_5602
Lnet/minecraft/class_1295;method_5602(I)V
named setColor
Lnet/minecraft/entity/AreaEffectCloudEntity;setColor(I)V
-
getParticleType
- Mappings:
Namespace Name Mixin selector official j
Lbfg;j()Lit;
intermediary method_5600
Lnet/minecraft/class_1295;method_5600()Lnet/minecraft/class_2394;
named getParticleType
Lnet/minecraft/entity/AreaEffectCloudEntity;getParticleType()Lnet/minecraft/particle/ParticleEffect;
-
setParticleType
- Mappings:
Namespace Name Mixin selector official a
Lbfg;a(Lit;)V
intermediary method_5608
Lnet/minecraft/class_1295;method_5608(Lnet/minecraft/class_2394;)V
named setParticleType
Lnet/minecraft/entity/AreaEffectCloudEntity;setParticleType(Lnet/minecraft/particle/ParticleEffect;)V
-
setWaiting
protected void setWaiting(boolean waiting) - Mappings:
Namespace Name Mixin selector official a
Lbfg;a(Z)V
intermediary method_5598
Lnet/minecraft/class_1295;method_5598(Z)V
named setWaiting
Lnet/minecraft/entity/AreaEffectCloudEntity;setWaiting(Z)V
-
isWaiting
public boolean isWaiting()- Mappings:
Namespace Name Mixin selector official k
Lbfg;k()Z
intermediary method_5611
Lnet/minecraft/class_1295;method_5611()Z
named isWaiting
Lnet/minecraft/entity/AreaEffectCloudEntity;isWaiting()Z
-
getDuration
public int getDuration()- Mappings:
Namespace Name Mixin selector official m
Lbfg;m()I
intermediary method_5605
Lnet/minecraft/class_1295;method_5605()I
named getDuration
Lnet/minecraft/entity/AreaEffectCloudEntity;getDuration()I
-
setDuration
public void setDuration(int duration) - Mappings:
Namespace Name Mixin selector official b
Lbfg;b(I)V
intermediary method_5604
Lnet/minecraft/class_1295;method_5604(I)V
named setDuration
Lnet/minecraft/entity/AreaEffectCloudEntity;setDuration(I)V
-
tick
public void tick()Ticks this entity. -
getRadiusOnUse
public float getRadiusOnUse()- Mappings:
Namespace Name Mixin selector official o
Lbfg;o()F
intermediary method_35044
Lnet/minecraft/class_1295;method_35044()F
named getRadiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusOnUse()F
-
setRadiusOnUse
public void setRadiusOnUse(float radiusOnUse) - Mappings:
Namespace Name Mixin selector official b
Lbfg;b(F)V
intermediary method_5609
Lnet/minecraft/class_1295;method_5609(F)V
named setRadiusOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusOnUse(F)V
-
getRadiusGrowth
public float getRadiusGrowth()- Mappings:
Namespace Name Mixin selector official p
Lbfg;p()F
intermediary method_35045
Lnet/minecraft/class_1295;method_35045()F
named getRadiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;getRadiusGrowth()F
-
setRadiusGrowth
public void setRadiusGrowth(float radiusGrowth) - Mappings:
Namespace Name Mixin selector official c
Lbfg;c(F)V
intermediary method_5596
Lnet/minecraft/class_1295;method_5596(F)V
named setRadiusGrowth
Lnet/minecraft/entity/AreaEffectCloudEntity;setRadiusGrowth(F)V
-
getDurationOnUse
public int getDurationOnUse()- Mappings:
Namespace Name Mixin selector official q
Lbfg;q()I
intermediary method_35046
Lnet/minecraft/class_1295;method_35046()I
named getDurationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;getDurationOnUse()I
-
setDurationOnUse
public void setDurationOnUse(int durationOnUse) - Mappings:
Namespace Name Mixin selector official c
Lbfg;c(I)V
intermediary method_35043
Lnet/minecraft/class_1295;method_35043(I)V
named setDurationOnUse
Lnet/minecraft/entity/AreaEffectCloudEntity;setDurationOnUse(I)V
-
getWaitTime
public int getWaitTime()- Mappings:
Namespace Name Mixin selector official r
Lbfg;r()I
intermediary method_35047
Lnet/minecraft/class_1295;method_35047()I
named getWaitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;getWaitTime()I
-
setWaitTime
public void setWaitTime(int waitTime) - Mappings:
Namespace Name Mixin selector official d
Lbfg;d(I)V
intermediary method_5595
Lnet/minecraft/class_1295;method_5595(I)V
named setWaitTime
Lnet/minecraft/entity/AreaEffectCloudEntity;setWaitTime(I)V
-
setOwner
- Mappings:
Namespace Name Mixin selector official a
Lbfg;a(Lbfz;)V
intermediary method_5607
Lnet/minecraft/class_1295;method_5607(Lnet/minecraft/class_1309;)V
named setOwner
Lnet/minecraft/entity/AreaEffectCloudEntity;setOwner(Lnet/minecraft/entity/LivingEntity;)V
-
getOwner
- Specified by:
getOwner
in interfaceOwnable
- Mappings:
Namespace Name Mixin selector official s
Lbfg;s()Lbfz;
intermediary method_5601
Lnet/minecraft/class_1295;method_5601()Lnet/minecraft/class_1309;
named getOwner
Lnet/minecraft/entity/AreaEffectCloudEntity;getOwner()Lnet/minecraft/entity/LivingEntity;
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses has 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.
nbt
might 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:
readCustomDataFromNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfj;a(Lqr;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses has 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:
writeCustomDataToNbt
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbfj;b(Lqr;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)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.
- Overrides:
onTrackedDataSet
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfj;a(Laby;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getPotion
- Mappings:
Namespace Name Mixin selector official t
Lbfg;t()Lchw;
intermediary method_35048
Lnet/minecraft/class_1295;method_35048()Lnet/minecraft/class_1842;
named getPotion
Lnet/minecraft/entity/AreaEffectCloudEntity;getPotion()Lnet/minecraft/potion/Potion;
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMAL
by default.AreaEffectCloudEntity
,MarkerEntity
, and markerArmorStandEntity
returnPistonBehavior.IGNORE
, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL
.- Overrides:
getPistonBehavior
in classEntity
- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector official l_
Lbfj;l_()Ldxj;
intermediary method_5657
Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
named getPistonBehavior
Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
-
getDimensions
Returns the dimensions of the entity with the givenpose
.- Overrides:
getDimensions
in classEntity
- Returns:
- the dimensions of the entity with the given
pose
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfj;a(Lbgl;)Lbfk;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-