Class LodestoneWorldParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
team.lodestar.lodestone.systems.particle.world.LodestoneWorldParticle
- Direct Known Subclasses:
FrameSetParticle,LodestoneItemCrumbParticle,LodestoneTerrainParticle
public class LodestoneWorldParticle
extends net.minecraft.client.particle.TextureSheetParticle
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.SingleQuadParticle.FacingCameraModeNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
net.minecraft.client.particle.Particle.LifetimeAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ColorParticleDataintfinal intfinal Collection<Consumer<LodestoneWorldParticle>> final net.minecraft.client.particle.ParticleRenderTypefinal GenericParticleDatafinal SpinParticleDatafinal net.minecraft.client.particle.ParticleEngine.MutableSpriteSetfinal Collection<Consumer<LodestoneWorldParticle>> final GenericParticleDataFields inherited from class net.minecraft.client.particle.TextureSheetParticle
spriteFields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSizeFields inherited from class net.minecraft.client.particle.Particle
age, alpha, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, level, lifetime, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo -
Constructor Summary
ConstructorsConstructorDescriptionLodestoneWorldParticle(net.minecraft.client.multiplayer.ClientLevel world, WorldParticleOptions options, net.minecraft.client.particle.ParticleEngine.MutableSpriteSet spriteSet, double x, double y, double z, double xd, double yd, double zd) -
Method Summary
Modifier and TypeMethodDescriptionintgetAge()floatgetAlpha()floatgetBlue()floatgetGreen()intintgetLightColor(float pPartialTick) floatgetORoll()net.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3floatgetQuadSize(float pScaleFactor) net.minecraft.util.RandomSourcefloatgetRed()net.minecraft.client.particle.ParticleRenderTypefloatgetRoll()floatgetU0()floatgetU1()floatgetV0()floatgetV1()com.mojang.blaze3d.vertex.VertexConsumergetVertexConsumer(com.mojang.blaze3d.vertex.VertexConsumer original) doublegetX()doubledoublegetXOld()doublegetY()doubledoublegetYOld()doublegetZ()doubledoublegetZOld()voidpickColor(float colorCoeff) voidpickSprite(int spriteIndex) voidrender(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks) voidsetParticlePosition(net.minecraft.world.phys.Vec3 pos) voidsetParticleSpeed(net.minecraft.world.phys.Vec3 speed) voidtick()voidtick(int times) protected voidMethods inherited from class net.minecraft.client.particle.TextureSheetParticle
pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getFacingCameraMode, getRenderBoundingBox, renderRotatedQuad, renderRotatedQuad, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
Field Details
-
renderType
public final net.minecraft.client.particle.ParticleRenderType renderType -
behavior
-
behaviorComponent
-
renderLayer
-
spriteSet
public final net.minecraft.client.particle.ParticleEngine.MutableSpriteSet spriteSet -
spritePicker
-
discardFunctionType
-
colorData
-
transparencyData
-
scaleData
-
spinData
-
tickActors
-
renderActors
-
particleLight
public final int particleLight -
lifeDelay
public int lifeDelay
-
-
Constructor Details
-
LodestoneWorldParticle
public LodestoneWorldParticle(net.minecraft.client.multiplayer.ClientLevel world, WorldParticleOptions options, net.minecraft.client.particle.ParticleEngine.MutableSpriteSet spriteSet, double x, double y, double z, double xd, double yd, double zd)
-
-
Method Details
-
getSpritePicker
-
getVertexConsumer
public com.mojang.blaze3d.vertex.VertexConsumer getVertexConsumer(com.mojang.blaze3d.vertex.VertexConsumer original) -
pickSprite
public void pickSprite(int spriteIndex) -
pickColor
public void pickColor(float colorCoeff) -
updateTraits
protected void updateTraits() -
getLightColor
public int getLightColor(float pPartialTick) - Overrides:
getLightColorin classnet.minecraft.client.particle.Particle
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.particle.Particle
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks) - Overrides:
renderin classnet.minecraft.client.particle.SingleQuadParticle
-
getRenderType
public net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderTypein classnet.minecraft.client.particle.Particle
-
getQuadSize
public float getQuadSize(float pScaleFactor) - Overrides:
getQuadSizein classnet.minecraft.client.particle.SingleQuadParticle
-
getU0
public float getU0()- Overrides:
getU0in classnet.minecraft.client.particle.TextureSheetParticle
-
getU1
public float getU1()- Overrides:
getU1in classnet.minecraft.client.particle.TextureSheetParticle
-
getV0
public float getV0()- Overrides:
getV0in classnet.minecraft.client.particle.TextureSheetParticle
-
getV1
public float getV1()- Overrides:
getV1in classnet.minecraft.client.particle.TextureSheetParticle
-
getRoll
public float getRoll() -
getORoll
public float getORoll() -
getRed
public float getRed() -
getGreen
public float getGreen() -
getBlue
public float getBlue() -
getAlpha
public float getAlpha() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getXOld
public double getXOld() -
getYOld
public double getYOld() -
getZOld
public double getZOld() -
getXMotion
public double getXMotion() -
getYMotion
public double getYMotion() -
getZMotion
public double getZMotion() -
getParticlePosition
public net.minecraft.world.phys.Vec3 getParticlePosition() -
setParticlePosition
public void setParticlePosition(net.minecraft.world.phys.Vec3 pos) -
getParticleSpeed
public net.minecraft.world.phys.Vec3 getParticleSpeed() -
setParticleSpeed
public void setParticleSpeed(net.minecraft.world.phys.Vec3 speed) -
getLifetime
public int getLifetime()- Overrides:
getLifetimein classnet.minecraft.client.particle.Particle
-
getAge
public int getAge() -
getRandom
public net.minecraft.util.RandomSource getRandom() -
tick
public void tick(int times)
-