public class EntityFX extends Entity
Entity.EnumEntitySize| Modifier and Type | Field and Description |
|---|---|
static double |
interpPosX |
static double |
interpPosY |
static double |
interpPosZ |
protected int |
particleAge |
protected float |
particleAlpha
Particle alpha
|
protected float |
particleBlue
The blue amount of color.
|
protected float |
particleGravity |
protected float |
particleGreen
The green amount of color.
|
protected IIcon |
particleIcon
The icon field from which the given particle pulls its texture.
|
protected int |
particleMaxAge |
protected float |
particleRed
The red amount of color.
|
protected float |
particleScale |
protected int |
particleTextureIndexX |
protected int |
particleTextureIndexY |
protected float |
particleTextureJitterX |
protected float |
particleTextureJitterY |
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Modifier | Constructor and Description |
|---|---|
protected |
EntityFX(World p_i1218_1_,
double p_i1218_2_,
double p_i1218_4_,
double p_i1218_6_) |
|
EntityFX(World p_i1219_1_,
double p_i1219_2_,
double p_i1219_4_,
double p_i1219_6_,
double p_i1219_8_,
double p_i1219_10_,
double p_i1219_12_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAttackWithItem()
If returns false, the item will not inflict any damage against entities.
|
protected boolean |
canTriggerWalking()
returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to
prevent them from trampling crops
|
protected void |
entityInit() |
float |
getBlueColorF() |
int |
getFXLayer() |
float |
getGreenColorF() |
float |
getRedColorF() |
EntityFX |
multipleParticleScaleBy(float p_70541_1_) |
EntityFX |
multiplyVelocity(float p_70543_1_) |
void |
nextTextureIndexX() |
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
readEntityFromNBT(NBTTagCompound p_70037_1_)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
renderParticle(Tessellator p_70539_1_,
float p_70539_2_,
float p_70539_3_,
float p_70539_4_,
float p_70539_5_,
float p_70539_6_,
float p_70539_7_) |
void |
setAlphaF(float p_82338_1_)
Sets the particle alpha (float)
|
void |
setParticleIcon(IIcon p_110125_1_) |
void |
setParticleTextureIndex(int p_70536_1_)
Public method to set private field particleTextureIndex.
|
void |
setRBGColorF(float p_70538_1_,
float p_70538_2_,
float p_70538_3_) |
java.lang.String |
toString() |
void |
writeEntityToNBT(NBTTagCompound p_70014_1_)
(abstract) Protected helper method to write subclass entity data to NBT.
|
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalprotected int particleTextureIndexX
protected int particleTextureIndexY
protected float particleTextureJitterX
protected float particleTextureJitterY
protected int particleAge
protected int particleMaxAge
protected float particleScale
protected float particleGravity
protected float particleRed
protected float particleGreen
protected float particleBlue
protected float particleAlpha
protected IIcon particleIcon
public static double interpPosX
public static double interpPosY
public static double interpPosZ
protected EntityFX(World p_i1218_1_, double p_i1218_2_, double p_i1218_4_, double p_i1218_6_)
public EntityFX(World p_i1219_1_, double p_i1219_2_, double p_i1219_4_, double p_i1219_6_, double p_i1219_8_, double p_i1219_10_, double p_i1219_12_)
public EntityFX multiplyVelocity(float p_70543_1_)
public EntityFX multipleParticleScaleBy(float p_70541_1_)
public void setRBGColorF(float p_70538_1_,
float p_70538_2_,
float p_70538_3_)
public void setAlphaF(float p_82338_1_)
public float getRedColorF()
public float getGreenColorF()
public float getBlueColorF()
protected boolean canTriggerWalking()
canTriggerWalking in class Entityprotected void entityInit()
entityInit in class Entitypublic void onUpdate()
public void renderParticle(Tessellator p_70539_1_, float p_70539_2_, float p_70539_3_, float p_70539_4_, float p_70539_5_, float p_70539_6_, float p_70539_7_)
public int getFXLayer()
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT in class Entitypublic void setParticleIcon(IIcon p_110125_1_)
public void setParticleTextureIndex(int p_70536_1_)
public void nextTextureIndexX()
public boolean canAttackWithItem()
canAttackWithItem in class Entity