[PR #6932] [MERGED] Clear stale game2-004 rows main already implements #7206

Closed
opened 2026-11-03 06:35:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6932
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-game2-004.tsv


📝 Commits (1)

  • 9a868c0 Clear stale game2-004 rows main already implements

📊 Changes

1 file changed (+25 additions, -25 deletions)

View changed files

📝 tools/port_map/game2-004.tsv (+25 -25)

📄 Description

tools/port_map/game2-004.tsv: 25 rows cleared. No code change.

Piglins all cite crates/horizon-client/src/mobs/piglin.rs unless noted:

row now cites
Piglin.finishConversion port piglin.rs::ai_step - the conversion cancels the admire and drops the admired item (the rest of the carried inventory is still not scattered)
Piglin.getTopPassenger port mobs/riders.rs::top_passenger - the top of the passenger chain, capped at four on a hoglin
Piglin.getAmbientSound port piglin.rs::piglin_ambient
PiglinAi.getSoundForActivity port piglin.rs::piglin_sound - angry, retreat, admiring, celebrate, jealous, plain
PiglinAi.isNearAvoidTarget inline piglin.rs::piglin_sound - the avoid target within 12 blocks picks the retreat grunt
PiglinAi.initRideHoglinActivity inline piglin.rs::brain_step - the ride activity's behaviours: mount and dismount/skip
PiglinAi.babySometimesRideBabyHoglin port piglin.rs::baby_sometimes_ride_baby_hoglin
PiglinAi.isBabyRidingBaby port piglin.rs::is_baby_riding_baby
PiglinAi.cancelAdmiring port piglin.rs::stop_admiring
PiglinAi.wantsToStopRiding port piglin.rs::wants_to_stop_riding
PiglinAi.getAvoidTarget port piglin.rs::avoid_target
PiglinAi.broadcastRetreat port piglin.rs::broadcast_retreat
PiglinAi.retreatFromNearestTarget port piglin.rs::retreat_from_nearest
PiglinAi.wantsToStopFleeing port piglin.rs::wants_to_stop_fleeing
PiglinAi.hoglinsOutnumberPiglins port piglin.rs::hoglins_outnumber_piglins
PiglinAi.setAvoidTargetAndDontHuntForAWhile port piglin.rs::set_avoid_target_and_dont_hunt
PiglinAi.isPlayerHoldingLovedItem port piglin.rs::holds_loved

Riders and pickup, cited elsewhere:

row now cites
AbstractSkeleton.rideTick port game/passengers.rs::position_riders - a rider takes its vehicle's body yaw every tick
Drowned.rideTick port game/passengers.rs::position_riders
AbstractSkeleton.wantsToPickUp port mobs/equip.rs::wants_to_pick_up - spears refused
Drowned.wantsToPickUp port mobs/equip.rs::wants_to_pick_up - spears refused, then the zombie checks
Zombie.wantsToPickUp port mobs/equip.rs::wants_to_pick_up - glow ink sacs refused
Zombie.canHoldItem port mobs/equip.rs::wants_to_pick_up - a baby riding something leaves eggs alone
WitherSkeleton.canHoldItem port mobs/equip.rs::wants_to_pick_up - wither_skeleton_disliked_weapons refused
Zombie.onOffspringSpawnedFromEgg port mobs/finalize.rs::zombie - the 0.55 * special roll sets pick_up_loot, run for every non-conversion zombie spawn

Rows left alone: Vindicator.addAdditionalSaveData (vanilla saves the Johnny
flag, Horizon re-derives it from the name), Piglin.getSlot/startRiding
(300-and-up slots and the riding override are absent), the universal-anger
rows (universal_anger is read and never used), the warden anger save and
spawn-packet rows, WitherSkeleton.getArrow (nothing ignites an arrow for
100 seconds), Drowned.canReplaceCurrentItem (no nautilus-shell guard).

Validation, on the build VM:

python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/game2-004.tsv
150 rows, no problems.

Proven: 150 rows, no problems. (map-check build of the ledger, every class, method and file::fn in the file resolves).

Not proven: no in-game check; nothing here was run against a live world.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6932 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-game2-004.tsv` --- ### 📝 Commits (1) - [`9a868c0`](https://github.com/horizon-rust/horizon/commit/9a868c0751bcf70eeaeba2ca4e56458bf854d41d) Clear stale game2-004 rows main already implements ### 📊 Changes **1 file changed** (+25 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-004.tsv` (+25 -25) </details> ### 📄 Description `tools/port_map/game2-004.tsv`: 25 rows cleared. No code change. **Piglins** all cite `crates/horizon-client/src/mobs/piglin.rs` unless noted: | row | now | cites | | --- | --- | --- | | `Piglin.finishConversion` | port | `piglin.rs::ai_step` - the conversion cancels the admire and drops the admired item (the rest of the carried inventory is still not scattered) | | `Piglin.getTopPassenger` | port | `mobs/riders.rs::top_passenger` - the top of the passenger chain, capped at four on a hoglin | | `Piglin.getAmbientSound` | port | `piglin.rs::piglin_ambient` | | `PiglinAi.getSoundForActivity` | port | `piglin.rs::piglin_sound` - angry, retreat, admiring, celebrate, jealous, plain | | `PiglinAi.isNearAvoidTarget` | inline | `piglin.rs::piglin_sound` - the avoid target within 12 blocks picks the retreat grunt | | `PiglinAi.initRideHoglinActivity` | inline | `piglin.rs::brain_step` - the ride activity's behaviours: mount and dismount/skip | | `PiglinAi.babySometimesRideBabyHoglin` | port | `piglin.rs::baby_sometimes_ride_baby_hoglin` | | `PiglinAi.isBabyRidingBaby` | port | `piglin.rs::is_baby_riding_baby` | | `PiglinAi.cancelAdmiring` | port | `piglin.rs::stop_admiring` | | `PiglinAi.wantsToStopRiding` | port | `piglin.rs::wants_to_stop_riding` | | `PiglinAi.getAvoidTarget` | port | `piglin.rs::avoid_target` | | `PiglinAi.broadcastRetreat` | port | `piglin.rs::broadcast_retreat` | | `PiglinAi.retreatFromNearestTarget` | port | `piglin.rs::retreat_from_nearest` | | `PiglinAi.wantsToStopFleeing` | port | `piglin.rs::wants_to_stop_fleeing` | | `PiglinAi.hoglinsOutnumberPiglins` | port | `piglin.rs::hoglins_outnumber_piglins` | | `PiglinAi.setAvoidTargetAndDontHuntForAWhile` | port | `piglin.rs::set_avoid_target_and_dont_hunt` | | `PiglinAi.isPlayerHoldingLovedItem` | port | `piglin.rs::holds_loved` | **Riders and pickup**, cited elsewhere: | row | now | cites | | --- | --- | --- | | `AbstractSkeleton.rideTick` | port | `game/passengers.rs::position_riders` - a rider takes its vehicle's body yaw every tick | | `Drowned.rideTick` | port | `game/passengers.rs::position_riders` | | `AbstractSkeleton.wantsToPickUp` | port | `mobs/equip.rs::wants_to_pick_up` - spears refused | | `Drowned.wantsToPickUp` | port | `mobs/equip.rs::wants_to_pick_up` - spears refused, then the zombie checks | | `Zombie.wantsToPickUp` | port | `mobs/equip.rs::wants_to_pick_up` - glow ink sacs refused | | `Zombie.canHoldItem` | port | `mobs/equip.rs::wants_to_pick_up` - a baby riding something leaves eggs alone | | `WitherSkeleton.canHoldItem` | port | `mobs/equip.rs::wants_to_pick_up` - `wither_skeleton_disliked_weapons` refused | | `Zombie.onOffspringSpawnedFromEgg` | port | `mobs/finalize.rs::zombie` - the `0.55 * special` roll sets `pick_up_loot`, run for every non-conversion zombie spawn | Rows left alone: `Vindicator.addAdditionalSaveData` (vanilla saves the Johnny flag, Horizon re-derives it from the name), `Piglin.getSlot`/`startRiding` (300-and-up slots and the riding override are absent), the universal-anger rows (`universal_anger` is read and never used), the warden anger save and spawn-packet rows, `WitherSkeleton.getArrow` (nothing ignites an arrow for 100 seconds), `Drowned.canReplaceCurrentItem` (no nautilus-shell guard). Validation, on the build VM: python3 tools/port_ledger.py build --jar .../26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/game2-004.tsv 150 rows, no problems. **Proven:** `150 rows, no problems.` (map-check build of the ledger, every class, method and `file::fn` in the file resolves). **Not proven:** no in-game check; nothing here was run against a live world. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7206
No description provided.