Class CustomBlockManager


  • public class CustomBlockManager
    extends Object
    • Constructor Detail

      • CustomBlockManager

        public CustomBlockManager()
    • Method Detail

      • fromLocation

        public CustomBlock fromLocation​(org.bukkit.Location location)
      • fromBlock

        public CustomBlock fromBlock​(org.bukkit.block.Block block)
      • create

        public CustomBlock create​(org.bukkit.Location location,
                                  PackObject packObject,
                                  @Nullable
                                  @Nullable org.bukkit.entity.Player player)
        Parameters:
        location - The location where the custom block will be placed!
        packObject - The block config for the custom block
        player - The player who is placing the block
        Returns:
        Returns if it was placed!