mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-12-03 20:54:04 +07:00
Open
opened 2026-11-02 15:52:02 +07:00 by bsakaguchi
·
6 comments
No Branch/Tag specified
main
layers/tab-mark
layers/render-telemetry
automation/native-hook-stamp
layers/plan
bench/smp-perf-union3
bench/smp-perf-union2
perf/hopper-cart-item-columns
perf/guest-pickup-columns
perf/hopper-container-entity-columns
bench/smp-perf-union
perf/spawner-player-scans
perf/ticking-chunk-neighbours
pr-screenshots
nightly-state
nightly/build-2026-11-08-1
nightly/build-2026-11-08-2
agent/native-prebuilt-install
feat/shop-fortnite
agent/native-prebuilt-export
ci/runner-gc-busy-versioned-bin
nightly/build-2026-11-07-2
agent/cg69-11273-after-11457
nightly/build-2026-11-07-1
fix/storage-is-multiple-of
perf/name-tag-layout-cache-from-10328
perf/zlib-level-2
deploy/smp-profile
pvp/hud-layout
fix/launcher-uninstall-window
nightly/build-2026-11-05-3
nightly/build-2026-11-05-2
nightly/build-2026-11-05-1
fix/9382-review-fixes
deploy/r9-1-moderation
deploy/rtp1-8669
bench/site-2026-11-04
nightly/build-2026-11-04-3
screenshots/launcher-dezer
nightly/build-2026-11-04-2
dezer/partner
perf/spawn-start-palette
agent/rdbtcvs/server-preload-existing-world
agent/rdbtcvs/server-no-mesh-tables
screenshots/launcher-redesign-5
deploy/r8-1-slowtick-culprit
fix/8570-font-fishy-any
screenshots/lr6-audit
lr6/instance-defaults
nightly/build-2026-11-04-1
nightly/build-2026-11-03-3
nightly/build-2026-11-03-2
bench/stps1-diag
hotfix/r6-1-station-crash
bench/stps1-cart
perf/still-cart-collisions
fix/launcher-ko-hr-wardrobe
screenshots/launcher-redesign-4
perf/vulkan-pipeline-cache
perf/dx12-fxc-measure
perf/teleport-forget
perf/prebuild-lazy-pipelines
perf/mesh-view-first
perf/sync-data-once
perf/entity-skin-eyes
perf-jobs/pool
perf/gpu-solid-draws
perf/gpu-solid-lists
perf/upload-budget-follows-frame
perf/surface-rules-by-biome
perf/section-instances-once
nightly/build-2026-11-01-5
nightly/build-2026-11-03-1
bench/sp3-int
perf/cart-collisions-near
sweep-l/5696
sweep-l/5645
sweep-l/5644
sweep-l/5643
nightly/build-2026-11-01-4
bench/sp2-tags
mod-api-rework
bench/sp2-ovl-b
perf/world-prepare-overlap-b
nightly/build-2026-11-01-3
sweep-l/5513
sweep-l/5598
sweep-g/remerge-5696
sweep-g/remerge-5693
sweep-g/remerge-5645
sweep-g/remerge-5644
sweep-g/remerge-5643
nightly/build-2026-11-01-2
bench/sp2-prepare-times
nightly/build-2026-11-01-1
bench/sp2-props-count
bench/sp2-start-stages
perf/mimalloc-lazy-arena-commit
bench/sp2-lant
bench/sp2-lanb
bench/sp2-emk
perf/entity-models-wanted-keys
bench/sp2-mem-loaders
bench/sp2-mem-stages
bench/sp2-lan-spans
bench/sp2-stream-spans
fix/5326-remove-native-build
perf/decoration-order-lookups
perf/dedicated-world-preload
bench/sp2-rt-span
launcher-gpui-fast
bench/sp2-purge-env
feat/native-nicknames-stamped
perf/random-tick-reads-first
a3/fix-perf-bench-test
agent/finish-4958
hotfix/attack-arm
a2/fix-hub-attack
fix/audio-share-fields
feat/native-sidebar-stamped
perf/attr-ids
perf/mobs-move-back
bench/sp1-f5
bench/sp1-f4
bench/sp1-all
bench/sp1-f3
bench/sp1-f2
bench/sp1-f1
perf/net-events-list
fix/join-message-order
feat/smp-grief-hooks
feat/anticheat-speed
fix/server-floating-kick
bench/st2-f1
perf/spawn-placement-first
tools/bots-server-mix
tools/bots-view-time
debug/light-edge-4294
w5/data-file
perf/collision-shapes-w4
bench/sn-abuse
bench/sn-w4-scratch
bench/sn-w4-ladder
fix/remote-thrown-egg
union/pt3-w2
union/pt2-e3
union/wasm-removal
union/pt2-e2
union/pt2-e
union/pt2-c2
union/pt3-w1
triage/pt3-3106-check
union/pt2-c
union/pt3-5
triage/pt3-bisect-rest
triage/pt3-bisect-2608
triage/pt3-2960
ci/parity-incremental
union/pt3-4
union/pt3-3
union/pt2-a
union/pt1-wave1
triage/pt3-2608
union/pt3-2
triage/pt3-2586
triage/pt3-2544
launcher-java-inherits-abca441
launcher-java-play-99b52c2
launcher-native-auto-8ea9a2c
union/pt3-1
launcher-native-auto-f220157
union/cg29-2
union/cg29-1
launcher-delete-instance-cbacada
union/cg28-1
union/cg27-3
union/cg27-2
union/cg27-1
union/cs2-b9v2-3403
union/cs2-b9v2-2888
union/cs2-b9v2-3455
union/cs2-b9v2-text
launcher-java-command-c5221cc
launcher-java-command-266c457
launcher-join-40073ab
union/cs2-b9-2888
union/cs2-b9-e
union/cs2-b9-a
union/cs2-b9-c
launcher-java-command-a7841cc
launcher-any-version-e470f3a
launcher-java-instances-2034db1
launcher-any-version-d4120a9
launcher-any-version-795a0db
launcher-java-test-windows-75b8a17
union/cs1-b9-3048
union/cg24-u1
feat/mod-shaders-game
feat/mod-shader-check
feat/mod-storage-quota
union/cg19-r5
screenshots/nightly-1
union/cg19-r4
union/cg19-r3
union/cg19-r2
union/cg21-kacpherek-2
union/cg19-r1b
carry/2592-headless-capture
union/cg19-r1
screenshots/sculk-sidebar-2
fix/entity-nbt-duplicate-rabbit
union/cg19-a3
union/cg19-a2
cg19/union-bc
union/cg19-bc
cg21/union
union/cg21-kacpherek
feat/mods-lua
cg20/union-c
union/cg19-a
cg20/fusseltv-followups
cg20/union
screenshots/launcher-features
feat/launcher-packs
integ/cg17-w4
chore/site-redeploy-workflow
feat/sculk-banner
ci/playhorizon-parity-trial
feat/world-post-chain-hook
ci/desktop-parity-trial-3
ci/desktop-parity-trial-2
ci/desktop-parity-trial
perf/packed-storage-no-div
feat/native-shaders-sdk
pr-evidence/remove-shader-packs
pa1/remove-dh-mixins
fix/st-border
screenshots/reports-gate-2
perf/metal-occlusion-cull
fix/macos-uncapped-redraw
screenshots/perf-rd32-1190
perf/visible-bucket-sort
screenshots/shaders-1
perf/screen-overlay-wrap
screenshots/menus-vanilla
screenshots/design-gaming-website
screenshots/design-gaming
feat/horizon-shaders-rust
feat/horizon-shaders-v1
feat/shader-pack-options
perf/metal-multi-draw
perf/random-tick-reads
screenshots/update-channels
screenshots/f2b-resource-packs
integ/w2
screenshots/f2a-resource-packs
feat/codemods-1
screenshots/live-count
perf/random-tick-batches
feat/raytracing-spike
screenshots/platform-batch
integ/w1
fix/main-moving-block-tint
screenshots/f3-dynamic-lights
screenshots/f1-shaders
docs/perf-comparison-v2
screenshots/q2-parity-entities-audio
screenshots/q1-parity-ui
screenshots/p4-worldgen-chunks
screenshots/b2-rendering
screenshots/perf-frame-cost
feat/companion-safety
feat/companion-polish2
feat/companion-route
feat/companion-nether
integ/contrib-10-21
feat/companion-planner
feat/companion-end
feat/companion-polish
feat/companion-integ
feat/companion-voices
feat/companion-engine
feat/companion-skills
feat/companion-body
feat/companion-brain
feat/companion-senses
feat/companion
screenshots/launcher-servers
perf/lod-side-faces
perf/section-occlusion-cull
perf/compact-terrain-vertex-20byte
fix/server-thread-default
perf/chunk-occupied-columns
media/modpacks-launcher
fix/server-game-rules-page
review/contrib-review-1-startup-batch
fix/f3-network-counters
fix/clouds-cached-mesh
fix/remesh-tail
feat/vaults
pr-evidence/291
pr-evidence/287
pr-evidence/285
feat/perf-comparison
pr-evidence/238
design-review
fix/particles-63-missing-types
t3/achieve-full-parity
prepare-fix
graphics
launcher-0.1.2
game-bugs
feel
menus
cleanup
launcher
parity/screens
parity/leftovers
parity/server-leftovers
parity/menus-golem
parity/platform-maths
parity/save-roundtrip
parity/old-saves
parity/old-saves-flat
parity/warden-sculk
parity/spawn-gear
parity/rendering-gaps
parity/dedicated-server
parity/villager-social
parity/render-distance
parity/mobs-b
parity/block-followups
parity/mobs-a
parity/score-subtitles
parity/loom-crafter
parity/tablist-border
parity/raids
parity/tooling
parity/rendering-be
parity/hud
parity/entity-ai
parity/rendering-anim
parity/rendering-hud
parity/saves
parity/blocks
parity/loot-spawn
parity/multiplayer
parity/input
parity/assets
ci/ludodesktop-runner
launcher@0.2.56
launcher@0.2.55
launcher@0.2.54
launcher@0.2.53
launcher@0.2.52
launcher@0.2.51
nightly-source/2026-11-08-fdc87ae
nightly
launcher@0.2.50
nightly-2026-11-07
nightly-source/2026-11-07-2ebf00a
nightly-source/2026-11-07-6560641
launcher@0.2.49
launcher@0.2.48
launcher@0.2.47
launcher@0.2.46
launcher@0.2.45
launcher@0.2.44
launcher@0.2.43
nightly-2026-11-05
nightly-source/2026-11-05-66f3981
nightly-source/2026-11-05-38609b7
nightly-source/2026-11-05-f319701
launcher@0.2.42
launcher@0.2.41
launcher@0.2.40
nightly-2026-11-04
nightly-source/2026-11-04-6475f62
nightly-source/2026-11-04-3fb4c31
launcher@0.2.39
launcher@0.2.38
nightly-source/2026-11-04-67dad0d
nightly-2026-11-03
nightly-source/2026-11-03-2944480
nightly-source/2026-11-03-f42ef42
launcher@0.2.37
launcher@0.2.36
launcher@0.2.35
launcher@0.2.34
nightly-2026-11-01
nightly-source/2026-11-01-c9d474d
nightly-source/2026-11-01-4aa6854
nightly-source/2026-11-01-8c02c0b
launcher@0.2.33
nightly-source/2026-11-01-07b7ea3
launcher@0.2.32
nightly-source/2026-10-31-d91cab6
nightly-source/2026-10-31-aa27eca
launcher@0.2.31
nightly-source/2026-10-31-68ac6f6
nightly-source/2026-10-31-9d979ca
nightly-source/2026-10-31-7635280
nightly-source/2026-10-31-7aa0e28
launcher@0.2.30
launcher@0.2.29
nightly-source/2026-10-30-1da354b
nightly-source/2026-10-30-587f81f
nightly-source/2026-10-30-41672b1
nightly-source/2026-10-30-ba6344a
nightly-source/2026-10-30-fbd7288
nightly-source/2026-10-30-a99ef86
nightly-source/2026-10-30-33f417f
nightly-source/2026-10-30-df583d3
nightly-source/2026-10-30-a46ce68
launcher@0.2.28
nightly-source/2026-10-29-a305d38
launcher@0.2.27
nightly-source/2026-10-29-baa379d
nightly-source/2026-10-29-d009ebd
nightly-source/2026-10-29-64e2989
nightly-source/2026-10-29-a491181
launcher@0.2.26
nightly-source/2026-10-29-45ecf7b
launcher@0.2.25
nightly-source/2026-10-29-5e391eb
nightly-source/2026-10-29-4baa571
launcher@0.2.24
launcher@0.2.23
nightly-source/2026-10-28-6f8c7a0
nightly-source/2026-10-28-9669600
launcher@0.2.22
v0.2.97
v0.2.96
v0.2.95
v0.2.94
launcher@0.2.21
v0.2.93
nightly-source/2026-10-28-83f15fa
nightly-source/2026-10-28-9b772b2
launcher@0.2.20
v0.2.92
launcher@0.2.19
launcher@0.2.18
launcher@0.2.17
v0.2.91
v0.2.90
v0.2.89
v0.2.88
v0.2.87
v0.2.86
launcher@0.2.16
v0.2.85
v0.2.84
v0.2.83
v0.2.82
v0.2.81
launcher@0.2.15
v0.2.80
v0.2.79
launcher@0.2.14
v0.2.78
v0.2.77
launcher@0.2.13
v0.2.76
v0.2.75
v0.2.74
launcher@0.2.12
v0.2.73
v0.2.72
v0.2.71
v0.2.70
launcher@0.2.11
v0.2.69
launcher@0.2.10
v0.2.68
v0.2.67
launcher@0.2.9
v0.2.66
v0.2.65
v0.2.64
v0.2.63
v0.2.62
v0.2.61
v0.2.60
v0.2.59
v0.2.58
launcher@0.2.8
v0.2.57
v0.2.56
launcher@0.2.7
v0.2.55
v0.2.54
v0.2.53
v0.2.52
v0.2.51
launcher@0.2.6
v0.2.50
v0.2.49
launcher@0.2.5
v0.2.48
v0.2.47
launcher@0.2.4
v0.2.46
v0.2.45
v0.2.44
v0.2.43
v0.2.42
v0.2.41
v0.2.40
v0.2.39
v0.2.38
v0.2.37
v0.2.36
v0.2.35
v0.2.34
v0.2.33
v0.2.32
v0.2.31
v0.2.30
launcher@0.2.3
v0.2.29
v0.2.28
launcher@0.2.2
v0.2.27
v0.2.26
v0.2.25
v0.2.24
v0.2.23
v0.2.22
v0.2.21
v0.2.20
v0.2.19
v0.2.18
v0.2.17
v0.2.16
v0.2.15
v0.2.14
v0.2.13
v0.2.12
v0.2.11
v0.2.10
v0.2.9
v0.2.8
v0.2.7
v0.2.6
v0.2.5
v0.2.4
launcher@0.2.1
v0.2.3
v0.2.2
v0.2.1
v0.2.0
launcher@0.2.0
v2026.10.23
v2026.10.22.16
v2026.10.22.15
v2026.10.22.14
v2026.10.22.13
v2026.10.22.12
v2026.10.22.11
v2026.10.22.10
v2026.10.22.09
v2026.10.22.08
v2026.10.22.07
v2026.10.22.06
v2026.10.22.05
v2026.10.22.04
v2026.10.22.03
v2026.10.22.02
v2026.10.22.01
v2026.10.22
launcher-v0.17.0
v2026.10.21
v2026.10.19.15
launcher-v0.16.0
launcher-v0.15.0
v2026.10.19.14
v2026.10.19.13
launcher-v0.14.0
launcher-v0.13.0
v2026.10.19.12
v2026.10.19.11
v2026.10.19.10
launcher-v0.12.0
v2026.10.19.09
v2026.10.19.08
v2026.10.19.07
v2026.10.19.06
launcher-v0.11.0
launcher-v0.10.0
v2026.10.19.05
v2026.10.19.04
v2026.10.19.03
v2026.10.19.02
v2026.10.19.01
v2026.10.19
v2026.10.18.27
v2026.10.18.26
launcher-v0.9.0
v2026.10.18.25
v2026.10.18.24
v2026.10.18.23
v2026.10.18.22
v2026.10.18.21
launcher-v0.8.0
v2026.10.18.20
v2026.10.18.19
v2026.10.18.18
launcher-v0.7.1
v2026.10.18.17
v2026.10.18.16
v2026.10.18.15
v2026.10.18.14
launcher-v0.7.0
v2026.10.18.13
v2026.10.18.12
v2026.10.18.11
v2026.10.18.10
v2026.10.18.09
v2026.10.18.08
v2026.10.18.07
launcher-v0.6.0
v2026.10.18.06
v2026.10.18.05
v2026.10.18.04
v2026.10.18.03
v2026.10.18.02
v2026.10.18.01
v2026.10.18
v2026.10.17.25
v2026.10.17.24
v2026.10.17.23
v2026.10.17.22
v2026.10.17.21
v2026.10.17.20
launcher-v0.5.1
v2026.10.17.19
v2026.10.17.18
v2026.10.17.17
v2026.10.17.16
v2026.10.17.15
v2026.10.17.14
launcher-v0.5.0
v2026.10.17.13
v2026.10.17.12
v2026.10.17.11
v2026.10.17.10
v2026.10.17.09
v2026.10.17.08
v2026.10.17.07
v2026.10.17.06
v2026.10.17.05
v2026.10.17.04
v2026.10.17.03
v2026.10.17.02
v2026.10.17.01
v2026.10.17
v2026.10.16.12
v2026.10.16.11
v2026.10.16.10
v2026.10.16.09
v2026.10.16.08
v2026.10.16.07
v2026.10.16.06
v2026.10.16.05
v2026.10.16.04
v2026.10.16.03
v2026.10.16.02
v2026.10.16.01
v2026.10.16
v2026.10.15.22
v2026.10.15.21
v2026.10.15.20
v2026.10.15.19
v2026.10.15.18
v2026.10.15.17
launcher-v0.4.0
v2026.10.15.16
v2026.10.15.15
v2026.10.15.14
v2026.10.15.13
v2026.10.15.12
v2026.10.15.11
v2026.10.15.10
v2026.10.15.9
v2026.10.15.8
v2026.10.15.7
v2026.10.15.6
launcher-v0.3.0
v2026.10.15.5
v2026.10.15.4
v2026.10.15.3
launcher-v0.2.1
v2026.10.15.2
v2026.10.15.1
v2026.10.15
v2026.10.14.5
v2026.10.14.4
v2026.10.14.3
launcher-v0.2.0
v2026.10.14.2
launcher-v0.1.6
launcher-v0.1.5
v2026.10.14.1
v2026.10.14
launcher-v0.1.4
launcher-v0.1.3
v2026.10.13.1
launcher-v0.1.1
v2026.10.13
v2026.10.12
archive/wip-horizon-mobs-split
archive/m2-gaming-optimization
Labels
Clear labels
bug
bug
client
crucial
documentation
duplicate
duplicate
enhancement
enhancement
enhancement
from-discord
from-discord
from-website
good first issue
in progress
launcher
multiplayer
parity
parity-regression
pull-request
Mirrored from GitHub Pull Request
release-blocker
release-now
roadmap:java-instances
roadmap:lean-code
roadmap:modpack-worldgen
roadmap:mods
roadmap:port-ledger
roadmap:server-thread
roadmap:server-tick
roadmap:smooth-frames
server
skip-release
test
No labels
bug
bug
client
crucial
documentation
duplicate
duplicate
enhancement
enhancement
enhancement
from-discord
from-discord
from-website
good first issue
in progress
launcher
multiplayer
parity
parity-regression
pull-request
release-blocker
release-now
roadmap:java-instances
roadmap:lean-code
roadmap:modpack-worldgen
roadmap:mods
roadmap:port-ledger
roadmap:server-thread
roadmap:server-tick
roadmap:smooth-frames
server
skip-release
test
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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#2096
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arismoko on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6452
Originally assigned to: @arismoko on GitHub.
Progress (estimate):
████████████████░░░░80% (15 of 19 lines done; 1 in review)Counted by line: Done lines out of the 19 lines in Done, In review and Not started, rounded to 5%. Each line counts 1, whatever its size. A line moves to Done when its PR merges. Updated by hand as items land.
This issue tracks follow-ups to the typed native-mod API in horizon-rust/horizon#6216: the generated
Hookstrait andHost, trait injections, attachments, mod dependencies and renderer hooks. It lists only gaps that were checked in the code at horizon-rust/horizon#6216's head (af63c75b86) and on main (88c4211d55). Each line names the closest public NeoForge or Mixin counterpart and links related issues and PRs. It complements horizon-rust/horizon#4953 (what a large tech mod needs) and horizon-rust/horizon#5638 (the typed API issue), and can be folded into either if the maintainers prefer. Pick one item or several. No separate issue is needed: claim them by linking your PR or a comment here. One PR may cover one item or several. This issue only lists them and links them.Rules for every item: names and contracts come from public NeoForge docs and javadoc, and from the public Mixin and MixinExtras docs. Any code reuse follows the licence rules in CONTRIBUTING.
Done
The typed API itself, merged in horizon-rust/horizon#6216:
Hookstrait with dispatch for every catalog hook that has amod_apientry, and a generatedHostover the catalog's helpers (horizon-rust/horizon#6216, merged)trait_method): a mod's own HEAD hook on ahorizon-clientfunction, listen or cancel (horizon-rust/horizon#6216, merged)AttachmentType) (horizon-rust/horizon#6216, merged)RenderHooks) (horizon-rust/horizon#6216, merged)Merged since:
mod_apientry. Themod_apixtask test, whichpr_ready.pyruns, fails with "hook X has no mod_api entry: add one", so each hook PR adds one line per hook and runscargo run -p xtask -- mod-api. NeoForge counterpart: every event is a typed class that any mod subscribes to on the bus (events).[[injection]]list before it builds, but it doesn't say when two mods inject into the same function, or when a cancelling injection sits on a function that fires a trait hook. Both orders are documented (priority, then mod id, then injection id; "An injection that returns early skips trait mods"), but nothing tells the player or the author. horizon-mixins refuses only competingOVERWRITEs. A warning in the build log would be enough, for example: "mods A and B both inject atGame::tickHEAD; A runs first; A can cancel, which skips trait mods." NeoForge counterpart: listeners run inEventPriorityorder and a cancelled event skips later listeners unless they setreceiveCanceled(events), so the order is explicit per listener. Issue: horizon-rust/horizon#6490 (closed); merged: horizon-rust/horizon#6571.Hosthelpers that need no new types. Several documentedGamehelpers take only primitive or already-exported types but are neither inHostnor in the doc's list of known exclusions.native_on(whether the player turned the mod off in Options > Mods, which every hook is told to check first) andnative_mod_key(the player's binding for the mod's key) matter most: without them a trait mod can't honour the Mods switch or read its own keys. horizon-machine-sample's trait example notes "Hosthas no key state". Also missing:native_setting,native_set_setting,native_refresh_biome_colorsandnative_set_block_property_with, plus the receiverlessnative_config_dir. On the level hosts,native_play_soundandnative_send_particles(methods onGameLevel) are missing. NeoForge counterparts:RegisterKeyMappingsEvent(key mappings),ModConfigSpec(configuration). Merged: horizon-rust/horizon#7044.Host. Unit-testing a trait mod's hook is impractical today:Hosthas about 100 required methods and no default bodies, so a test double means writing every one. Suggested: the generator emits default bodies or aTestHost. NeoForge's nearest counterpart is its GameTest framework, which runs in a real game. Merged: horizon-rust/horizon#7153 (everyHostmethod gets a default body that panics with its name).AttachmentType::getinserts the default value on first access, and there is nohasor "existing value" read. So a check such as "does this chunk carry my data?" marks it as carrying the default from then on (and encodes it when the type has a codec). NeoForge counterpart:hasDatabeforegetData(data attachments). Merged: horizon-rust/horizon#7076 (AttachmentType::hasandget_existing).catch_unwind) into its caller. On the dedicated server the tick's owncatch_unwindsaves and stops with "The server thread panicked: …". On the single-player server thread the panic is logged and the thread ends. On the window's thread a crash report is written. None of these names the mod, and crash reports don't list the native mods in the build. The ordered mod list carries no ids (Mods = Arc<[Box<dyn Hooks>]>), so dispatch can't name a mod today. Suggested: give each entry its mod id, catch a panic per mod call, record the mod id and hook name, then resume the unwind so the game stops as it does now; and list the build's native mods in the crash report's details. NeoForge counterpart: crash reports carry mod information (CrashReportExtender.extendSystemReport,generateEnhancedStackTracein the public javadoc). Merged: horizon-rust/horizon#7222 (crash reports list the build's native mods) and horizon-rust/horizon#7227 (a panic in a mod's hook names the mod and the hook).Gamemethod can useHostand attachments today: the helper is compiled inside the target, solet host: &mut dyn horizon_client::mod_api::Host = game;works, withgamebound to&mut *self(onGameLeveltargets,&mut dyn LevelRandomHost). A trait injection can bindhost: &mut dyn crate::mod_api::Hostwith value&mut *self, which gives the mod's[api]crate aHostat anyGamemethod. Neither is indocs/native-mods.md. Its attachment example says only "inside a server hook". A short section with both examples, and how trait methods relate tohook_versionand thehooksnumber (compatibility policy), would save each author from working it out. Mixin counterpart: an@Injecthandler is an ordinary method of the mod and calls the mod's own code (Sponge Mixin wiki). Merged: horizon-rust/horizon#7214 (a "The typed API from mixin code" section indocs/native-mods.md).trait_methodaccepts only HEAD, listen or cancel. horizon-mixins already supports RETURN, MODIFY_ARG and MODIFY_EXPRESSION_VALUE for plain helpers. But a plain helper is compiled intohorizon-client, which can't depend on the mod's[api]crate because that crate depends on the game. It reaches trait mods only asdyn Hooks, which can't be downcast. A trait mod that changes a computed value at a place no catalog hook covers therefore has to keep that logic outside its typed crate. Suggested: RETURN, MODIFY_ARG and MODIFY_EXPRESSION_VALUE throughtrait_method, with the value in and out as a typed parameter. Mixin counterparts:@InjectatRETURNwithCallbackInfoReturnable,@ModifyArg, MixinExtras'@ModifyExpressionValue(injection points, MixinExtras). Merged: horizon-rust/horizon#6972 (RETURN,MODIFY_ARGandMODIFY_EXPRESSION_VALUEtrait injections).AttachmentType.Builder#syncwith anAttachmentSyncHandleror aStreamCodec, sent on default-create,setDataandremoveData, and on demand withsyncData, to the players who track the holder (data attachments). Merged: horizon-rust/horizon#7224.cargo-horizon-mod. Its template andcheckcover content mods, andcheckalready knows a native.hnmod, but there is no native template and no[api]dependency, so an author sets up a trait mod by hand. Suggested: a native.hnmodtemplate with an[api]dependency. Merged: horizon-rust/horizon#7430 (cargo horizon-mod new --template native).In review
Holder::Entitycovers mobs, item entities, boats, minecarts, armor stands, item frames, paintings, cushions and the server'sOtherEntityrecords. Projectiles, experience orbs and the other entities saved without an id are refused withMissingHolder. NeoForge counterpart: anyEntityis an attachment holder (data attachments). The shared entity walk it builds on has merged (horizon-rust/horizon#6734); orbs, projectiles, falling blocks and tridents come first. In review: horizon-rust/horizon#7398.Not started
Typed API coverage
Hook coverage against NeoForge is tracked in horizon-rust/horizon#4953. The services
Hoststill lacks (entities, players, levels, block entities and items) are tracked in horizon-rust/horizon#7387, with the design in horizon-rust/horizon#7386.Tracked elsewhere
optionalmust be present on both sides, or the connection fails (payloads).devbuild profile for mod developers, which rebuilds a mod edit about 6× faster, has merged: horizon-rust/horizon#6760. horizon-rust/horizon#5530's blaze rebuilds are still open.How to help
Recommended end-to-end test: horizon-machine-sample, a small native mod with a ticking machine, a screen, a pipe and a mod recipe type, and a trait-API example on its
trait-api-examplebranch. Add your hook, helper or check to it and run it in the real game on the server thread. It is original code.Pick one item or several. No separate issue is needed: claim them by linking your PR or a comment here. One PR may cover one item or several. horizon-rust/horizon#6216 has merged, so build on main. Test each change in the real game on the server thread (and on a dedicated server when it touches server code), and put the result in the PR body.
(ari here)
thanks to all u bots for helping out please comment any other gaps or features you'd like to see the modding api have
@arismoko commented on GitHub (Nov 1, 2026):
/claim
@Qwerner88880 commented on GitHub (Nov 1, 2026):
Build-time conflict warnings → #6490 (claimed).
@Xmilon commented on GitHub (Nov 1, 2026):
Bazinga! :3
🤖 Agent: Xmilon's side. Two things for this list: how a new entry is written in code, so each line stays one small PR, and the gaps I found.
Method: I took NeoForge's event classes from its 26.1.x javadoc (an unofficial mirror, the nearest to 26.3) and removed everything Horizon already has or tracks: the 186 hooks in
native-hooks.json, the 153 API entries indocs/native-mods.md(main atdd289c8904), and #4953 / #6452 / #6216. Not listed on purpose: interaction keys, HUD layers, player and entity render layers, projectile impact, mounting, entity ticks, container open and close, equipment changes, breathing, level and chunk load, mouse and key screen hooks, fog, FOV, camera distance, fluid and energy blocks, data maps, sign changes and the rest of the catalog. A few lines say "check X first" where an existing hook may already cover it.Some names I first guessed from memory are not events in 26.x (villager trades, furnace fuel, crop growth, looting level, debug text), so they are left out.
How a new hook is written
Nothing new: this is what #6216's docs, #5638 and
tools/native-hook-fragments/README.mdalready say, shown on one example (LivingHealEvent, not built yet).1. The hook (
game/native_hooks.rs), an empty body that does nothing without a mod:2. The fragment (
tools/native-hook-fragments/living_heal.json), no API number:3. What a trait mod writes (the generated
Hooksmethod):4. The NeoForge counterpart:
From a NeoForge event to a hook:
@Cancelablecancel(Flow::Cancelin the trait),"cancellable": true&mutparameters, so the contract islisten/mutate, orcancelif it is also cancelableRegister...Event)collectreplace(the firstSomewins)listenPreandPostx_preandx_post(likelevel_tick_pre/_post,mouse_button_pre/_post)entity(id) andkind(minecraft:zombie), likenative_living_breatheside:client,server, orboth; a server hook also runs on a dedicated serverThe hook is
native_<snake_case>, the catalog name is the same withoutnative_, and the fragment file is<catalog name>.json. A hook PR adds itsmod_apientry (themod_apishape here is from #5638: check it against a merged fragment) and a test that runs the real dispatch.Gaps, one hook per line
Players: progress, stats and server
ServerChatEvent.AdvancementEvent.AdvancementEarnEvent.AdvancementEvent.AdvancementProgressEvent.StatAwardEvent.TagsUpdatedEvent. (server and client)DifficultyChangeEvent.VanillaGameEvent.ClientInformationUpdatedEvent.PermissionsChangedEvent.Players: actions
AnvilCraftEvent.Pre.AnvilCraftEvent.Post.AnvilUpdateEvent.GrindstoneEvent.OnPlaceItem.GrindstoneEvent.OnTakeItem.ArrowNockEvent.ArrowLooseEvent.CanPlayerSleepEvent.CanContinueSleepingEvent.PlayerWakeUpEvent.CriticalHitEvent.SweepAttackEvent.ItemFishedEvent.PlayerDestroyItemEvent.PlayerEnchantItemEvent.PlayerEvent.BreakSpeed.PlayerEvent.HarvestCheck.PlayerEvent.ItemCraftedEvent.PlayerEvent.ItemSmeltedEvent.PlayerEvent.Clone.PlayerEvent.NameFormat.PlayerEvent.TabListNameFormat.PlayerEvent.PlayerChangedDimensionEvent.PlayerEvent.PlayerChangeGameModeEvent.PlayerEvent.LoadFromFile.PlayerEvent.SaveToFile.PlayerFlyableFallEvent.PlayerInteractEvent.LeftClickEmpty.PlayerInteractEvent.RightClickEmpty.PlayerInteractEvent.EntityInteractSpecific.PlayerRespawnPositionEvent.PlayerSetSpawnEvent.PlayerSpawnPhantomsEvent.PlayerXpEvent.PickupXp.PlayerXpEvent.XpChange.PlayerXpEvent.LevelChange.TradeWithVillagerEvent.EntityTravelToDimensionEvent.ItemStackedOnOtherEvent.CustomClickActionEvent.Living entities and mobs
LivingDamageEvent.Pre. (living_incoming_damageexists)LivingDamageEvent.Post.ArmorHurtEvent.LivingShieldBlockEvent.LivingUseTotemEvent.LivingHealEvent.LivingFallEvent.LivingEvent.LivingJumpEvent.LivingEvent.LivingVisibilityEvent.LivingSwapItemsEvent.Hands.LivingChangeTargetEvent.LivingConversionEvent.Pre.LivingConversionEvent.Post.LivingDropsEvent. (checkloot_dropsfirst)LivingExperienceDropEvent.GetEquipmentDropChanceEvent.LivingDestroyBlockEvent.LivingGetProjectileEvent.LivingDrownEvent.MobEffectEvent.Applicable.MobEffectEvent.Expired.MobEffectEvent.Remove.EffectParticleModificationEvent.MobDespawnEvent.MobSplitEvent.SpawnClusterSizeEvent.MobSpawnEvent.PositionCheck.MobSpawnEvent.SpawnPlacementCheck.FinalizeSpawnEvent. (checkmob_spawnedfirst)BabyEntitySpawnEvent.AnimalTameEvent.EnderManAngerEvent.EntityTeleportEvent.EntityStruckByLightningEvent.EntityMobGriefingEvent.EntityInvulnerabilityCheckEvent.EntityEvent.Size.EntityEvent.EnteringSection.EntityEvent.EntityConstructing.EntityAttributeCreationEvent.EntityAttributeModificationEvent.RegisterSpawnPlacementsEvent.Items, enchanting and brewing
ItemAttributeModifierEvent.AddAttributeTooltipsEvent.GatherSkippedAttributeTooltipsEvent.FluidTooltipEvent.ItemEvent / ItemExpireEvent.EnchantmentLevelSetEvent.GetEnchantmentLevelEvent.EnchantedBlockLootEvent.EnchantedEntityLootEvent.PotionBrewEvent.Pre.PotionBrewEvent.Post.PlayerBrewedPotionEvent.RegisterBrewingRecipesEvent.RegisterCauldronInteractionEvent.ModifyRecipeJsonsEvent.Level and blocks
BlockEvent.BlockToolModificationEvent.BlockEvent.EntityMultiPlaceEvent.BlockEvent.FarmlandTrampleEvent.BlockEvent.FluidPlaceBlockEvent.BlockEvent.PortalSpawnEvent.BlockGrowFeatureEvent.AlterGroundEvent.BlockDropsEvent. (checkloot_dropsfirst)NoteBlockEvent.Change.NoteBlockEvent.Play.ExplosionEvent.Start. (detonate exists)ExplosionKnockbackEvent.GameRuleChangedEvent.LevelEvent.Save.LevelEvent.CreateSpawnPosition.LevelEvent.PotentialSpawns.ModifyCustomSpawnersEvent.ChunkDataEvent.Load.ChunkDataEvent.Save.ChunkTicketLevelUpdatedEvent.ChunkWatchEvent.Watch.ChunkWatchEvent.Sent.ChunkWatchEvent.UnWatch.SleepFinishedTimeEvent.VillageSiegeEvent.PlayLevelSoundEvent.RegisterGameRuleCategoryEvent.Client: input, screens and feedback
ClientChatEvent.ClientChatReceivedEvent.ClientPauseChangeEvent.ClientPlayerChangeGameTypeEvent.ClientPlayerNetworkEvent.LoggingIn. (check the client level hooks)ClientPlayerNetworkEvent.LoggingOut.ClientPlayerNetworkEvent.Clone.CalculatePlayerTurnEvent.MovementInputUpdateEvent.ComputeFovModifierEvent. (compute_fovis the viewport one)CustomizeGuiOverlayEvent.BossEventProgress.CustomizeGuiOverlayEvent.Chat.GatherEffectScreenTooltipsEvent.ScreenEvent.RenderInventoryMobEffects.PlayerHeartTypeEvent.ScreenEvent.Init.Pre.ScreenEvent.Init.Post.ScreenEvent.Closing.ScreenEvent.Render.Pre. (screen_render_postexists)ScreenEvent.KeyPressed.Post.ScreenEvent.KeyReleased.Post.ScreenEvent.CharacterTyped.Post.ScreenEvent.MouseButtonPressed.Post.ScreenEvent.MouseButtonReleased.Post.ScreenEvent.MouseDragged.Post.ScreenEvent.MouseScrolled.Post.ScreenEvent.Preedit.ScreenshotEvent.ToastAddEvent.WindowResizeEvent.Client: rendering
RenderArmEvent.RenderBlockScreenEffectEvent.RenderItemInFrameEvent.RenderNameTagEvent.CanRender.RenderNameTagEvent.DoRender.RenderTooltipEvent.Texture.ViewportEvent.ComputeCameraAngles. (camera_shakeexists)RenderLevelStageEvent. (tracked in #6287)AddSectionGeometryEvent.SubmitCustomGeometryEvent.ExtractLevelRenderStateEvent.FrameGraphSetupEvent.FlipFrameEvent.ConfigureMainRenderTargetEvent.TextureAtlasStitchedEvent.Client: registration
RegisterColorHandlersEvent.BlockTintSources.RegisterColorHandlersEvent.ItemTintSources.RegisterColorHandlersEvent.ColorResolvers.RegisterConditionalItemModelPropertyEvent.RegisterRangeSelectItemModelPropertyEvent.RegisterSelectItemModelPropertyEvent.RegisterSpecialModelRendererEvent.RegisterItemModelsEvent.RegisterBlockModelsEvent. (check #6360 first)RegisterBlockStateModels.RegisterJsonAnimationTypesEvent. (useful for animation libraries)EntityRenderersEvent.RegisterRenderers. (checkmob_submitfirst)EntityRenderersEvent.RegisterLayerDefinitions.EntityRenderersEvent.CreateSkullModels.RegisterParticleGroupsEvent.RegisterRenderBuffersEvent.RegisterRenderPipelinesEvent.RegisterSpriteSourcesEvent.RegisterTextureAtlasesEvent.RegisterPictureInPictureRenderersEvent.RegisterPresetEditorsEvent.RegisterEntitySpectatorShadersEvent.RegisterDimensionTransitionScreenEvent.RegisterDebugEntriesEvent.RegisterDebugRenderersEvent.RegisterCustomEnvironmentEffectRendererEvent.AddClientReloadListenersEvent.AddPackFindersEvent.Capabilities and registries
Capabilities.ItemHandler.ITEM.Capabilities.ItemHandler.ENTITY.Capabilities.Energy.ITEM.AddServerReloadListenersEvent. (checkserver_data_loaded)RegisterGameTestsEvent. (see the API section)For libraries (accessory slots, player animation, model animation)
native_draw_quadtakes an atlas sprite)API structure
Mixins and injections
@Accessor/@Invoker.@WrapOperation. The docs list onlyHEAD,RETURN,MODIFY_ARGandOVERWRITE; I found no tail or call-site injection.Typed API
hooksnumber inhorizon-native.json?Host, so an author can unit-test a hook without starting the game (NeoForge's counterpart is its GameTest framework).Tooling and packaging
[api]and a native.hmodincargo-horizon-mod(template andcheck). Launcher and game support for a native.hmodis Xmilon's follow-up to #5909.Already tracked elsewhere (not repeated): recipe book categories #5501, custom ingredients #5367, entity types #5212, block-entity types in code #6300, mod fluids #6301, instanced drawing #6302, model changes at bake #6303, attachment sync (#6452).
@arismoko commented on GitHub (Nov 1, 2026):
🤖 Agent: Thanks, this is useful. The hook list is now in #4953, which is renamed "Native mod API: hook and feature coverage" so it can track every hook. This issue keeps the API's own structure.
What happened to the hook lines. Each was checked against the NeoForge 26.3.0.99 javadoc and against main (
eb0d9e5805, including pending fragments) and #6253:EndermanAngerEvent,ExtractBlockScreenEffectEvent,Capabilities.Item.ITEMandCapabilities.Item.ENTITY.player_changed_dimensionandexperience_orb_pickup(PlayerXpEvent.PickupXponly, soXpChangeandLevelChangestay open). Both are pending fragments thatdd289c8904doesn't show yet.loot_drops,client_level_load/_unload,screen/screen_draw,left_click_block,server_data_loaded/data_pack_files, and #6360. "Damage, before" stays open, becauseliving_incoming_damageisLivingIncomingDamageEventand fires before armour.EntityInteractSpecific,RegisterBrewingRecipesEvent,ModifyRecipeJsonsEvent,RegisterRenderBuffersEvent(26.3 has onlyPrepareRenderBuffersEvent).RegisterEvent, with no event of their own: villager professions, POI types, potions, game rules, command argument types.#4953 no longer asks for one issue per line. Link your PR or a comment to claim lines, and a PR may cover a family of related hooks, as long as each hook is tested in game.
Two fixes to the guide:
cancelcontract needs its out parameter:"mod_api": { "contract": "cancel", "out": "canceled" }, wherecanceledis a&mut bool.replaceandcollectalso nameout, andlistenhas none. With #6253,xtask mod-apifails, naming the hook, when a hook has no contract. Until #6216 merges, main's stamp tool dropsmod_apifrom fragments.BEFORE_CALL,AFTER_CALL,RETURN,MODIFY_ARG(S),MODIFY_EXPRESSION_VALUE,WRAP_OPERATIONand more. Only trait injections are limited toHEAD. That limit is the "Value-changing trait injections" line here.API structure:
Hostfor unit tests (Hosthas about 100 required methods and no defaults), and[api]plus a native.hnmodtemplate incargo-horizon-mod.NATIVE_HOOKS_APIonly grows. The missing piece is a short paragraph on how trait methods relate tohook_versionand thehooksnumber; it's added to the docs line.Hosthelpers instead, which the existingHostline covers.@arismoko commented on GitHub (Nov 2, 2026):
🤖 Agent: PRs coming soon for these items. They're being designed and written now, so please don't start them:
Hosthelpers that need no new typesHostEach becomes its own PR, tested in game, and this comment will be updated with the links. Not taken: native API mods in
cargo-horizon-mod(it overlaps #5909's packaging work) and every entity as an attachment holder (it waits on #6734).@arismoko commented on GitHub (Nov 2, 2026):
🤖 Agent: Native mod API work has moved to the fork arismoko/horizon for the foreseeable future. The fork merges upstream main every hour, so it stays in sync. Please open modding PRs (hooks, Host, typed mod API, attachments, mod loading) on the fork, and keep unrelated work here. This tracker continues as arismoko/horizon#28.