Skip to content

Mixer custom recipe misbehaving (1.19) #620

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

Closed
Abalieno opened this issue Nov 23, 2022 · 6 comments
Closed

Mixer custom recipe misbehaving (1.19) #620

Abalieno opened this issue Nov 23, 2022 · 6 comments
Labels
type: bug Issue where something isn't working

Comments

@Abalieno
Copy link

Abalieno commented Nov 23, 2022

Describe the Bug

I don't know if this is a skill issue, a probem of KubeJS, a problem with Create, or a problem with REI display of the recipe.

I'm trying to convert some kubejs scripts and recipes from 1.18. This one recipe works on 1.18.

On 1.19 I'm proceeding through a lot of trial and error since some things aren't working and KubeJS Create isn't out.

The script is currently working, but ignoring "count" on an item to be mixed (same for "compacting"). Same syntax on the "result" field instead works correctly. Only the inputs seem to ignore count.

The problem seems to be specific to Create mixing since using "count" elsewhere does work.

Reproduction Steps

ukik

This is the recipe I'm currently using. I commented out lines that were working on 1.18 but fail on 1.19

I've even tried other things but without success, the number of items is always ignored.

Same for the following, therefore I suspect it's a problem related to Create mixing recipes:

iluil

Expected Result

The first image shows 1.19, the second 1.18

There should be 20 of those rotten flash items.

Screenshots and Videos

yikttluil
tukyukrrr

Crash Report or Log

No response

Operating System

W10

Mod Version

0.5.0g

Minecraft Version

1.19.2

Other Mods

No response

Additional Context

No response

@Abalieno Abalieno added the type: bug Issue where something isn't working label Nov 23, 2022
@Abalieno
Copy link
Author

bad bot, it's 1.19 only

@TropheusJ
Copy link
Member

Try with a regular datapack recipe

@TropheusJ TropheusJ removed the 1.18 label Nov 23, 2022
@Abalieno
Copy link
Author

I've added the following to a json under /kubejs/data/create/recipes

{"type":"create:mixing","heatRequirement":"heated","ingredients":[{"count": 5, "item":"minecraft:obsidian"},{"item":"minecraft:ghast_tear"}],"results":[{"item":"minecraft:crying_obsidian"}]}

With the same outcome.

I guess you want me to try entirely outside of kubejs but I tried moving the recipe under paxi without luck. Not sure how it's done with standard data packs, I've only used kubejs forms.

@Abalieno
Copy link
Author

I managed to load the json through paxi, same behavior.

But then I also got a better idea, and added the json directly to the create.jar so it would be seen as a standard recipe.

...Same behavior.

@Abalieno
Copy link
Author

Abalieno commented Nov 27, 2022

I got a clever idea... and it works.

It should still be fixed properly I guess.

The following actually doesn't ignore count... since it doesn't use the count (can't ignore the count if it's not used...):

"ingredients": [{"item": "minecraft:obsidian"},{"item": "minecraft:obsidian"},{"item": "minecraft:obsidian"},{"item": "minecraft:obsidian"},{"item": "minecraft:obsidian"},{"item": "minecraft:ghast_tear"}],

This confirms it's not a display error, since this recipe shows properly in game.

@IThundxr IThundxr removed the 1.19 label Sep 18, 2024
@TropheusJ
Copy link
Member

counts are not read for inputs, this is how it behaves on forge too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants