Package com.binaris.wizardry.api.client
Class ParticleBuilder
java.lang.Object
com.binaris.wizardry.api.client.ParticleBuilder
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowServer(boolean allow) collide(boolean collide) color(float r, float g, float b) color(int hex) color(int r, int g, int b) static ParticleBuildercreate(DeferredObject<net.minecraft.core.particles.SimpleParticleType> particle) static ParticleBuildercreate(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.util.RandomSource random, double x, double y, double z, double radius) static ParticleBuildercreate(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.util.RandomSource random, double x, double y, double z, double radius, boolean move) static ParticleBuildercreate(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.world.entity.Entity entity) entity(net.minecraft.world.entity.Entity entity) face(float yaw, float pitch) face(net.minecraft.core.Direction direction) fade(float r, float g, float b) fade(int hex) fade(int r, int g, int b) gravity(boolean value) length(double length) pos(double x, double y, double z) pos(net.minecraft.core.BlockPos pos) pos(net.minecraft.world.phys.Vec3 vec3d) scale(float scale) seed(long seed) shaded(boolean value) voidspawn(net.minecraft.world.level.Level world) static voidspawnHealParticles(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity) static voidspawnShockParticles(net.minecraft.world.level.Level world, double x, double y, double z) spin(double radius, double speed) target(double x, double y, double z) target(net.minecraft.world.entity.Entity target) target(net.minecraft.world.phys.Vec3 pos) time(int lifetime) tvel(double vx, double vy, double vz) tvel(net.minecraft.world.phys.Vec3 vel) velocity(double velocityX, double velocityY, double velocityZ) velocity(net.minecraft.world.phys.Vec3 vel)
-
Constructor Details
-
ParticleBuilder
public ParticleBuilder()
-
-
Method Details
-
create
public static ParticleBuilder create(DeferredObject<net.minecraft.core.particles.SimpleParticleType> particle) -
create
public static ParticleBuilder create(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.world.entity.Entity entity) -
create
public static ParticleBuilder create(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.util.RandomSource random, double x, double y, double z, double radius) -
create
public static ParticleBuilder create(DeferredObject<net.minecraft.core.particles.SimpleParticleType> type, net.minecraft.util.RandomSource random, double x, double y, double z, double radius, boolean move) -
spawnShockParticles
public static void spawnShockParticles(net.minecraft.world.level.Level world, double x, double y, double z) -
spawnHealParticles
public static void spawnHealParticles(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity) -
pos
-
pos
-
pos
-
time
-
velocity
-
velocity
-
scale
-
color
-
color
-
color
-
fade
-
fade
-
fade
-
seed
-
spin
-
collide
-
entity
-
face
-
face
-
allowServer
-
shaded
-
gravity
-
target
-
target
-
tvel
-
tvel
-
length
-
target
-
spawn
public void spawn(net.minecraft.world.level.Level world)
-