Add smeltable items to fuel registry closes #2278
This commit is contained in:
parent
39a83dad48
commit
81f033ceec
2 changed files with 34 additions and 0 deletions
|
@ -93,6 +93,7 @@ public class TechReborn implements ModInitializer {
|
|||
TRDispenserBehavior.init();
|
||||
PoweredCraftingHandler.setup();
|
||||
UseBlockHandler.init();
|
||||
FuelRecipes.init();
|
||||
|
||||
Torus.genSizeMap(TechRebornConfig.fusionControlComputerMaxCoilSize);
|
||||
|
||||
|
|
33
src/main/java/techreborn/init/FuelRecipes.java
Normal file
33
src/main/java/techreborn/init/FuelRecipes.java
Normal file
|
@ -0,0 +1,33 @@
|
|||
package techreborn.init;
|
||||
|
||||
import net.fabricmc.fabric.impl.content.registry.FuelRegistryImpl;
|
||||
|
||||
// Class containing definitions of burnable materials
|
||||
public class FuelRecipes {
|
||||
public static void init() {
|
||||
FuelRegistryImpl registry = FuelRegistryImpl.INSTANCE;
|
||||
|
||||
// Basing it off https://minecraft.gamepedia.com/Furnace/table
|
||||
|
||||
// Rubber spam
|
||||
registry.add(TRContent.RUBBER_BUTTON, 300);
|
||||
registry.add(TRContent.RUBBER_LOG, 300);
|
||||
registry.add(TRContent.RUBBER_LOG_STRIPPED, 300);
|
||||
registry.add(TRContent.RUBBER_WOOD, 300);
|
||||
registry.add(TRContent.STRIPPED_RUBBER_WOOD, 300);
|
||||
registry.add(TRContent.RUBBER_PLANKS, 300);
|
||||
registry.add(TRContent.RUBBER_PLANK_SLAB, 150);
|
||||
registry.add(TRContent.RUBBER_FENCE, 300);
|
||||
registry.add(TRContent.RUBBER_FENCE_GATE, 300);
|
||||
registry.add(TRContent.RUBBER_PLANK_STAIR, 300);
|
||||
registry.add(TRContent.RUBBER_TRAPDOOR, 300);
|
||||
registry.add(TRContent.RUBBER_PRESSURE_PLATE, 300);
|
||||
registry.add(TRContent.RUBBER_DOOR, 200);
|
||||
registry.add(TRContent.RUBBER_SAPLING, 100);
|
||||
|
||||
|
||||
// Other stuff
|
||||
registry.add(TRContent.Machine.RESIN_BASIN, 300);
|
||||
registry.add(TRContent.Plates.WOOD, 300);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue