437470f9e7
Rename ItemHelper to ItemStackUtils Change the way OreStack identifies an OreStack from a list of itemstacks. Resolves #923 Added some more test cases to VanillaTestSuite
18 lines
751 B
Java
18 lines
751 B
Java
package com.pahimar.ee3.recipe;
|
|
|
|
import com.pahimar.ee3.api.recipe.RecipeRegistryProxy;
|
|
import net.minecraftforge.fluids.FluidContainerRegistry;
|
|
import net.minecraftforge.fluids.FluidContainerRegistry.FluidContainerData;
|
|
|
|
public class RecipesFluidContainers {
|
|
|
|
public void registerRecipes() {
|
|
|
|
for (FluidContainerData fluidContainerData : FluidContainerRegistry.getRegisteredFluidContainerData()) {
|
|
if (fluidContainerData.fluid != null && fluidContainerData.filledContainer != null && fluidContainerData.emptyContainer != null) {
|
|
RecipeRegistryProxy.addRecipe(fluidContainerData.filledContainer.copy(), fluidContainerData.fluid.copy(), fluidContainerData.emptyContainer.copy());
|
|
}
|
|
}
|
|
}
|
|
}
|