类 VanillaParticleProxy

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
mod.chloeprime.aaaparticles.api.client.util.VanillaParticleProxy

@Experimental public class VanillaParticleProxy extends net.minecraft.client.particle.SingleQuadParticle
A vanilla particle that plays and holds an Effek emitter.
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.client.particle.SingleQuadParticle

    net.minecraft.client.particle.SingleQuadParticle.FacingCameraMode, net.minecraft.client.particle.SingleQuadParticle.Layer

    从类继承的嵌套类/接口 net.minecraft.client.particle.Particle

    net.minecraft.client.particle.Particle.LifetimeAlpha
  • 字段概要

    从类继承的字段 net.minecraft.client.particle.SingleQuadParticle

    alpha, bCol, gCol, oRoll, quadSize, rCol, roll, sprite

    从类继承的字段 net.minecraft.client.particle.Particle

    bbHeight, bbWidth, friction, gravity, hasPhysics, level, lifetime, onGround, random, removed, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo
  • 构造器概要

    构造器
    修饰符
    构造器
    说明
    protected
    VanillaParticleProxy(net.minecraft.resources.Identifier effekId, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double dx, double dy, double dz)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    extract(net.minecraft.client.renderer.state.level.QuadParticleRenderState particleTypeRenderState, net.minecraft.client.Camera camera, float partialTicks)
     
    net.minecraft.resources.Identifier
    Get the effek id of this particle.
    @NonNull net.minecraft.client.particle.ParticleRenderType
     
    protected @NonNull net.minecraft.client.particle.SingleQuadParticle.Layer
     
    void
    Override tick and call this if you want to make this emitter move.
    void
     

    从类继承的方法 net.minecraft.client.particle.SingleQuadParticle

    extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getQuadSize, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toString

    从类继承的方法 net.minecraft.client.particle.Particle

    getBoundingBox, getLifetime, getLightCoords, getParticleLimit, getPos, isAlive, move, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
  • 构造器详细资料

    • VanillaParticleProxy

      protected VanillaParticleProxy(net.minecraft.resources.Identifier effekId, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double dx, double dy, double dz)
  • 方法详细资料

    • getEffekId

      public net.minecraft.resources.Identifier getEffekId()
      Get the effek id of this particle.
      返回:
      the effek id of this particle.
    • move

      public void move()
      Override tick and call this if you want to make this emitter move.
    • tick

      public void tick()
      覆盖:
      tick 在类中 net.minecraft.client.particle.Particle
    • getGroup

      public @NonNull net.minecraft.client.particle.ParticleRenderType getGroup()
      覆盖:
      getGroup 在类中 net.minecraft.client.particle.SingleQuadParticle
    • getLayer

      protected @NonNull net.minecraft.client.particle.SingleQuadParticle.Layer getLayer()
      指定者:
      getLayer 在类中 net.minecraft.client.particle.SingleQuadParticle
    • extract

      @ParametersAreNonnullByDefault public void extract(net.minecraft.client.renderer.state.level.QuadParticleRenderState particleTypeRenderState, net.minecraft.client.Camera camera, float partialTicks)
      覆盖:
      extract 在类中 net.minecraft.client.particle.SingleQuadParticle