Class RiftSpec.Builder
java.lang.Object
net.ixdarklord.coolcatcanvas.api.client.vfx.RiftSpec.Builder
- Enclosing class:
RiftSpec
-
Method Summary
Modifier and TypeMethodDescriptionambientEvery(int ticks) build()color(int rgb) The edge and glow colour.particles(@Nullable ParticleSpec particles, float perTick) The motes drawn into the open rift, and how many a tick; null for none.shake(float degrees) silent()size(float width, float height) sounds(@Nullable net.minecraft.sounds.SoundEvent open, @Nullable net.minecraft.sounds.SoundEvent ambient, @Nullable net.minecraft.sounds.SoundEvent close) The three sounds; any may be null.timing(int openTicks, int closeTicks) volume(float volume)
-
Method Details
-
size
-
color
The edge and glow colour. The default motes take it too, unlessparticlesset others. -
timing
-
sounds
public RiftSpec.Builder sounds(@Nullable net.minecraft.sounds.SoundEvent open, @Nullable net.minecraft.sounds.SoundEvent ambient, @Nullable net.minecraft.sounds.SoundEvent close) The three sounds; any may be null. -
silent
-
ambientEvery
-
volume
-
particles
The motes drawn into the open rift, and how many a tick; null for none. -
shake
-
build
-