You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a robot equiped with an experience upgrade in a Tier 3 upgrade container, as well as an internal trading upgrade. The aim is to have the robot trade with villagers and pick up the experience, leveling up the experience upgrade. This would then be rotated out to other robots.
Issue:
After executing a trade, experience orbs drop around the villagers. These are not picked up by the robot, unlike in mining, for example. Calling robot.suck() on the experience orbs does nothing either.
Expected behaviour:
The robot should automatically gain the experience resulting from an executed trade, if it has an experience upgrade.
Version information: OpenComputers-MC1.12.2-1.7.5.192
The text was updated successfully, but these errors were encountered:
Based on the existing code, there is no way to fix this problem without making breaking changes. I have an idea: add the ability to suck surrounding experience orbs to the robot. At the same time, modify the existing experience acquisition method and switch to using this solution to solve the problem.
@asiekierka What do you think? I have implemented the function of suck surrounding experience orbs, but it seems that the generation of experience orbs is delayed. Executing experience.suck immediately after completing a trade will cause the experience value of the previous trade to be sucked.
Edit: Robot mining does not seem to produce experience orbs. If this is the case, then there is no need to make any modifications to the existing OC code. Just merge this proactive absorption patch
Outline
I have a robot equiped with an experience upgrade in a Tier 3 upgrade container, as well as an internal trading upgrade. The aim is to have the robot trade with villagers and pick up the experience, leveling up the experience upgrade. This would then be rotated out to other robots.
Issue:
After executing a trade, experience orbs drop around the villagers. These are not picked up by the robot, unlike in mining, for example. Calling
robot.suck()
on the experience orbs does nothing either.Expected behaviour:
The robot should automatically gain the experience resulting from an executed trade, if it has an experience upgrade.
Version information:
OpenComputers-MC1.12.2-1.7.5.192
The text was updated successfully, but these errors were encountered: