forked from SteamWar/SteamWar
Add some of the Easter Particles
This commit is contained in:
@@ -24,6 +24,10 @@ public interface ParticleElement {
|
||||
return new Particle.DustOptions(randomColor(), randomSize());
|
||||
}
|
||||
|
||||
default Particle.DustOptions withColor(int r, int g, int b) {
|
||||
return new Particle.DustOptions(Color.fromRGB(r, g, b), randomSize());
|
||||
}
|
||||
|
||||
default void display(Location location, Player root, boolean onlySelf, boolean onlyOther, Consumer<Player> consumer) {
|
||||
if (onlySelf) {
|
||||
consumer.accept(root);
|
||||
|
||||
Reference in New Issue
Block a user