Enqueue cauldron interactions to prevent conflict with other mods
@@ -170,6 +170,7 @@ public final class TinkerFluids extends TinkerModule {
@SubscribeEvent
void commonSetup(final FMLCommonSetupEvent event) {
+ event.enqueueWork(() -> {
CauldronInteraction.WATER.put(splashBottle.get(), new FillBottle(Items.SPLASH_POTION));
CauldronInteraction.WATER.put(lingeringBottle.get(), new FillBottle(Items.LINGERING_POTION));
CauldronInteraction.WATER.put(Items.SPLASH_POTION, new EmptyBottleIntoWater(splashBottle, CauldronInteraction.WATER.get(Items.SPLASH_POTION)));
@@ -179,6 +180,7 @@ public final class TinkerFluids extends TinkerModule {
// brew bottles into each other, bit weird but feels better than shapeless
BrewingRecipeRegistry.addRecipe(new BottleBrewingRecipe(Ingredient.of(Items.GLASS_BOTTLE), Items.POTION, Items.SPLASH_POTION, new ItemStack(splashBottle)));
BrewingRecipeRegistry.addRecipe(new BottleBrewingRecipe(Ingredient.of(TinkerTags.Items.SPLASH_BOTTLE), Items.SPLASH_POTION, Items.LINGERING_POTION, new ItemStack(lingeringBottle)));
+ });
// dispense buckets
DispenseItemBehavior dispenseBucket = new DefaultDispenseItemBehavior() {
