Otherworld Treese don't drop proper logs when vein mined.
dorn284 opened this issue ยท 4 comments
Describe the bug
When under the third eye effect, you can't "vein mine" the occult tree and get the correct wood. You get oak wood instead.
Have used Tree Harvester mod, Ars Nouveau Fel tree spell, and Ultimine.
To Reproduce
Steps to reproduce the behavior:
- Grow Otherworld tree
- Attempt to vein mine
- receive normal oak logs
Expected behavior
I would expect to receive the other world logs.
System (please complete the following information):
- Occultism Version: occultism-1.20.1-1.139.1.jar
- OS: Windows
- Minecraft Version: 1.20.1
- Modpack Link and Version, or list of mods:
Additional context
Have eaten the demon dream fruit and the otherworld essence when trying to vein mine. Have not tried using the goggles yet.
I am not sure if I can fix that on my end. The drop is determined based on the "playerDestroy" function of the block, and there it checks if the player has third eye effect to determine which block it represents (Oak as "hidden" state, or Otherworld wood if "visible")
Presumably the veinminer mods do not simulate this event on each destroyed block to save performance, which leads to Occultism not knowing that third eye is happening.
However, considering how old this mechanic is, it may now be possible to do the same with a loottable, which probably works with veinminers. I will look into that, if not we'll have to work with the veinminer mod makers to find a common solution
I did some tests here, Forge - 47.3.0 and occultism-1.20.1-1.139.1.jar
Works fine
- ftb-ultimine-forge-2001.1.5.jar
- veinmining-forge-1.5.0+1.20.1.jar (standalone enchantment mod)
Don't work and put the wrong sapling
- treeharvester-1.20.1-9.1.jar
Strange reactions
- ars_nouveau-1.20.1-4.12.4-all.jar
The Fell glyph really don't work, but the break glyph (also using AOE) work only with an occultism pickaxe in main hand
The goggles don't matter, only visual
That result is not too bad to be honest. Ars working with break is interesting because it means the tool is forwarded to the block, but not the player apparently maybe I don't know. But the pickaxe can harvest the logs even without the effect.