Class AbstractWorldParticleBuilder<T extends AbstractWorldParticleBuilder<T,Y>,Y extends AbstractWorldParticleOptions>
java.lang.Object
team.lodestar.lodestone.systems.particle.builder.AbstractParticleBuilder<T,Y>
team.lodestar.lodestone.systems.particle.builder.AbstractWorldParticleBuilder<T,Y>
- Direct Known Subclasses:
ItemCrumbParticleBuilder,SparkParticleBuilder,TerrainParticleBuilder,WorldParticleBuilder
public abstract class AbstractWorldParticleBuilder<T extends AbstractWorldParticleBuilder<T,Y>,Y extends AbstractWorldParticleOptions>
extends AbstractParticleBuilder<T,Y>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWorldParticleBuilder(net.minecraft.core.particles.ParticleType<Y> type) -
Method Summary
Modifier and TypeMethodDescription<K extends AbstractWorldParticleBuilder<K,Y>>
TaddActor(Consumer<LodestoneWorldParticleActor> particleActor) addMotion(double vx, double vy, double vz) addMotion(com.mojang.math.Vector3f motion) addMotion(net.minecraft.world.phys.Vec3 motion) createBlockOutline(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) createCircle(net.minecraft.world.level.Level level, double x, double y, double z, double distance, double currentCount, double totalCount) repeat(net.minecraft.world.level.Level level, double x, double y, double z, int n) repeatCircle(net.minecraft.world.level.Level level, double x, double y, double z, double distance, int times) repeatRandomFace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n) repeatSurroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n) repeatSurroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n, net.minecraft.core.Direction... directions) setMotion(double vx, double vy, double vz) setMotion(com.mojang.math.Vector3f motion) setMotion(net.minecraft.world.phys.Vec3 motion) setNoClip(boolean noClip) setRandomMotion(double maxSpeed) setRandomMotion(double maxHSpeed, double maxVSpeed) setRandomMotion(double maxXSpeed, double maxYSpeed, double maxZSpeed) setRandomOffset(double maxDistance) setRandomOffset(double maxHDist, double maxVDist) setRandomOffset(double maxXDist, double maxYDist, double maxZDist) setRenderType(net.minecraft.client.particle.ParticleRenderType renderType) spawn(net.minecraft.world.level.Level level, double x, double y, double z) spawnAtRandomFace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) spawnLine(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 one, net.minecraft.world.phys.Vec3 two) surroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction... directions) surroundVoxelShape(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int max) surroundVoxelShape(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.VoxelShape voxelShape, int max) Methods inherited from class team.lodestar.lodestone.systems.particle.builder.AbstractParticleBuilder
getColorData, getParticleOptions, getScaleData, getSpinData, getTransparencyData, modifyColorData, modifyData, modifyData, modifyData, modifyGravity, modifyLifetime, multiplyGravity, multiplyLifetime, setColorData, setDiscardFunction, setGravityStrength, setGravityStrength, setLifetime, setLifetime, setScaleData, setSpinData, setSpritePicker, setTransparencyData, wrapper
-
Constructor Details
-
AbstractWorldParticleBuilder
-
-
Method Details
-
enableNoClip
-
disableNoClip
-
setNoClip
-
setRenderType
-
setRandomMotion
-
setRandomMotion
-
setRandomMotion
-
addMotion
-
addMotion
-
addMotion
-
setMotion
-
setMotion
-
setMotion
-
setRandomOffset
-
setRandomOffset
-
setRandomOffset
-
act
-
act
public <K extends AbstractWorldParticleBuilder<K,Y>> T act(Class<K> type, Consumer<K> particleBuilderConsumer) -
addActor
-
clearActors
-
spawn
-
repeat
-
surroundBlock
public T surroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction... directions) -
repeatSurroundBlock
public T repeatSurroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n) -
repeatSurroundBlock
public T repeatSurroundBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n, net.minecraft.core.Direction... directions) -
surroundVoxelShape
public T surroundVoxelShape(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.shapes.VoxelShape voxelShape, int max) -
surroundVoxelShape
public T surroundVoxelShape(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int max) -
spawnAtRandomFace
-
repeatRandomFace
public T repeatRandomFace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, int n) -
createCircle
public T createCircle(net.minecraft.world.level.Level level, double x, double y, double z, double distance, double currentCount, double totalCount) -
repeatCircle
public T repeatCircle(net.minecraft.world.level.Level level, double x, double y, double z, double distance, int times) -
createBlockOutline
public T createBlockOutline(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
spawnLine
public T spawnLine(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 one, net.minecraft.world.phys.Vec3 two)
-