#2 custom recipes using the same recipe (but differend in a way)

1 messages · Page 1 of 1 (latest)

maiden reef
#

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, ...)

merry carbon
#

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

maiden reef
#

I tried restarting, it's still the same, it should give me "&9Supercompacted Cobblestone" and not "&aCompact Cobblestone".

merry carbon
#

try changing the first recipe from just cobblestone to plain cobblestone

merry carbon
#

this is very odd. i'm gonna do some testing, otherwise you may need to create an issue on the SkBee github

maiden reef
#

alright thanks

merry carbon
#

@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
plush meteor
#

they're on 1.20.4 with the appropriate skript and skbee version, not sure if that would matter but we'll see

maiden reef
#

I think I'm getting spied on 😬

merry carbon
#

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

maiden reef
merry carbon
#

i just used them by default: set {_cc} to cobblestone named "&aCompacted Cobblestone"

plush meteor
#

like !give me item("compacted cobblestone") should work fine too

maiden reef
#

So whats the solution now?

merry carbon
#

probably update, or slightly change your code

plush meteor
#

we're updating to (at least) 1.21.1 soon and skript 2.10.1 and appropriate skbee and skript-reflect versions

maiden reef
#

thats not an insured solution tho