daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. player.getInventory().offer(ItemStack.builder()
  2.                 .itemType(Sponge.getRegistry().getType(ItemType.class, ConfigManager.getNode("Item", "Block").getString()).get())
  3.                 .add(Keys.DISPLAY_NAME, Texts.of(ConfigManager.getNode("Item", "Name").getString()))
  4.                 .add(Keys.ITEM_LORE, lore)
  5.                 .add(MyKeys.BOOL_ENABLED, false)
  6.                 .quantity(amount)
  7.                 .build());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top