Builders - WarzouMc/ItemBuilder GitHub Wiki

ItemBuilder builders

  • ItemBuilder#toItemStack()

    Usage

    ItemStack itemStack = ItemBuilder().toItemStack();

    Out

    ItemStack

  • ItemBuilder#toJSONObject()

    Usage

    JSONObject jsonObject = ItemBuilder().toJSONObject();

    Out

    JSONObject

  • ItemBuilder#toString()

    Usage

    String itemBuilderString = ItemBuilder().toString();

    Out

    String

  • ItemBuilder#fromString(String string)

    Usage

    ItemBuilder itemBuilder = ItemBuilder().fromString(String String);

    Out

    ItemBuilder

    Caution

    For use this method the string parameter need have the exactly same composition of the toString() methode