java.lang.Object
net.minecraft.client.particle.Particle
com.simibubi.create.content.contraptions.particle.CubeParticle

public class CubeParticle extends net.minecraft.client.particle.Particle
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.phys.Vec3[]
     
    protected boolean
     
    protected float
     

    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
    CubeParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    averageAge(int age)
     
    net.minecraft.client.particle.ParticleRenderType
     
    void
    render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera renderInfo, float p_225606_3_)
     
    void
    setHot(boolean hot)
     
    void
    setScale(float scale)
     
    void
     

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

    getBoundingBox, getLifetime, getLightColor, getParticleGroup, isAlive, move, remove, scale, 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
  • Field Details

    • CUBE

      public static final net.minecraft.world.phys.Vec3[] CUBE
    • scale

      protected float scale
    • hot

      protected boolean hot
  • Constructor Details

    • CubeParticle

      public CubeParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ)
  • Method Details

    • setScale

      public void setScale(float scale)
    • averageAge

      public void averageAge(int age)
    • setHot

      public void setHot(boolean hot)
    • tick

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

      public void render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera renderInfo, float p_225606_3_)
      Specified by:
      render 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