Class AreaEffectCloudEntity
- All Implemented Interfaces:
DataTracked,Ownable,ScoreHolder,Nameable,EntityLike
- Mappings:
Namespace Name named net/minecraft/entity/AreaEffectCloudEntityintermediary net/minecraft/class_1295official buf
-
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.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 voidfinal booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.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) 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, calculateDefaultBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkDespawn, checkWaterState, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, 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, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, 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, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, 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, 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, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetLerp, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, 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, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, 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.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 cLbuf;c: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 dLbuf;d: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 eLbuf;e:Lajy;
-
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 fLbuf;f:Lajy;
-
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 gLbuf;g:Lajy;
-
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 hLbuf;h: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 iLbuf;i: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 jLbuf;j: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 aLbuf;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 bLbuf;b: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 kLbuf;k:Lcyp;
-
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 lLbuf;l: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 mLbuf;m: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 nLbuf;n: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 oLbuf;o: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 pLbuf;p: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 qLbuf;q: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 rLbuf;r: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 sLbuf;s:Lbvi;
-
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 tLbuf;t: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>Lbum;<init>(Lbut;Ldgj;)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>Lbuf;<init>(Ldgj;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 aLbum;a(Lakc$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 aLbuf;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 m_Lbum;m_()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 cLbuf;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 aLbuf;a(Lcyp;)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 sLbuf;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 aLbuf;a(Lbtr;)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 eLbuf;e()Llr;
-
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 aLbuf;a(Llr;)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 aLbuf;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 fLbuf;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 gLbuf;g()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 aLbuf;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 hLbum;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 tLbuf;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 aLbuf;a(Lard;)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 iLbuf;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 bLbuf;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 jLbuf;j()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 cLbuf;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 lLbuf;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 bLbuf;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 mLbuf;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 cLbuf;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 aLbuf;a(Lbvi;)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 nLbuf;n()Lbvi;
-
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 aLbum;a(Ltq;)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 bLbum;b(Ltq;)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 aLakb;a(Lajy;)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 n_Lbum;n_()Letf;
-
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 aLbum;a(Lbvu;)Lbup;
-
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 aLbum;a(Lard;Lbtc;F)Z
-