Package net.minecraft.client.particle
Class Particle
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.client.particle.Particle
-
- Direct Known Subclasses:
ArrowCritParticle
,AuraParticle
,BlockCrackParticle
,BubbleParticle
,CloudParticle
,CritParticle
,DripParticle
,EnchantmentTableParticle
,ExplodeParticle
,FlameParticle
,FootstepParticle
,HeartParticle
,HugeExplosionParticle
,ItemBreakParticle
,LargeExplosionParticle
,LavaParticle
,NoteParticle
,PickupParticle
,PortalParticle
,RainParticle
,RedstoneParticle
,SmokeParticle
,SnowGolemParticle
,SpellParticle
,SuspendedParticle
@Client public class Particle extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description static double
interpPosX
static double
interpPosY
static double
interpPosZ
protected int
particleAge
protected float
particleBlue
protected float
particleGravity
protected float
particleGreen
protected int
particleMaxAge
protected float
particleRed
protected float
particleScale
protected float
particleTextureJitterX
protected float
particleTextureJitterY
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAttackWithItem()
protected boolean
canTriggerWalking()
protected void
entityInit()
void
func_40097_b(float var1, float var2, float var3)
float
func_40098_n()
float
func_40101_o()
float
func_40102_p()
Particle
func_405_d(float var1)
int
getFXLayer()
int
getParticleTextureIndex()
Particle
multiplyVelocity(float var1)
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
renderParticle(Tessellator var1, float var2, float var3, float var4, float var5, float var6, float var7)
void
setParticleTextureIndex(int var1)
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getShadowSize, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
particleTextureJitterX
protected float particleTextureJitterX
-
particleTextureJitterY
protected float particleTextureJitterY
-
particleAge
protected int particleAge
-
particleMaxAge
protected int particleMaxAge
-
particleScale
protected float particleScale
-
particleGravity
protected float particleGravity
-
particleRed
protected float particleRed
-
particleGreen
protected float particleGreen
-
particleBlue
protected float particleBlue
-
interpPosX
public static double interpPosX
-
interpPosY
public static double interpPosY
-
interpPosZ
public static double interpPosZ
-
-
Constructor Detail
-
Particle
public Particle(World var1, double var2, double var4, double var6, double var8, double var10, double var12)
-
-
Method Detail
-
multiplyVelocity
public Particle multiplyVelocity(float var1)
-
func_405_d
public Particle func_405_d(float var1)
-
func_40097_b
public void func_40097_b(float var1, float var2, float var3)
-
func_40098_n
public float func_40098_n()
-
func_40101_o
public float func_40101_o()
-
func_40102_p
public float func_40102_p()
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalking
in classEntity
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
renderParticle
public void renderParticle(Tessellator var1, float var2, float var3, float var4, float var5, float var6, float var7)
-
getFXLayer
public int getFXLayer()
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Specified by:
readEntityFromNBT
in classEntity
-
setParticleTextureIndex
public void setParticleTextureIndex(int var1)
-
getParticleTextureIndex
public int getParticleTextureIndex()
-
canAttackWithItem
public boolean canAttackWithItem()
- Overrides:
canAttackWithItem
in classEntity
-
-