Interface BukkitBootstrapUtil


@NullMarked @Experimental public interface BukkitBootstrapUtil
Utility interface for specific bukkit types that may not need to be wrapped, but cannot safely be called during bootstrap.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new BlockData instance for the given material.
    Gets the current BukkitBootstrapUtil instance.
  • Method Details

    • createBlockData

      @AsOf("3.0.0") BlockData createBlockData(Material material)
      Creates a new BlockData instance for the given material.
      Parameters:
      material - the material to create a BlockData for
      Returns:
      a new BlockData instance for the given material
      Since:
      3.0.0
    • util

      @AsOf("3.0.0") static BukkitBootstrapUtil util()
      Gets the current BukkitBootstrapUtil instance.
      Returns:
      the current BukkitBootstrapUtil instance
      Since:
      3.0.0