Lumberjack Unable to Find Trees
djhajjar opened this issue · 15 comments
Prerequisites
- I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
- I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
- I made sure that this issue is not a duplicate of any existing issue.
Context
- Minecraft Version: 1.16.3
- MineColonies Version: 0.13.386-alpha
- Structurize Version: 0.13.92-alpha
- Related Mods and their Versions: No other mods would interface in this.
Expected behavior
Locate vanilla trees.
Actual behavior
Unable to locate trees.
Steps to reproduce the issue
- Have forester block on edge of colony border.
- Outside of border, grow vanilla tree. (in first encounter, 35 blocks away)
- At a further distance away from the forester, inside of the colony borders, grow another tree. (in first encounter 50 blocks away)
- Lumberjack appears to be in a "no tree found" state despite having a valid target within range.
Logs
No logs available
Notes
Only potential other mod that is interacting is Macaw's Bridges version 1.0.4-mc1.16.3 as a bridge has been placed to allow transversal over a ravine, but as demonstrated by a guard on patrol, a colonist is able to avoid the bridge altogether. Side note, colonists constantly jump on these bridges.
I am running a private server that is up 24/7 and can provide the twitch modpack and ip address if necessary.
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
Their second tree was inside the border
At a further distance away from the forester, inside of the colony borders, grow another tree. (in first encounter 50 blocks away)
I can look into this again. But with a brief glimpse at the code the search-code continues fine. There are some factors that can limit the search but overally the calc is pretty straightforward. What you could test is, if you remove the tree outside the borders, will the Lj take the tree in the 50 blocks distance?
Turned on the restriction mode and the LJ found the trees he couldn't find before; but his pathing was a direct beeline for it and would not find the paths that the others were taking. He was also unable to get to the location as the beeline would have him go outside of the border. Have to go for now.
Also ignored the waypoints I placed.