Package org.sgrewritten.stargate.manager
Class BlockDropManager
java.lang.Object
org.sgrewritten.stargate.manager.BlockDropManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisableBlockDrops(org.bukkit.block.Block block) Disable the block drops of the specified blocks if there is a present block util managerstatic voidsetProvider(@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
-