public class SoulParticle extends CustomRotationParticle
| Modifier and Type | Class and Description |
|---|---|
static class |
SoulParticle.AnimationStage |
static class |
SoulParticle.Data |
static class |
SoulParticle.EndAnimation |
static class |
SoulParticle.ExpandingPerimeterData |
static class |
SoulParticle.LoopAnimation |
static class |
SoulParticle.PerimeterAnimation |
static class |
SoulParticle.PerimeterData |
static class |
SoulParticle.StartAnimation |
| Modifier and Type | Field and Description |
|---|---|
protected SoulParticle.AnimationStage |
animationStage |
protected int |
endFrames |
protected int |
endTicks |
protected int |
firstEndFrame |
protected int |
firstLoopFrame |
protected int |
firstStartFrame |
protected boolean |
isExpandingPerimeter |
protected boolean |
isPerimeter |
protected boolean |
isVisible |
protected int |
loopFrames |
protected int |
numLoops |
protected int |
perimeterFrames |
protected int |
startFrames |
protected int |
startTicks |
protected int |
ticksPerFrame |
protected int |
totalFrames |
loopLength, mirror| Constructor and Description |
|---|
SoulParticle(net.minecraft.client.world.ClientWorld worldIn,
double x,
double y,
double z,
double vx,
double vy,
double vz,
net.minecraft.client.particle.IAnimatedSprite spriteSet,
net.minecraft.particles.IParticleData data) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.vector.Quaternion |
getCustomRotation(net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks) |
void |
render(com.mojang.blaze3d.vertex.IVertexBuilder builder,
net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks) |
void |
setFrame(int frame) |
void |
tick() |
selectSpriteLoopingWithAgegetLightColor, getRenderType, setBaseAirFriction, setColor, setFadeColorgetU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeprotected int startTicks
protected int endTicks
protected int numLoops
protected int firstStartFrame
protected int startFrames
protected int firstLoopFrame
protected int loopFrames
protected int firstEndFrame
protected int endFrames
protected SoulParticle.AnimationStage animationStage
protected int totalFrames
protected int ticksPerFrame
protected boolean isPerimeter
protected boolean isExpandingPerimeter
protected boolean isVisible
protected int perimeterFrames
public SoulParticle(net.minecraft.client.world.ClientWorld worldIn,
double x,
double y,
double z,
double vx,
double vy,
double vz,
net.minecraft.client.particle.IAnimatedSprite spriteSet,
net.minecraft.particles.IParticleData data)
public void tick()
tick in class net.minecraft.client.particle.SimpleAnimatedParticlepublic void render(com.mojang.blaze3d.vertex.IVertexBuilder builder,
net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks)
render in class CustomRotationParticlepublic void setFrame(int frame)
public net.minecraft.util.math.vector.Quaternion getCustomRotation(net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks)
getCustomRotation in class CustomRotationParticle