Class BlockDropManager

java.lang.Object
org.sgrewritten.stargate.manager.BlockDropManager

public class BlockDropManager extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    disableBlockDrops(org.bukkit.block.Block block)
    Disable the block drops of the specified blocks if there is a present block util manager
    static void
    setProvider(@Nullable org.bukkit.plugin.RegisteredServiceProvider<dev.thorinwasher.blockutil.api.BlockUtilAPI> blockUtilProvider)
     

    Methods inherited from class java.lang.Object

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

    • setProvider

      public static void setProvider(@Nullable @Nullable org.bukkit.plugin.RegisteredServiceProvider<dev.thorinwasher.blockutil.api.BlockUtilAPI> blockUtilProvider)
      Parameters:
      blockUtilProvider -

      An provider of the block util library plugin

    • disableBlockDrops

      public static void disableBlockDrops(org.bukkit.block.Block block)
      Disable the block drops of the specified blocks if there is a present block util manager
      Parameters:
      block -

      Block to disable blocks from