Class SoulParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.SimpleAnimatedParticle
com.simibubi.create.content.curiosities.bell.CustomRotationParticle
com.simibubi.create.content.curiosities.bell.SoulParticle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SoulParticle.AnimationStageprotected intprotected intprotected intprotected intprotected intprotected booleanprotected booleanprotected booleanprotected intprotected intprotected intprotected intprotected intprotected intprotected intFields inherited from class com.simibubi.create.content.curiosities.bell.CustomRotationParticle
loopLength, mirrorFields inherited from class net.minecraft.client.particle.SimpleAnimatedParticle
spritesFields inherited from class net.minecraft.client.particle.TextureSheetParticle
spriteFields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSizeFields inherited from class net.minecraft.client.particle.Particle
age, alpha, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, level, lifetime, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, stoppedByCollision, x, xd, xo, y, yd, yo, z, zd, zo -
Constructor Summary
ConstructorsConstructorDescriptionSoulParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double vx, double vy, double vz, net.minecraft.client.particle.SpriteSet spriteSet, net.minecraft.core.particles.ParticleOptions data) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.math.QuaterniongetCustomRotation(net.minecraft.client.Camera camera, float partialTicks) voidrender(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera camera, float partialTicks) voidsetFrame(int frame) voidtick()Methods inherited from class com.simibubi.create.content.curiosities.bell.CustomRotationParticle
selectSpriteLoopingWithAgeMethods inherited from class net.minecraft.client.particle.SimpleAnimatedParticle
getLightColor, getRenderType, setColor, setFadeColorMethods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getQuadSize, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
startTicks
protected int startTicks -
endTicks
protected int endTicks -
numLoops
protected int numLoops -
firstStartFrame
protected int firstStartFrame -
startFrames
protected int startFrames -
firstLoopFrame
protected int firstLoopFrame -
loopFrames
protected int loopFrames -
firstEndFrame
protected int firstEndFrame -
endFrames
protected int endFrames -
animationStage
-
totalFrames
protected int totalFrames -
ticksPerFrame
protected int ticksPerFrame -
isPerimeter
protected boolean isPerimeter -
isExpandingPerimeter
protected boolean isExpandingPerimeter -
isVisible
protected boolean isVisible -
perimeterFrames
protected int perimeterFrames
-
-
Constructor Details
-
SoulParticle
public SoulParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double vx, double vy, double vz, net.minecraft.client.particle.SpriteSet spriteSet, net.minecraft.core.particles.ParticleOptions data)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.particle.SimpleAnimatedParticle
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera camera, float partialTicks) - Overrides:
renderin classCustomRotationParticle
-
setFrame
public void setFrame(int frame) -
getCustomRotation
public com.mojang.math.Quaternion getCustomRotation(net.minecraft.client.Camera camera, float partialTicks) - Overrides:
getCustomRotationin classCustomRotationParticle
-