pjc21

supplyCrate.zs

May 14th, 2021
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #loader contenttweaker
  2.  
  3. import mods.contenttweaker.VanillaFactory;
  4. import mods.contenttweaker.Block;
  5.  
  6. //====Create Supply Crate====
  7. var SupplyCrate = VanillaFactory.createBlock("supply_crate", <blockmaterial:wood>);
  8. SupplyCrate.setBlockSoundType(<soundtype:wood>);
  9.  
  10. SupplyCrate.setDropHandler(function(drops, world, position, state, fortune) {
  11. drops.clear();
  12. return;
  13. });
  14.  
  15. SupplyCrate.register();
Advertisement
Add Comment
Please, Sign In to add comment