Hey fellas, I'm creating new recipes using skript, I created a 1st recipe being 1 cobblestone in each craft-slot and a 2nd recipe being 1 "custom" cobblestone in each craft-slot. The problem with that is that if I put in a cobblestone in each of the craft-slots no matter if the cobblestone is custom or not, it will always give me the resulting item of the 1st recipe. How could I make the 2nd recipe give me something else than the 1st recipe? (with custom i'm referring to it having a custom name, lore, ...)
#2 custom recipes using the same recipe (but differend in a way)
1 messages · Page 1 of 1 (latest)
that is the way, very strange it's not doing that. have you tried restarting the server? glitches sometimes when loading recipes and you are still online
I tried restarting, it's still the same, it should give me "&9Supercompacted Cobblestone" and not "&aCompact Cobblestone".
try changing the first recipe from just cobblestone to plain cobblestone
it's still not working
this is very odd. i'm gonna do some testing, otherwise you may need to create an issue on the SkBee github
alright thanks
@maiden reef So I did some testing, created my own script, and here's what I discovered:
The recipes are working no issue, so the only thing I can think of is something is wrong with your item() function that is causing the recipe to display incorrectly
Tested using:
- SkBee 3.6.6
- Skript 2.9.5
- Minecraft 1.21.4
they're on 1.20.4 with the appropriate skript and skbee version, not sure if that would matter but we'll see
then I really don't know why your code isn't working, when mine tested fine. Again, only thing I can think of is your item() function returning the wrong item
you could try to wait a tick between the recipes to see if that helps
How did you create all the items?
i just used them by default: set {_cc} to cobblestone named "&aCompacted Cobblestone"
the item function just returns an item so it should work fine
like !give me item("compacted cobblestone") should work fine too
So whats the solution now?
probably update, or slightly change your code
we're updating to (at least) 1.21.1 soon and skript 2.10.1 and appropriate skbee and skript-reflect versions
thats not an insured solution tho