Skip to content

fix: robot load position, XP on kill, hover step height, fire extinguish (BUG-038, NEW-131, NEW-132, NEW-139)#67

Open
ximaks00-hue wants to merge 7 commits into
akki697222:dev-MC1.20from
ximaks00-hue:fix/bug-038-new-131-139-core-gameplay
Open

fix: robot load position, XP on kill, hover step height, fire extinguish (BUG-038, NEW-131, NEW-132, NEW-139)#67
ximaks00-hue wants to merge 7 commits into
akki697222:dev-MC1.20from
ximaks00-hue:fix/bug-038-new-131-139-core-gameplay

Conversation

@ximaks00-hue

Copy link
Copy Markdown
Contributor

Summary

  • BUG-038: Restore robot world position on Computer.loadForServer via setWorldPosition(getBlockPos) — Original called proxy.robot.setPos(getPos). Without this, the internal robot block entity stays at (0,0,0) during machine initialization after chunk reload.
  • NEW-131: Fix kill XP gate — ItemStack.EMPTY != null in MC 1.20, so bare-handed kills incorrectly awarded XP. Use !getItem(0).isEmpty.
  • NEW-132: Restore default step height 0.6f when hover boots removed (MC 1.20 default); CE used 0.5f from 1.12.
  • NEW-139: Delegate extinguishFire to Level.extinguishFire(player, pos, side) like Original ExtendedWorld; CE only checked fire at agent feet.

Test plan

  • Reload chunk with running robot — verify machine/components see correct position
  • Robot kills mob with empty tool slot — no XP orb
  • Equip/remove hover boots — step height returns to vanilla 0.6
  • Agent extinguish() on adjacent fire block — fire removed like Original

…ish (BUG-038, NEW-131, NEW-132, NEW-139)

BUG-038: On Computer.loadForServer set proxy.robot world position like Original setPos(getPos). Machine init and kernel state relied on correct robot coordinates during reload.

NEW-131: ItemStack.EMPTY != null in 1.20; gate kill XP on !getItem(0).isEmpty so bare-handed kills no longer award XP.

NEW-132: Restore default player step height to 0.6f (MC 1.20 default) when hover boots removed; 0.5f was 1.12 default.

NEW-139: Delegate extinguishFire to Level.extinguishFire(player,pos,side) like Original ExtendedWorld instead of checking fire only at agent feet.
@ximaks00-hue ximaks00-hue force-pushed the fix/bug-038-new-131-139-core-gameplay branch from 86d8348 to 7bbafe5 Compare June 22, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants