SHARE
TWEET

Untitled

a guest Oct 21st, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import mods.dropt.Dropt;
  2. import crafttweaker.item.IItemStack;
  3.  
  4. val orecopper = {
  5.         "oreiron": ["minecraft:iron_ore","atum:iron_ore","erebus:ore_iron"  ]
  6. } as string[][string];
  7.  
  8. val dust = {
  9.         "dustiron": [<metallurgy:iron_dust>]
  10. } as IItemStack[][string];
  11.  
  12. val hammers = {
  13.         "hammers": [<vanillatools:tool.hammer_iron:*>,<vanillatools:tool.hammer_diamond:*>,<dungeontactics:stone_hammer:*>,<dungeontactics:iron_hammer:*>,<dungeontactics:golden_hammer:*>,<dungeontactics:diamond_hammer:*>,<dungeontactics:silver_hammer:*>,<dungeontactics:steel_hammer:*>,<dungeontactics:mithril_hammer:*>]
  14. } as IItemStack[][string];
  15.  
  16. Dropt.list("hammerore")
  17.     .priority(0)
  18.     .add(Dropt.rule()
  19.         .matchBlocks(orecopper["oreiron"])
  20.         .matchHarvester(Dropt.harvester()
  21.             .mainHand(hammers["hammers"])
  22.         )
  23.         .addDrop(Dropt.drop()
  24.             .items(dust["dustiron"])
  25.         )
  26.     );
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