Basic test of a grinder recipe
This commit is contained in:
parent
dde849e19a
commit
98dd01697c
3 changed files with 15 additions and 0 deletions
|
@ -95,6 +95,9 @@ public class TechReborn {
|
|||
//Done like this to load them here
|
||||
ModFluids.values();
|
||||
|
||||
//Done to force the class to load
|
||||
ModRecipes.GRINDER.getName();
|
||||
|
||||
ClientboundPackets.init();
|
||||
ServerboundPackets.init();
|
||||
|
||||
|
|
|
@ -27,10 +27,14 @@ package techreborn.init;
|
|||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import net.minecraftforge.fluids.FluidUtil;
|
||||
import reborncore.api.recipe.RecipeHandler;
|
||||
import reborncore.common.crafting.Recipe;
|
||||
import reborncore.common.crafting.RecipeManager;
|
||||
import reborncore.common.crafting.RecipeType;
|
||||
import reborncore.common.registration.RebornRegister;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.api.Reference;
|
||||
|
@ -42,6 +46,9 @@ import techreborn.items.ItemCells;
|
|||
public class ModRecipes {
|
||||
|
||||
|
||||
public static final RecipeType<Recipe> GRINDER = RecipeManager.newRecipeType(Recipe.class, new ResourceLocation("techreborn:grinder"));
|
||||
|
||||
|
||||
|
||||
public static void init() {
|
||||
//Gonna rescan to make sure we have an uptodate list
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"type": "techreborn:grinder",
|
||||
"power": 10,
|
||||
"time": 123
|
||||
}
|
Loading…
Add table
Reference in a new issue