Better With Addons

Better With Addons

6M Downloads

Info on how to port this when I release the changes [1.13]

primetoxinz opened this issue ยท 0 comments

commented

if(RUSTY_MINESHAFTS)
MineshaftGeneration.rail = piece -> ModBlocks.RUSTY_RAIL.getDefaultState();
if(INFESTED_MINESHAFTS)
MineshaftGeneration.supports = piece -> ModBlocks.TERMITE_LOG.getDefaultState();

This can be changed to

MineshaftGenerator.MINESHAFT_CHANGER.clear();
MineshaftGenerator.MINESHAFT_CHANGER.addChanger(new IngredientChanger(fence, termite_log));
MINESHAFT_CHANGER.addChanger(new IngredientChanger(new StateIngredient(Blocks.RAIL), rusty_rails));