Class HitFakeParticle

java.lang.Object
com.wdiscute.starcatcher.minigame.HitFakeParticle

public class HitFakeParticle extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    float
     
    float
     
    float
     
    int
     
    int
     
    org.joml.Vector2d
     
    float
     
    net.minecraft.resources.Identifier
     
    double
     
    static final net.minecraft.resources.Identifier
     
    org.joml.Vector2d
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HitFakeParticle(int x, int y, org.joml.Vector2d vec)
     
    HitFakeParticle(int x, int y, org.joml.Vector2d vec, float r, float g, float b, float a)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int width, int height)
     
    boolean
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TEXTURE

      public static final net.minecraft.resources.Identifier TEXTURE
    • r

      public float r
    • g

      public float g
    • b

      public float b
    • a

      public float a
    • pos

      public org.joml.Vector2d pos
    • speed

      public double speed
    • vecDirection

      public org.joml.Vector2d vecDirection
    • lifetime

      public int lifetime
    • maxLifetime

      public int maxLifetime
    • rl

      public net.minecraft.resources.Identifier rl
  • Constructor Details

    • HitFakeParticle

      public HitFakeParticle(int x, int y, org.joml.Vector2d vec)
    • HitFakeParticle

      public HitFakeParticle(int x, int y, org.joml.Vector2d vec, float r, float g, float b, float a)
  • Method Details

    • render

      public void render(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int width, int height)
    • tick

      public boolean tick()