cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.28k stars 1.45k forks source link

Use temporal correlation to detect drops #4537

Open ZacSharp opened 3 weeks ago

ZacSharp commented 3 weeks ago

Describe your suggestion

When MineProcess breaks a target block and an item appears within x ticks, we want that item. No fancy loot table machinery. This does have the drawback of not detecting target items randomly lying around though.

Settings

We could make the detection delay configurable, but automatically adjusting it based on ping/tps would be better. A hybrid would also be possible: positive means fixed delay, zero means automatic.

Context

The current approach to detect drops requires loading loot tables client side and frequently leads to incompatibilities with other mods. It also misses drops in presence of enchantments like silk touch and cannot possibly work with server side loot table modifications (tough installing datapacks clientside could be made possible).

Alternatives

Final checklist