Package foundry.veil.api.quasar.particle
Class QuasarParticle
java.lang.Object
foundry.veil.api.quasar.particle.QuasarParticle
-
Constructor Summary
ConstructorDescriptionQuasarParticle
(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.util.RandomSource randomSource, TickTaskScheduler scheduler, QuasarParticleData data, ParticleModuleSet modules, ParticleSettings settings, ParticleEmitter emitter) -
Method Summary
Modifier and TypeMethodDescriptionint
getAge()
net.minecraft.core.BlockPos
net.minecraft.world.level.block.state.BlockState
net.minecraft.world.phys.AABB
getData()
gg.moonflower.molangcompiler.api.MolangEnvironment
net.minecraft.client.multiplayer.ClientLevel
getLevel()
int
org.joml.Vector3d
float
net.minecraft.util.RandomSource
org.joml.Vector3f
org.joml.Vector3d
void
init()
boolean
void
onRemove()
void
remove()
void
render
(float partialTicks) void
setAge
(int age) void
setRadius
(float radius) void
tick()
void
vectorToRotation
(double x, double y, double z)
-
Constructor Details
-
QuasarParticle
public QuasarParticle(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.util.RandomSource randomSource, TickTaskScheduler scheduler, QuasarParticleData data, ParticleModuleSet modules, ParticleSettings settings, ParticleEmitter emitter)
-
-
Method Details
-
init
@Internal public void init() -
tick
@Internal public void tick() -
render
@Internal public void render(float partialTicks) -
onRemove
@Internal public void onRemove() -
remove
public void remove() -
isRemoved
public boolean isRemoved() -
getLevel
public net.minecraft.client.multiplayer.ClientLevel getLevel() -
getRandomSource
public net.minecraft.util.RandomSource getRandomSource() -
getScheduler
-
getData
-
getSettings
-
getEmitter
-
getModules
-
getPosition
public org.joml.Vector3d getPosition() -
getBlockPosition
public net.minecraft.core.BlockPos getBlockPosition() -
getVelocity
public org.joml.Vector3d getVelocity() -
getBlockStateInOrUnder
public net.minecraft.world.level.block.state.BlockState getBlockStateInOrUnder() -
getRotation
public org.joml.Vector3f getRotation() -
getRadius
public float getRadius() -
getAge
public int getAge() -
getLifetime
public int getLifetime() -
getBoundingBox
public net.minecraft.world.phys.AABB getBoundingBox() -
getRenderData
-
getEnvironment
public gg.moonflower.molangcompiler.api.MolangEnvironment getEnvironment() -
vectorToRotation
public void vectorToRotation(double x, double y, double z) -
setRadius
public void setRadius(float radius) -
setAge
public void setAge(int age)
-