Advertisement
jayhillx

BLOCK_STRIPPING_MAP

Aug 6th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. public static void setup() {
  2. registerStrippedLog(ModBlock.DANDELION_LOG.get(), ModBlock.STRIPPED_DANDELION_LOG.get());
  3. registerStrippedLog(ModBlock.LEMON_LIME_LOG.get(), ModBlock.STRIPPED_LEMON_LIME_LOG.get());
  4. registerStrippedLog(ModBlock.SEAFOAM_LOG.get(), ModBlock.STRIPPED_SEAFOAM_LOG.get());
  5. registerStrippedLog(ModBlock.STRAWBERRRY_LOG.get(), ModBlock.STRIPPED_STRAWBERRY_LOG.get());
  6. registerStrippedLog(ModBlock.SWEET_STRAWBERRY_LOG.get(), ModBlock.STRIPPED_SWEET_STRAWBERRY_LOG.get());
  7. registerStrippedLog(ModBlock.LAVENDER_LOG.get(), ModBlock.STRIPPED_LAVENDER_LOG.get());
  8. registerStrippedLog(ModBlock.MYSTIC_LOG.get(), ModBlock.STRIPPED_MYSTIC_LOG.get());
  9. }
  10.  
  11. public static void registerStrippedLog(Block log, Block stripped_log) {
  12. AxeItem.BLOCK_STRIPPING_MAP = Maps.newHashMap(AxeItem.BLOCK_STRIPPING_MAP);
  13. AxeItem.BLOCK_STRIPPING_MAP.put(log, stripped_log);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement