SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #loader contenttweaker
  2.  
  3. import mods.contenttweaker.VanillaFactory;
  4. import mods.contenttweaker.Item;
  5. import mods.contenttweaker.IItemGetContainerItem;
  6.  
  7. var brokenGrindstone = VanillaFactory.createItem("broken_grindstone");
  8. brokenGrindstone.setMaxStackSize(1);
  9. brokenGrindstone.register();
  10.  
  11. val newGrindstone = <item:contenttweaker:broken_grindstone>;
  12.  
  13. var gemDarkDiamond = VanillaFactory.createItem("dark_diamond");
  14. gemDarkDiamond.setGlowing(true);
  15. gemDarkDiamond.setRarity("RARE");
  16. gemDarkDiamond.register();
  17.  
  18. var grindstone = VanillaFactory.createItem("grindstone");
  19. grindstone.setMaxStackSize(1);
  20. grindstone.setItemGetContainerItem = function(stack) {
  21.     return newGrindstone;
  22. };
  23. grindstone.register();
  24.  
  25. var darkStick = VanillaFactory.createItem("dark_stick");
  26. darkStick.setGlowing(true);
  27. darkStick.setRarity("RARE");
  28. darkStick.register();
  29.  
  30. var darkDust = VanillaFactory.createItem("dark_diamond_dust");
  31. darkDust.setGlowing(true);
  32. darkDust.setRarity("RARE");
  33. darkDust.register();
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