Package org.sgrewritten.stargate.manager
Class BlockDropManager
java.lang.Object
org.sgrewritten.stargate.manager.BlockDropManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
disableBlockDrops
(org.bukkit.block.Block block) Disable the block drops of the specified blocks if there is a present block util managerstatic void
setProvider
(@Nullable org.bukkit.plugin.RegisteredServiceProvider<dev.thorinwasher.blockutil.api.BlockUtilAPI> blockUtilProvider)
-
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
-