类 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 -
构造器概要
构造器构造器说明VanillaParticleProxy(net.minecraft.resources.Identifier effekId, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double dx, double dy, double dz) Create a new instance of VanillaParticleProxy. -
方法概要
修饰符和类型方法说明voidextract(net.minecraft.client.renderer.state.level.QuadParticleRenderState particleTypeRenderState, net.minecraft.client.Camera camera, float partialTicks) net.minecraft.resources.IdentifierGet the effek id of this particle.Get the future of effek emitter of this particle.@NonNull net.minecraft.client.particle.ParticleRenderTypegetGroup()protected @NonNull net.minecraft.client.particle.SingleQuadParticle.LayergetLayer()voidmove()Override tick and call this if you want to make this emitter move.voidtick()从类继承的方法 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, isAlive, move, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
-
构造器详细资料
-
VanillaParticleProxy
public VanillaParticleProxy(net.minecraft.resources.Identifier effekId, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double dx, double dy, double dz) Create a new instance of VanillaParticleProxy.- 参数:
effekId- The Effek id.level- The client level instance.x- X positiony- Y positionz- Z positiondx- Vanilla X speed.dy- Vanilla Y speed.dz- Vanilla Z speed.- 从以下版本开始:
- 2.0.1 this constructor is public.
-
-
方法详细资料
-
getEffekId
public net.minecraft.resources.Identifier getEffekId()Get the effek id of this particle.- 返回:
- the effek id of this particle.
-
getEmitter
Get the future of effek emitter of this particle.- 返回:
- the future of the effek emitter of this particle.
- 从以下版本开始:
- 2.0.1
- Implementation Note:
- Effeks are loaded synchronized, immediately during constructor in MC versions below 26.2.
-
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
-