public class CustomRotationParticle
extends net.minecraft.client.particle.SimpleAnimatedParticle
| Modifier and Type | Field and Description |
|---|---|
protected int |
loopLength |
protected boolean |
mirror |
| Constructor and Description |
|---|
CustomRotationParticle(net.minecraft.client.world.ClientWorld worldIn,
double x,
double y,
double z,
net.minecraft.client.particle.IAnimatedSprite spriteSet,
float yAccel) |
| 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 |
selectSpriteLoopingWithAge(net.minecraft.client.particle.IAnimatedSprite sprite) |
getLightColor, getRenderType, setBaseAirFriction, setColor, setFadeColor, tickgetU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgepublic CustomRotationParticle(net.minecraft.client.world.ClientWorld worldIn,
double x,
double y,
double z,
net.minecraft.client.particle.IAnimatedSprite spriteSet,
float yAccel)
public void selectSpriteLoopingWithAge(net.minecraft.client.particle.IAnimatedSprite sprite)
public net.minecraft.util.math.vector.Quaternion getCustomRotation(net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks)
public void render(com.mojang.blaze3d.vertex.IVertexBuilder builder,
net.minecraft.client.renderer.ActiveRenderInfo camera,
float partialTicks)
render in class net.minecraft.client.particle.TexturedParticle