Package net.minecraft.client.particle
Class EntityFX
- java.lang.Object
-
- net.zxmushroom63.plugins.BaseData
-
- net.zxmushroom63.plugins.PluginData
-
- net.minecraft.entity.Entity
-
- net.minecraft.client.particle.EntityFX
-
- All Implemented Interfaces:
org.teavm.jso.JSObject
- Direct Known Subclasses:
Barrier,EntityAuraFX,EntityBreakingFX,EntityBubbleFX,EntityCloudFX,EntityCrit2FX,EntityDiggingFX,EntityDropParticleFX,EntityEnchantmentTableParticleFX,EntityExplodeFX,EntityFirework.OverlayFX,EntityFirework.SparkFX,EntityFirework.StarterFX,EntityFishWakeFX,EntityFlameFX,EntityFootStepFX,EntityHeartFX,EntityHugeExplodeFX,EntityLargeExplodeFX,EntityLavaFX,EntityNoteFX,EntityParticleEmitter,EntityPickupFX,EntityPortalFX,EntityRainFX,EntityReddustFX,EntitySmokeFX,EntitySnowShovelFX,EntitySpellParticleFX,EntitySuspendFX,MobAppearance
public class EntityFX extends Entity
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.zxmushroom63.plugins.BaseData
BaseData.BooleanCallback, BaseData.BooleanCallbackArr, BaseData.DataBooleanCallback, BaseData.DataBooleanCallbackArr, BaseData.DataDoubleCallback, BaseData.DataDoubleCallbackArr, BaseData.DataFloatCallback, BaseData.DataFloatCallbackArr, BaseData.DataIntCallback, BaseData.DataIntCallbackArr, BaseData.DataObjectCallback, BaseData.DataObjectCallbackArr, BaseData.DataStringCallback, BaseData.DataStringCallbackArr, BaseData.DataVoidCallback, BaseData.DoubleCallback, BaseData.DoubleCallbackArr, BaseData.FloatCallback, BaseData.FloatCallbackArr, BaseData.IntCallback, BaseData.IntCallbackArr, BaseData.ObjectCallback, BaseData.ObjectCallbackArr, BaseData.StringCallback, BaseData.StringCallbackArr, BaseData.VoidCallback
-
-
Field Summary
Fields Modifier and Type Field Description static doubleinterpPosXstatic doubleinterpPosYstatic doubleinterpPosZprotected intparticleAgeprotected floatparticleAlphaprotected floatparticleBlueprotected floatparticleGravityprotected floatparticleGreenprotected EaglerTextureAtlasSpriteparticleIconprotected intparticleMaxAgeprotected floatparticleRedprotected floatparticleScaleprotected intparticleTextureIndexXprotected intparticleTextureIndexYprotected floatparticleTextureJitterXprotected floatparticleTextureJitterY-
Fields inherited from class net.minecraft.entity.Entity
addedToChunk, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_181016_an, field_181017_ao, field_181018_ap, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAttackWithItem()+ If returns false, the item will not inflict any damage against entities.protected booleancanTriggerWalking()+ returns if this entity triggers Block.onEntityWalking on the blocks they walk on.protected voidentityInit()floatgetAlpha()floatgetBlueColorF()intgetFXLayer()floatgetGreenColorF()floatgetRedColorF()EntityFXmultipleParticleScaleBy(float parFloat1)EntityFXmultiplyVelocity(float multiplier)voidnextTextureIndexX()voidonUpdate()+ Called to update the entity's position/logic.voidreadEntityFromNBT(NBTTagCompound tagCompund)+ (abstract) Protected helper method to read subclass entity data from NBT.booleanrenderAccelerated(IAcceleratedParticleEngine accelerator, Entity var2, float f, float f1, float f2, float f3, float f4, float f5)voidrenderParticle(WorldRenderer worldrenderer, Entity var2, float f, float f1, float f2, float f3, float f4, float f5)+ Renders the particlevoidsetAlphaF(float alpha)+ Sets the particle alpha (float)voidsetParticleIcon(EaglerTextureAtlasSprite icon)+ Sets the particle's icon.voidsetParticleTextureIndex(int particleTextureIndex)+ Public method to set private field particleTextureIndex.voidsetRBGColorF(float particleRedIn, float particleGreenIn, float particleBlueIn)java.lang.StringtoString()voidwriteEntityToNBT(NBTTagCompound tagCompound)+ (abstract) Protected helper method to write subclass entity data to NBT.-
Methods inherited from class net.minecraft.entity.Entity
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canCommandSenderUseCommand, canRenderOnFire, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, fromNBT, func_181012_aH, func_181013_g, func_181014_aG, func_181015_d, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getEyeHeight, getFlag, getHorizontalFacing, getHoverEvent, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getNBTTagCompound, getParts, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactAt, interactFirst, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, loadPluginData, makePluginData, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, replaceItemInInventory, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndRotation2, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldSetPosAfterLoading, spawnRunningParticles, toNBT, travelToDimension, updateFallState, updateRidden, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Methods inherited from class net.zxmushroom63.plugins.BaseData
execFuncBaseData, execFuncObject, execFuncString, getBaseData, getBaseDataArr, getBoolean, getBooleanArr, getByte, getByteArr, getChar, getCharArr, getDouble, getDoubleArr, getFloat, getFloatArr, getInt, getIntArr, getObject, getObjectArr, getShort, getShortArr, getString, getStringArr, has, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setCallbackBoolean, setCallbackBooleanArr, setCallbackBooleanArrWithDataArg, setCallbackBooleanWithDataArg, setCallbackDouble, setCallbackDoubleArr, setCallbackDoubleArrWithDataArg, setCallbackDoubleWithDataArg, setCallbackFloat, setCallbackFloatArr, setCallbackFloatArrWithDataArg, setCallbackFloatWithDataArg, setCallbackInt, setCallbackIntArr, setCallbackIntArrWithDataArg, setCallbackIntWithDataArg, setCallbackObject, setCallbackObjectArr, setCallbackObjectArrWithDataArg, setCallbackObjectWithDataArg, setCallbackString, setCallbackStringArr, setCallbackStringArrWithDataArg, setCallbackStringWithDataArg, setCallbackVoid, setCallbackVoidWithDataArg, setNull
-
-
-
-
Field Detail
-
particleTextureIndexX
protected int particleTextureIndexX
-
particleTextureIndexY
protected int particleTextureIndexY
-
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
-
particleAlpha
protected float particleAlpha
-
particleIcon
protected EaglerTextureAtlasSprite particleIcon
-
interpPosX
public static double interpPosX
-
interpPosY
public static double interpPosY
-
interpPosZ
public static double interpPosZ
-
-
Method Detail
-
multiplyVelocity
public EntityFX multiplyVelocity(float multiplier)
-
multipleParticleScaleBy
public EntityFX multipleParticleScaleBy(float parFloat1)
-
setRBGColorF
public void setRBGColorF(float particleRedIn, float particleGreenIn, float particleBlueIn)
-
setAlphaF
public void setAlphaF(float alpha)
+ Sets the particle alpha (float)
-
getRedColorF
public float getRedColorF()
-
getGreenColorF
public float getGreenColorF()
-
getBlueColorF
public float getBlueColorF()
-
getAlpha
public float getAlpha()
-
canTriggerWalking
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- Overrides:
canTriggerWalkingin classEntity
-
entityInit
protected void entityInit()
- Specified by:
entityInitin classEntity
-
onUpdate
public void onUpdate()
+ Called to update the entity's position/logic.
-
renderParticle
public void renderParticle(WorldRenderer worldrenderer, Entity var2, float f, float f1, float f2, float f3, float f4, float f5)
+ Renders the particle
-
renderAccelerated
public boolean renderAccelerated(IAcceleratedParticleEngine accelerator, Entity var2, float f, float f1, float f2, float f3, float f4, float f5)
-
getFXLayer
public int getFXLayer()
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound tagCompound)
+ (abstract) Protected helper method to write subclass entity data to NBT.- Specified by:
writeEntityToNBTin classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound tagCompund)
+ (abstract) Protected helper method to read subclass entity data from NBT.- Specified by:
readEntityFromNBTin classEntity
-
setParticleIcon
public void setParticleIcon(EaglerTextureAtlasSprite icon)
+ Sets the particle's icon.
-
setParticleTextureIndex
public void setParticleTextureIndex(int particleTextureIndex)
+ Public method to set private field particleTextureIndex.
-
nextTextureIndexX
public void nextTextureIndexX()
-
canAttackWithItem
public boolean canAttackWithItem()
+ If returns false, the item will not inflict any damage against entities.- Overrides:
canAttackWithItemin classEntity
-
-