KubeJS-Mods / KubeJS

https://kubejs.com
GNU Lesser General Public License v3.0
307 stars 90 forks source link

The code for hiding Fluids in Jei isn't working properly #818

Open redmirax opened 5 months ago

redmirax commented 5 months ago

Minecraft Version

1.20.1

KubeJS Version

2001.6.4-build.138

Rhino Version

2001.2.2-build.18

Architectury Version

9.2.14

Forge/Fabric Version

Forge 47.2.23

Describe your issue

So i was trying to hide Latex from Industrial foregoing (fluid not bucket) from Jei and the code was the following :

JEIEvents.hideFluids(event =>{ event.hide('industrialforegoing:latex') })

it didnt work until ive made a change to be like this : JEIEvents.hideFluids(event =>{ event.hide(Fluid.of('industrialforegoing:latex')) })

Crash report/logs

No response