quat1024 / BotaniaTweaks

small tweaks to botania, such as nerfable mana fluxfields and automatable ender air
Mozilla Public License 2.0
6 stars 7 forks source link

JEI Only Shows Blocks With The Meta Of 0 #43

Closed TheLimePixel closed 5 years ago

TheLimePixel commented 5 years ago

This is supposed to be Scorched Grass, which has a meta of 3, but instead if shows Dry Grass which has a meta of 0. image

Hubry commented 5 years ago

https://github.com/quat1024/BotaniaTweaks/blob/0cf449f53f93263c1da0af91244a21926f21d160/src/main/java/quaternary/botaniatweaks/modules/shared/helper/MiscHelpers.java#L53

Basically no mod overrides that, only vanilla stuff, as Forge introduces a more sensitive version getPickBlock.

quat1024 commented 5 years ago

Doesn't getpickblock need things like a world, position, raytraceresult

Hubry commented 5 years ago

Yeh but this just doesn't get overridden literally anywhere so our best bet is like trying the pickblock with nulls and resorting to getMetaFromState on exception, or something (or a fake world but please no).

quat1024 commented 5 years ago

ok, this should be fixed in the next update thanks to hubry, thanks for reporting it!

image