getting weird compiler error and i can't figure out whats wrong

Started by zippycat9 on

Topic category: Help with modding (Java Edition)

Last seen on 00:23, 27. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
getting weird compiler error and i can't figure out whats wrong

https://imgur.com/a/0TuJP5N

thats the blurb im using. it should take 2 coal (if available) and then remove it, and make iron in slot 1 right?

https://imgur.com/a/V17HkOh

heres what it spits out! 

any guidance would be super helpful.

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I see you use fabric…
Tue, 08/01/2023 - 10:58

I see you use fabric generator (which is not officially supported by mcreator so in theory u should ask plugin's creator), but provided error says that you possibly pass double (x, y, z) and game wants integers in procedure that gets amounts of items in slot from block. 

Try to round all coordinates (probably floor them to lower but im not sure) to get integer.