类 VanillaParticleProxy

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

@Experimental public class VanillaParticleProxy extends net.minecraft.client.particle.Particle
A vanilla particle that plays and holds an Effek emitter.
  • 字段概要

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

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

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

    修饰符和类型
    方法
    说明
    net.minecraft.resources.ResourceLocation
    Get the effek id of this particle.
    @NotNull net.minecraft.client.particle.ParticleRenderType
     
    void
    Override tick and call this if you want to make this emitter move.
    void
    render(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks)
     
    void
     

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

    getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • VanillaParticleProxy

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

    • getEffekId

      public net.minecraft.resources.ResourceLocation 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
    • render

      @ParametersAreNonnullByDefault public void render(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks)
      指定者:
      render 在类中 net.minecraft.client.particle.Particle
    • getRenderType

      @NotNull public @NotNull net.minecraft.client.particle.ParticleRenderType getRenderType()
      指定者:
      getRenderType 在类中 net.minecraft.client.particle.Particle