public class AreaEffectCloudEntity extends Entity
Entity.IMoveCallback| Modifier and Type | Field and Description |
|---|---|
private static DataParameter<java.lang.Integer> |
COLOR |
private boolean |
colorSet |
private int |
duration |
private int |
durationOnUse |
private java.util.List<EffectInstance> |
effects |
private static DataParameter<java.lang.Boolean> |
IGNORE_RADIUS |
private LivingEntity |
owner |
private java.util.UUID |
ownerUniqueId |
private static DataParameter<IParticleData> |
PARTICLE |
private Potion |
potion |
private static org.apache.logging.log4j.Logger |
PRIVATE_LOGGER |
private static DataParameter<java.lang.Float> |
RADIUS |
private float |
radiusOnUse |
private float |
radiusPerTick |
private int |
reapplicationDelay |
private java.util.Map<Entity,java.lang.Integer> |
reapplicationDelayMap |
private int |
waitTime |
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, worldDUMMY| Constructor and Description |
|---|
AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> p_i50389_1_,
World p_i50389_2_) |
AreaEffectCloudEntity(World worldIn,
double x,
double y,
double z) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEffect(EffectInstance effect) |
IPacket<?> |
createSpawnPacket() |
int |
getColor() |
int |
getDuration() |
LivingEntity |
getOwner() |
IParticleData |
getParticleData() |
PushReaction |
getPushReaction() |
float |
getRadius() |
EntitySize |
getSize(Pose poseIn) |
void |
notifyDataManagerChange(DataParameter<?> key) |
protected void |
readAdditional(CompoundNBT compound) |
void |
recalculateSize() |
protected void |
registerData() |
void |
setColor(int colorIn) |
void |
setDuration(int durationIn) |
protected void |
setIgnoreRadius(boolean ignoreRadius) |
void |
setOwner(LivingEntity ownerIn) |
void |
setParticleData(IParticleData p_195059_1_) |
void |
setPotion(Potion potionIn) |
void |
setRadius(float radiusIn) |
void |
setRadiusOnUse(float radiusOnUseIn) |
void |
setRadiusPerTick(float radiusPerTickIn) |
void |
setWaitTime(int waitTimeIn) |
boolean |
shouldIgnoreRadius() |
void |
tick() |
private void |
updateFixedColor() |
protected void |
writeAdditional(CompoundNBT compound) |
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, attackEntityFrom, awardKillScore, baseTick, calculateUpVector, canBeAttackedWithItem, canBeCollidedWith, canBePushed, canBeRidden, canBeRiddenInWater, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getSelfAndPassengers, getServer, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYaw, getYOffset, handleFluidAcceleration, handlePistonMovement, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isActualySwimming, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, lookAt, makeFlySound, markVelocityChanged, maybeBackOffFromEdge, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onLivingFall, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, pick, playFlySound, playSound, playStepSound, playSwimSound, positionRider, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recenterBoundingBox, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, repositionDirectPassengers, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setHeadRotation, setInLava, setInvisible, setInvulnerable, setItemStackToSlot, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndRotationDirect, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSneaking, setSprinting, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, teleportKeepLoaded, toString, updateFallState, updatePassenger, updatePortal, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapability, getCapabilityprivate static final org.apache.logging.log4j.Logger PRIVATE_LOGGER
private static final DataParameter<java.lang.Float> RADIUS
private static final DataParameter<java.lang.Integer> COLOR
private static final DataParameter<java.lang.Boolean> IGNORE_RADIUS
private static final DataParameter<IParticleData> PARTICLE
private Potion potion
private final java.util.List<EffectInstance> effects
private final java.util.Map<Entity,java.lang.Integer> reapplicationDelayMap
private int duration
private int waitTime
private int reapplicationDelay
private boolean colorSet
private int durationOnUse
private float radiusOnUse
private float radiusPerTick
private LivingEntity owner
private java.util.UUID ownerUniqueId
public AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> p_i50389_1_, World p_i50389_2_)
public AreaEffectCloudEntity(World worldIn, double x, double y, double z)
protected void registerData()
registerData in class Entitypublic void setRadius(float radiusIn)
public void recalculateSize()
recalculateSize in class Entitypublic float getRadius()
public void setPotion(Potion potionIn)
private void updateFixedColor()
public void addEffect(EffectInstance effect)
public int getColor()
public void setColor(int colorIn)
public IParticleData getParticleData()
public void setParticleData(IParticleData p_195059_1_)
protected void setIgnoreRadius(boolean ignoreRadius)
public boolean shouldIgnoreRadius()
public int getDuration()
public void setDuration(int durationIn)
public void setRadiusOnUse(float radiusOnUseIn)
public void setRadiusPerTick(float radiusPerTickIn)
public void setWaitTime(int waitTimeIn)
public void setOwner(@Nullable
LivingEntity ownerIn)
@Nullable public LivingEntity getOwner()
protected void readAdditional(CompoundNBT compound)
readAdditional in class Entityprotected void writeAdditional(CompoundNBT compound)
writeAdditional in class Entitypublic void notifyDataManagerChange(DataParameter<?> key)
notifyDataManagerChange in class Entitypublic PushReaction getPushReaction()
getPushReaction in class Entitypublic IPacket<?> createSpawnPacket()
createSpawnPacket in class Entitypublic EntitySize getSize(Pose poseIn)