baritone
baritone copied to clipboard
`BlockChangeEvent` only triggers on batch changes
Some information
Minecraft version: 1.19.4 Baritone version: v1.9.2-56-g497fb7482 (https://github.com/cabaletta/baritone/commit/497fb74829febf5bcf48732fa03abb3b90662dcb) Other mods (if used): None
Exception, error or logs
None
How to reproduce
- Modify
GameEventHandlerto logBlockChangeEvents
@Override
public void onBlockChange(BlockChangeEvent event) {
+ logDirect("BlockChangeEvent");
+ event.getBlocks().stream().forEach(p -> {
+ logDirect(p.first() + " is now " + p.second());
+ });
if (Baritone.settings().repackOnAnyBlockChange.value) {
final boolean keepingTrackOf = event.getBlocks().stream()
- Join a (single player) world
- break or place a block
- No events logged
- Change a lot of blocks at once (e.g.
/fill ~ ~ ~ ~10 ~20 ~10 stone) - Events logged (I got one per affected subchunk)
Modified settings
None
Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, Baritone's version and Forge mods (if used).
- [x] I have included steps to reproduce the issue.
- [x] I have not pasted or written any OwO's or UwU's in this issue.