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
  • Field Details

  • 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:
      getLightColor in class net.minecraft.client.particle.Particle
    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.client.particle.Particle
    • render

      public void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks)
      Overrides:
      render in class net.minecraft.client.particle.SingleQuadParticle
    • shouldCull

      public boolean shouldCull()
      Overrides:
      shouldCull in class net.minecraft.client.particle.Particle
    • getRenderType

      public net.minecraft.client.particle.ParticleRenderType getRenderType()
      Specified by:
      getRenderType in class net.minecraft.client.particle.Particle
    • getQuadSize

      public float getQuadSize(float pScaleFactor)
      Overrides:
      getQuadSize in class net.minecraft.client.particle.SingleQuadParticle
    • getU0

      public float getU0()
      Overrides:
      getU0 in class net.minecraft.client.particle.TextureSheetParticle
    • getU1

      public float getU1()
      Overrides:
      getU1 in class net.minecraft.client.particle.TextureSheetParticle
    • getV0

      public float getV0()
      Overrides:
      getV0 in class net.minecraft.client.particle.TextureSheetParticle
    • getV1

      public float getV1()
      Overrides:
      getV1 in class net.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:
      getLifetime in class net.minecraft.client.particle.Particle
    • getAge

      public int getAge()
    • getRandom

      public net.minecraft.util.RandomSource getRandom()
    • tick

      public void tick(int times)