Skip to content

Commit

Permalink
Add recipe to fill the cauldron with water from an ice block
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Aug 13, 2018
1 parent 957c28f commit be08aec
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -163,7 +163,9 @@ public void init(FMLInitializationEvent event) {
proxy.init();

InspirationsRegistry.registerAnvilBreaking(Material.GLASS);
registerCauldronRecipes();
if(Config.enableCauldronRecipes) {
registerCauldronRecipes();
}
}

@Subscribe
Expand All @@ -174,6 +176,7 @@ public void postInit(FMLPostInitializationEvent event) {
}

private void registerCauldronRecipes() {
InspirationsRegistry.addCauldronRecipe(new FillCauldronRecipe(RecipeMatch.of(Blocks.ICE), FluidRegistry.WATER, InspirationsRegistry.getCauldronMax(), ItemStack.EMPTY, true, SoundEvents.ITEM_BUCKET_EMPTY_LAVA));
if(Config.spongeEmptyCauldron) {
InspirationsRegistry.addCauldronRecipe(SpongeEmptyCauldron.INSTANCE);
}
Expand Down

0 comments on commit be08aec

Please sign in to comment.