Package net.minecraft.src
Class EntityDropParticleFX
java.lang.Object
net.minecraft.src.Entity
net.minecraft.src.EntityFX
net.minecraft.src.EntityDropParticleFX
-
Field Summary
FieldsFields inherited from class net.minecraft.src.EntityFX
interpPosX, interpPosY, interpPosZ, particleAge, particleAlpha, particleBlue, particleGravity, particleGreen, particleIcon, particleMaxAge, particleRed, particleScale, particleTextureIndexX, particleTextureIndexY, particleTextureJitterX, particleTextureJitterYFields inherited from class net.minecraft.src.Entity
addedToChunk, boundingBox, 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, lastGroundPosX, lastGroundPosY, lastGroundPosZ, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, nextBlockCheckDistance, 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 -
Constructor Summary
ConstructorsConstructorDescriptionEntityDropParticleFX(World par1World, double par2, double par4, double par6, Material par8Material) EntityDropParticleFX(World world, double x, double y, double z, Material material, int bobTimer, float red, float green, float blue, float alpha) Use this constructor to define custom color dropping particles -
Method Summary
Modifier and TypeMethodDescriptionfloatgetBrightness(float par1) Gets how bright this entity is.intgetBrightnessForRender(float par1) voidonUpdate()Called to update the entity's position/logic.Methods inherited from class net.minecraft.src.EntityFX
canAttackWithItem, canTriggerWalking, entityInit, getBlueColorF, getFXLayer, getGreenColorF, getRedColorF, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, readEntityFromNBT, renderParticle, setAlphaF, setParticleIcon, setParticleTextureIndex, setRBGColorF, toString, writeEntityToNBTMethods inherited from class net.minecraft.src.Entity
addComponent, addEntityCrashInfo, addToPlayerScore, addVelocity, appliesConstantForceWhenRidingBoat, applyEntityCollision, attackEntityFrom, attractsLightning, canBeCollidedWith, canBePushed, canCollideWithEntity, canEntityTriggerTripwire, canRenderOnFire, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityApplyToSpawnCap, doesEntityApplyToSquidPossessionCap, doesEntityNotTriggerPressurePlate, doesNotDismountInWater, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, flagAllWatchedObjectsDirty, flingAwayFromEntity, getAir, getAnimalKickMovementMultiplier, getBlockExplosionResistance, getBoundingBox, getCanBeHeadCrabbed, getCollisionBorderSize, getCollisionBox, getComponent, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityName, getEntityString, getEyeHeight, getFlag, getHeadCrabSharedAttackTarget, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getShadowSize, getTeleportDirection, getTranslatedEntityName, getUniqueID, getVisualBoundingBox, getXZDistanceSqToEntity, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hasComponent, hashCode, hasHeadCrabbedSquid, hitByEntity, initComponents, interactFirst, isAffectedByMovementModifiers, isBeingRainedOn, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInsideOpaqueBlock, isEntityInsideSuffocatingBlock, isEntityInsideSuffocatingBlock, isEntityInvulnerable, isImmuneToFire, isImmuneToHeadCrabDamage, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isItemEntity, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSecondaryTargetForSquid, isSneaking, isSprinting, isUsingSpecialKey, isValidOngoingAttackTargetForSquid, isValidZombieSecondaryTarget, isWet, kill, mountEntity, mountEntityRemote, moveEntity, moveFlying, movementModifierWhenRidingBoat, newDoubleNBTList, newFloatNBTList, notifyOfWolfHowl, onBlockDispenserConsume, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onFlungBySquidTentacle, onHeadCrabbedBySquid, onKickedByAnimal, onKillEntity, onPossessedRidingEntityDeath, onStruckByLightning, outOfUpdateRangeUpdate, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldExplodeBlock, shouldSetPosAfterLoading, shouldSetPositionOnLoad, travelToDimension, tryToSetFireToBlocksInContact, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Field Details
-
bobTimer
protected int bobTimerThe height of the current bob
-
-
Constructor Details
-
EntityDropParticleFX
-
EntityDropParticleFX
public EntityDropParticleFX(World world, double x, double y, double z, Material material, int bobTimer, float red, float green, float blue, float alpha) Use this constructor to define custom color dropping particles- Parameters:
world-x-y-z-material-bobTimer-red-green-blue-alpha-
-
-
Method Details
-
getBrightnessForRender
public int getBrightnessForRender(float par1) - Overrides:
getBrightnessForRenderin classEntity
-
getBrightness
public float getBrightness(float par1) Gets how bright this entity is.- Overrides:
getBrightnessin classEntity
-
onUpdate
public void onUpdate()Called to update the entity's position/logic.
-