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.ResourceLocation
     
    double
     
    static final net.minecraft.resources.ResourceLocation
     
    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.GuiGraphics guiGraphics, int width, int height)
     
    boolean
     

    Methods inherited from class java.lang.Object

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

    • TEXTURE

      public static final net.minecraft.resources.ResourceLocation 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.ResourceLocation 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.GuiGraphics guiGraphics, int width, int height)
    • tick

      public boolean tick()