public class EntityAreaEffectCloud extends Entity
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<PotionEffect> |
effects |
private static DataParameter<java.lang.Boolean> |
IGNORE_RADIUS |
private EntityLivingBase |
owner |
private java.util.UUID |
ownerUniqueId |
private static DataParameter<java.lang.Integer> |
PARTICLE |
private static DataParameter<java.lang.Integer> |
PARTICLE_PARAM_1 |
private static DataParameter<java.lang.Integer> |
PARTICLE_PARAM_2 |
private PotionType |
potion |
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, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, updateBlocked, velocityChanged, width, world
Constructor and Description |
---|
EntityAreaEffectCloud(World worldIn) |
EntityAreaEffectCloud(World worldIn,
double x,
double y,
double z) |
addEntityCrashInfo, addPassenger, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, attackEntityFrom, awardKillScore, canBeAttackedWithItem, canBeCollidedWith, canBePushed, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canRiderInteract, canTrample, canTriggerWalking, canUseCommand, changeDimension, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, dismountRidingEntity, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCapability, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHorizontalFacing, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCapability, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCreatureType, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEntityUpdate, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, rayTrace, readFromNBT, registerFixes, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetEntityId, resetPositionToBB, sendCommandFeedback, sendMessage, serializeNBT, setAir, setAlwaysRenderNameTag, setCommandStat, setCommandStats, setCustomNameTag, setDead, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndRotationDirect, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, toString, turn, updateFallState, updatePassenger, updateRidden, writeToNBT, writeToNBTAtomically, writeToNBTOptional
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<java.lang.Integer> PARTICLE
private static final DataParameter<java.lang.Integer> PARTICLE_PARAM_1
private static final DataParameter<java.lang.Integer> PARTICLE_PARAM_2
private PotionType potion
private final java.util.List<PotionEffect> 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 EntityLivingBase owner
private java.util.UUID ownerUniqueId
public EntityAreaEffectCloud(World worldIn)
public EntityAreaEffectCloud(World worldIn, double x, double y, double z)
protected void entityInit()
entityInit
in class Entity
public void setRadius(float radiusIn)
public float getRadius()
public void setPotion(PotionType potionIn)
private void updateFixedColor()
public void addEffect(PotionEffect effect)
public int getColor()
public void setColor(int colorIn)
public EnumParticleTypes getParticle()
public void setParticle(EnumParticleTypes particleIn)
public int getParticleParam1()
public void setParticleParam1(int particleParam)
public int getParticleParam2()
public void setParticleParam2(int particleParam)
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 EntityLivingBase ownerIn)
@Nullable public EntityLivingBase getOwner()
protected void readEntityFromNBT(NBTTagCompound compound)
readEntityFromNBT
in class Entity
protected void writeEntityToNBT(NBTTagCompound compound)
writeEntityToNBT
in class Entity
public void notifyDataManagerChange(DataParameter<?> key)
notifyDataManagerChange
in class Entity
public EnumPushReaction getPushReaction()
getPushReaction
in class Entity