Package com.hbm_m.particle.nt
Class NukeTorex
java.lang.Object
com.hbm_m.particle.nt.ParticleNT
com.hbm_m.particle.nt.NukeTorex
Toroidal convection mushroom cloud effect
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<NukeTorex.Cloudlet>doubledoublebooleanbooleandoubledoubledoubleprotected floatdoubleprotected intFields inherited from class com.hbm_m.particle.nt.ParticleNT
age, alpha, bbHeight, bbWidth, bCol, dead, friction, gCol, gravity, horizontalCollision, level, lifetime, noClip, onGround, oRoll, quadSize, random, rCol, roll, speedUpWhenYMotionIsBlocked, verticalCollision, x, xd, xo, y, yd, yo, z, zd, zo -
Constructor Summary
ConstructorsConstructorDescriptionNukeTorex(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetAlpha()doubleintnet.minecraft.client.renderer.RenderTypedoublegetScale()doublevoidrender(com.mojang.blaze3d.vertex.VertexConsumer ignored, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack) voidrenderFlashOnly(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack) Рендер flash-частицы поверх остальных (по умолчанию пусто; NukeTorex переопределяет).setScale(float scale, boolean changeScale) setType(int type) voidtick()Methods inherited from class com.hbm_m.particle.nt.ParticleNT
getBoundingBox, getLightColor, move, remove, setBoundingBox, setLocationFromBoundingbox, setPos
-
Field Details
-
type
protected int type -
scale
protected float scale -
coreHeight
public double coreHeight -
convectionHeight
public double convectionHeight -
torusWidth
public double torusWidth -
rollerSize
public double rollerSize -
heat
public double heat -
lastSpawnY
public double lastSpawnY -
cloudlets
-
didPlaySound
public boolean didPlaySound -
didShake
public boolean didShake
-
-
Constructor Details
-
NukeTorex
public NukeTorex(net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classParticleNT
-
setScale
-
setType
-
getSimulationSpeed
public double getSimulationSpeed() -
getScale
public double getScale() -
getGreying
public double getGreying() -
getAlpha
public float getAlpha() -
getMaxAge
public int getMaxAge() -
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer ignored, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack) - Specified by:
renderin classParticleNT
-
renderFlashOnly
public void renderFlashOnly(net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.Camera camera, float partialTicks, com.mojang.blaze3d.vertex.PoseStack levelPoseStack) Description copied from class:ParticleNTРендер flash-частицы поверх остальных (по умолчанию пусто; NukeTorex переопределяет).- Overrides:
renderFlashOnlyin classParticleNT
-
getRenderType
public net.minecraft.client.renderer.RenderType getRenderType()- Specified by:
getRenderTypein classParticleNT
-