Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #loader contenttweaker
- import mods.contenttweaker.VanillaFactory;
- import mods.contenttweaker.Block;
- //====Create Supply Crate====
- var SupplyCrate = VanillaFactory.createBlock("supply_crate", <blockmaterial:wood>);
- SupplyCrate.setBlockSoundType(<soundtype:wood>);
- SupplyCrate.setDropHandler(function(drops, world, position, state, fortune) {
- drops.clear();
- return;
- });
- SupplyCrate.register();
Advertisement
Add Comment
Please, Sign In to add comment