public class EntityFX extends Entity
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 Icon |
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, entityId, 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 par1World,
double par2,
double par4,
double par6) |
|
EntityFX(World par1World,
double par2,
double par4,
double par6,
double par8,
double par10,
double par12) |
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.
|
protected void |
entityInit() |
float |
getBlueColorF() |
int |
getFXLayer() |
float |
getGreenColorF() |
float |
getRedColorF() |
EntityFX |
multipleParticleScaleBy(float par1) |
EntityFX |
multiplyVelocity(float par1) |
void |
nextTextureIndexX() |
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
renderParticle(Tessellator par1Tessellator,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7) |
void |
setAlphaF(float par1)
Sets the particle alpha (float)
|
void |
setParticleIcon(Icon par1Icon) |
void |
setParticleTextureIndex(int par1)
Public method to set private field particleTextureIndex.
|
void |
setRBGColorF(float par1,
float par2,
float par3) |
java.lang.String |
toString() |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, getAir, getBlockExplosionResistance, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getTeleportDirection, getTranslatedEntityName, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldExplodeBlock, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
protected 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 Icon particleIcon
public static double interpPosX
public static double interpPosY
public static double interpPosZ
protected EntityFX(World par1World, double par2, double par4, double par6)
public EntityFX(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
public EntityFX multiplyVelocity(float par1)
public EntityFX multipleParticleScaleBy(float par1)
public void setRBGColorF(float par1, float par2, float par3)
public void setAlphaF(float par1)
public float getRedColorF()
public float getGreenColorF()
public float getBlueColorF()
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public void onUpdate()
public void renderParticle(Tessellator par1Tessellator, float par2, float par3, float par4, float par5, float par6, float par7)
public int getFXLayer()
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public void setParticleIcon(Icon par1Icon)
public void setParticleTextureIndex(int par1)
public void nextTextureIndexX()
public boolean canAttackWithItem()
canAttackWithItem
in class Entity