KubeJS

KubeJS

61M Downloads

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

redmirax opened this issue ยท 0 comments

commented

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