Class ParticleNT

java.lang.Object
com.hbm_m.particle.nt.ParticleNT
Direct Known Subclasses:
MukeCloudParticle, MukeFlashParticle, MukeWaveParticle, NukeExplosionRings, NukeTorex

public abstract class ParticleNT extends Object
Custom particle base (not tied to vanilla ParticleEngine). Rendered by ParticleEngineNT after weather so effects are not clipped by depth.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    float
     
    protected float
     
    protected float
     
    float
     
    boolean
     
    protected float
     
    float
     
    float
     
    boolean
     
    protected final net.minecraft.client.multiplayer.ClientLevel
     
    int
     
    boolean
     
    boolean
     
    protected float
     
    float
     
    protected final net.minecraft.util.RandomSource
     
    float
     
    protected float
     
    protected boolean
     
    boolean
     
    double
     
    double
     
    double
     
    double
     
    double
     
    double
     
    double
     
    double
     
    double
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ParticleNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z)
     
     
    ParticleNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.AABB
     
    protected int
     
    abstract net.minecraft.client.renderer.RenderType
     
    void
    move(double x, double y, double z)
     
    void
     
    abstract void
    render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack)
     
    void
    renderFlashOnly(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack)
    Рендер flash-частицы поверх остальных (по умолчанию пусто; NukeTorex переопределяет).
    void
    setBoundingBox(net.minecraft.world.phys.AABB bb)
     
    protected void
     
    void
    setPos(double x, double y, double z)
     
    void
     

    Methods inherited from class java.lang.Object

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

    • level

      protected final net.minecraft.client.multiplayer.ClientLevel level
    • xo

      public double xo
    • yo

      public double yo
    • zo

      public double zo
    • x

      public double x
    • y

      public double y
    • z

      public double z
    • xd

      public double xd
    • yd

      public double yd
    • zd

      public double zd
    • quadSize

      public float quadSize
    • onGround

      public boolean onGround
    • noClip

      public boolean noClip
    • dead

      public boolean dead
    • bbWidth

      protected float bbWidth
    • bbHeight

      protected float bbHeight
    • random

      protected final net.minecraft.util.RandomSource random
    • age

      public int age
    • lifetime

      public int lifetime
    • gravity

      public float gravity
    • rCol

      public float rCol
    • gCol

      public float gCol
    • bCol

      public float bCol
    • alpha

      public float alpha
    • roll

      protected float roll
    • oRoll

      protected float oRoll
    • friction

      protected float friction
    • verticalCollision

      public boolean verticalCollision
    • horizontalCollision

      public boolean horizontalCollision
    • speedUpWhenYMotionIsBlocked

      protected boolean speedUpWhenYMotionIsBlocked
  • Constructor Details

    • ParticleNT

      protected ParticleNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z)
    • ParticleNT

      public ParticleNT(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
  • Method Details

    • tick

      public void tick()
    • render

      public abstract void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack)
    • renderFlashOnly

      public void renderFlashOnly(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack)
      Рендер flash-частицы поверх остальных (по умолчанию пусто; NukeTorex переопределяет).
    • getRenderType

      public abstract net.minecraft.client.renderer.RenderType getRenderType()
    • setPos

      public void setPos(double x, double y, double z)
    • move

      public void move(double x, double y, double z)
    • setLocationFromBoundingbox

      protected void setLocationFromBoundingbox()
    • getLightColor

      protected int getLightColor()
    • getBoundingBox

      public net.minecraft.world.phys.AABB getBoundingBox()
    • setBoundingBox

      public void setBoundingBox(net.minecraft.world.phys.AABB bb)
    • remove

      public void remove()