The Undergarden

The Undergarden

22M Downloads

[1.16.4] The Undergarden prevents Thermal Series Phyto-Soil from being tilled by hoes.

tplc10 opened this issue ยท 18 comments

commented

Relevant Mod versions:

  • Thermal Cultivation 1.0.5
  • The Undergarden 0.3.8
  • Forge 35.1.7
commented

That's absolutely the right page, yes. I add my blocks to the HOE_LOOKUP table and that is literally it.

What are you doing with hoes that could possibly break this behavior?

commented

I do that too! So I don't know :(

commented

image

commented

No... You are literally overwriting the entire map with your own.

commented

oh

commented

This is what I'm doing. Presumably you need to do a putAll instead and provide your map.

HoeItem.HOE_LOOKUP.put(BLOCKS.get(ID_PHYTOSOIL), BLOCKS.get(ID_PHYTOSOIL_TILLED).getDefaultState());

commented

Or, add your 3 blocks individually if it's just 3. Seems simple enough. :)

commented

ty for enlightening me

commented

i will fix this soon

commented

Sure thing :) Thanks for the quick fix!

commented

You're also doing the same thing with AXE_STRIPPING, just a heads up. You'll want to change that too.

commented

`AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.SMOGSTEM_LOG.get(), UGBlocks.STRIPPED_SMOGSTEM_LOG.get());
AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.SMOGSTEM_WOOD.get(), UGBlocks.STRIPPED_SMOGSTEM_WOOD.get());
AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.WIGGLEWOOD_LOG.get(), UGBlocks.STRIPPED_WIGGLEWOOD_LOG.get());
AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.WIGGLEWOOD_WOOD.get(), UGBlocks.STRIPPED_WIGGLEWOOD_WOOD.get());
AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.GRONGLE_STEM.get(), UGBlocks.STRIPPED_GRONGLE_STEM.get());
AxeItem.BLOCK_STRIPPING_MAP.put(UGBlocks.GRONGLE_HYPHAE.get(), UGBlocks.STRIPPED_GRONGLE_HYPHAE.get());

	HoeItem.HOE_LOOKUP.put(UGBlocks.DEEPTURF_BLOCK.get(), UGBlocks.DEEPSOIL_FARMLAND.get().getDefaultState());
	HoeItem.HOE_LOOKUP.put(UGBlocks.DEEPSOIL.get(), UGBlocks.DEEPSOIL_FARMLAND.get().getDefaultState());
	HoeItem.HOE_LOOKUP.put(UGBlocks.COARSE_DEEPSOIL.get(), UGBlocks.DEEPSOIL.get().getDefaultState());`
commented

well that didnt format properly

commented

nvm i don't know how to fix this

commented

Huh? No you were doing it right. It looked fine!

commented

Have you addressed this yet? The code that you posted would have worked just fine.

commented

Folks in my discord reported that Thermal Series is closed source which makes this issue practically impossible to figure out the cause of.

commented

Are you sure? I found this page which looks like the right one