类 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 -
构造器概要
构造器限定符构造器说明protectedVanillaParticleProxy(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.ResourceLocationGet the effek id of this particle.@NotNull net.minecraft.client.particle.ParticleRenderTypevoidmove()Override tick and call this if you want to make this emitter move.voidrender(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks) voidtick()从类继承的方法 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
-
构造器详细资料
-
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
-