Class CavesAndCliffsUtil

java.lang.Object
dev.esophose.playerparticles.util.CavesAndCliffsUtil

public class CavesAndCliffsUtil
extends java.lang.Object
For some reason the Classloader absolutely needs this to not be loaded for versions lower than 1.17. It really likes complaining about org.bukkit.Vibration$Destination being missing even before it's accessed. Edit: It also hates BlockDataMeta in 1.12 and below, so now that's in here too and the class is renamed to CavesAndCliffsUtil
  • Constructor Summary

    Constructors 
    Constructor Description
    CavesAndCliffsUtil()  
  • Method Summary

    Modifier and Type Method Description
    static void setLightLevel​(org.bukkit.inventory.meta.ItemMeta itemMeta, int level)  
    static void spawnParticles​(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • spawnParticles

      public static void spawnParticles​(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)
    • setLightLevel

      public static void setLightLevel​(org.bukkit.inventory.meta.ItemMeta itemMeta, int level)