Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #loader contenttweaker
- import mods.contenttweaker.VanillaFactory;
- import mods.contenttweaker.Block;
- import mods.contenttweaker.DropHandler;
- print("ContentTweaker – Loading Kvikk Lunsj Ore and Block of Kvikk Lunsj.zs");
- var kvikkLunsjOre = VanillaFactory.createBlock("kvikk_lunsj_ore", <blockmaterial:rock>);
- kvikkLunsjOre.setBlockHardness(2.5);
- kvikkLunsjOre.setBlockResistance(2.8);
- kvikkLunsjOre.setBlockSoundType(<soundtype:stone>);
- kvikkLunsjOre.setToolLevel(3);
- kvikkLunsjOre.setDropHandler(function(drops, world, position, state, item){
- drops.clear();
- drops.add(<item:contenttweaker:kvikk_lunsj_piece>);
- drops.add(<item:contenttweaker:kvikk_lunsj_piece> % 30);
- drops.add(<item:contenttweaker:kvikk_lunsj> % 6);
- drops.add(<item:contenttweaker:kvikk_lunsj_six_pack> % 1);
- });
- kvikkLunsjOre.register();
- var blockOfKvikkLunsj = VanillaFactory.createBlock("kvikk_lunsj_block", <blockmaterial:iron>);
- blockOfKvikkLunsj.setBlockHardness(4.5);
- blockOfKvikkLunsj.setBlockResistance(2);
- blockOfKvikkLunsj.setToolLevel(3);
- blockOfKvikkLunsj.register();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement