Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Extra Alchemy Recipe ? NBT Tags? #24

Open
mmmilord opened this issue Sep 18, 2020 · 0 comments
Open

Compatibility with Extra Alchemy Recipe ? NBT Tags? #24

mmmilord opened this issue Sep 18, 2020 · 0 comments

Comments

@mmmilord
Copy link

mmmilord commented Sep 18, 2020

So there's a recipe in the mod EA that uses two ingredients, Splash Potion + Vial = Vial Potion, it is a recipe that functions normally in a crafting grid. Maybe because the potions have NBT tags, it's not being recognised out of the box with Primitive Crafting.

I used CraftTweaker with a script to add a custom recipe and it recognises it and works fine with your mod, however there are something like 40 potions, so writing it for every single one is a bit too much. Since it is a registered recipe that works in a crafting grid, surely there might be some way of your mod to hook it?

Here is a video with and without the script.

https://www.youtube.com/watch?v=rCcRSnkMyW4&feature=youtu.be

https://www.youtube.com/watch?v=V38giG8og4U&feature=youtu.be

`import crafttweaker.item.IItemStack;
var instanthVial = extraalchemy:breakable_potion:0.withTag({CustomPotionEffects: [{Ambient: 0 as byte, CurativeItems: [{id: "minecraft:milk_bucket", Count: 1, Damage: 0 as short}], ShowParticles: 1 as byte, Duration: 1, Id: 6 as byte, Amplifier: 1 as byte}], Potion: "minecraft:strong_healing"});

var instanthPotion = minecraft:splash_potion.onlyWithTag({Potion: "minecraft:strong_healing"});

var vial = extraalchemy:vial_break;

mods.primitivecrafting.addRecipe(instanthVial, vial, instanthPotion);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant