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

Add recipes #5261

Open
1 task done
Echo69420 opened this issue Dec 22, 2022 · 7 comments
Open
1 task done

Add recipes #5261

Echo69420 opened this issue Dec 22, 2022 · 7 comments
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. good first issue An issue that would be good for a first-time contributor to make a PR for priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

Comments

@Echo69420
Copy link

Suggestion

Please add an easy way to check if an item is craftable. If you won't add this can you tell me how to do this? I made an issue on this before and I don't think it was in the right place. I just need items to be craftable

Why?

Personal server

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
@TheLimeGlass
Copy link
Collaborator

TheLimeGlass commented Dec 23, 2022

You cannot check if an itemstack is craftable. You would have to look through all the recipes and see if the item is involved in a recipe. Skript currently doesn't support recipes, so you'll have to use one of the many addons that support this feature since 1.8.

There currently isn't a suggestion focusing recipes exclusively, so i'll keep this open.

all normal recipe methods are 1.13 after an API change, the blocks that were added in the villager update 1.14+ like smoker, blast furnace etc, but smithing table was 1.16 same with granting. Paper event stone cutter is 1.17+ the other paper event is 1.15.

Implementation of this is complex to keep it simple. Pikachu has experimented with sections at #5204

@TheLimeGlass TheLimeGlass added enhancement Feature request, an issue about something that could be improved, or a PR improving something. priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements). labels Dec 23, 2022
@TheLimeGlass TheLimeGlass changed the title ITEM IS CRAFTABLE Add recipes Dec 23, 2022
@TheLimeGlass TheLimeGlass added the good first issue An issue that would be good for a first-time contributor to make a PR for label Dec 23, 2022
@Echo69420 Echo69420 reopened this Dec 24, 2022
@Echo69420
Copy link
Author

How would I see if the item is involved in a recipe? That was going to be my plan but I couldn't exactly figure it out. Please show me in "Skript terms." Thank you
(Not completed that was an accident)

@TheLimeGlass
Copy link
Collaborator

How would I see if the item is involved in a recipe? That was going to be my plan but I couldn't exactly figure it out. Please show me in "Skript terms." Thank you (Not completed that was an accident)

I told you, you can't currently. You have to use an addon to grab all the recipes on the server and see if it's craftable.

@Echo69420
Copy link
Author

So you’re saying hypothetically if it worked I would do that?

@Echo69420
Copy link
Author

Anyways can I have a little bit of help? How do I add specific items to a group and have it pick from that group (so obviously that group will be craftable)

@ShaneBeee
Copy link
Contributor

Anyways can I have a little bit of help? How do I add specific items to a group and have it pick from that group (so obviously that group will be craftable)

This is an issue tracker, not a help channel.
If you require help with how to use Skript, I recommend joining skUnity's Discord and taking advantage of the many help channels.

@Echo69420
Copy link
Author

Anyways can I have a little bit of help? How do I add specific items to a group and have it pick from that group (so obviously that group will be craftable)

This is an issue tracker, not a help channel. If you require help with how to use Skript, I recommend joining skUnity's Discord and taking advantage of the many help channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. good first issue An issue that would be good for a first-time contributor to make a PR for priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Projects
None yet
Development

No branches or pull requests

3 participants