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 Details

    • AbstractWorldParticleBuilder

      protected AbstractWorldParticleBuilder(net.minecraft.core.particles.ParticleType<Y> type)
  • Method Details

    • enableNoClip

      public T enableNoClip()
    • disableNoClip

      public T disableNoClip()
    • setNoClip

      public T setNoClip(boolean noClip)
    • setRenderType

      public T setRenderType(net.minecraft.client.particle.ParticleRenderType renderType)
    • setRandomMotion

      public T setRandomMotion(double maxSpeed)
    • setRandomMotion

      public T setRandomMotion(double maxHSpeed, double maxVSpeed)
    • setRandomMotion

      public T setRandomMotion(double maxXSpeed, double maxYSpeed, double maxZSpeed)
    • addMotion

      public T addMotion(com.mojang.math.Vector3f motion)
    • addMotion

      public T addMotion(net.minecraft.world.phys.Vec3 motion)
    • addMotion

      public T addMotion(double vx, double vy, double vz)
    • setMotion

      public T setMotion(com.mojang.math.Vector3f motion)
    • setMotion

      public T setMotion(net.minecraft.world.phys.Vec3 motion)
    • setMotion

      public T setMotion(double vx, double vy, double vz)
    • setRandomOffset

      public T setRandomOffset(double maxDistance)
    • setRandomOffset

      public T setRandomOffset(double maxHDist, double maxVDist)
    • setRandomOffset

      public T setRandomOffset(double maxXDist, double maxYDist, double maxZDist)
    • act

      public T act(Consumer<T> particleBuilderConsumer)
    • act

      public <K extends AbstractWorldParticleBuilder<K, Y>> T act(Class<K> type, Consumer<K> particleBuilderConsumer)
    • addActor

      public T addActor(Consumer<LodestoneWorldParticleActor> particleActor)
    • clearActors

      public T clearActors()
    • spawn

      public T spawn(net.minecraft.world.level.Level level, double x, double y, double z)
    • repeat

      public T repeat(net.minecraft.world.level.Level level, double x, double y, double z, int n)
    • 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

      public T spawnAtRandomFace(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • 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)