java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
com.simibubi.create.content.contraptions.fluids.particle.FluidStackParticle
Direct Known Subclasses:
BasinFluidParticle

public class FluidStackParticle extends net.minecraft.client.particle.TextureSheetParticle
  • Field Summary

    Fields inherited from class net.minecraft.client.particle.TextureSheetParticle

    sprite

    Fields inherited from class net.minecraft.client.particle.SingleQuadParticle

    quadSize

    Fields 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, stoppedByCollision, x, xd, xo, y, yd, yo, z, zd, zo
  • Constructor Summary

    Constructors
    Constructor
    Description
    FluidStackParticle(net.minecraft.client.multiplayer.ClientLevel world, net.minecraftforge.fluids.FluidStack fluid, double x, double y, double z, double vx, double vy, double vz)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    create(net.minecraft.core.particles.ParticleType<FluidParticleData> type, net.minecraft.client.multiplayer.ClientLevel world, net.minecraftforge.fluids.FluidStack fluid, double x, double y, double z, double vx, double vy, double vz)
     
    protected int
    getLightColor(float p_189214_1_)
     
    net.minecraft.client.particle.ParticleRenderType
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected void
    multiplyColor(int color)
     
    void
     

    Methods inherited from class net.minecraft.client.particle.TextureSheetParticle

    pickSprite, setSprite, setSpriteFromAge

    Methods inherited from class net.minecraft.client.particle.SingleQuadParticle

    getQuadSize, render, scale

    Methods inherited from class net.minecraft.client.particle.Particle

    getBoundingBox, getLifetime, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FluidStackParticle

      public FluidStackParticle(net.minecraft.client.multiplayer.ClientLevel world, net.minecraftforge.fluids.FluidStack fluid, double x, double y, double z, double vx, double vy, double vz)
  • Method Details

    • create

      public static FluidStackParticle create(net.minecraft.core.particles.ParticleType<FluidParticleData> type, net.minecraft.client.multiplayer.ClientLevel world, net.minecraftforge.fluids.FluidStack fluid, double x, double y, double z, double vx, double vy, double vz)
    • getLightColor

      protected int getLightColor(float p_189214_1_)
      Overrides:
      getLightColor in class net.minecraft.client.particle.Particle
    • multiplyColor

      protected void multiplyColor(int color)
    • getU0

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

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

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

      protected float getV1()
      Overrides:
      getV1 in class net.minecraft.client.particle.TextureSheetParticle
    • tick

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

      protected boolean canEvaporate()
    • getRenderType

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