mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
18 lines
731 B
JSON
18 lines
731 B
JSON
{
|
|
"hooks": [
|
|
{
|
|
"name": "potential_spawns",
|
|
"target": "horizon_client::game::native_hooks::Game<'_>::native_potential_spawns",
|
|
"side": "server",
|
|
"cancellable": true,
|
|
"neoforge": "LevelEvent.PotentialSpawns",
|
|
"mod_api": {
|
|
"contract": "cancel",
|
|
"out": "canceled"
|
|
}
|
|
}
|
|
],
|
|
"rust_summary": "Possible natural spawn entries, mutable and cancellable (`native_potential_spawns`).",
|
|
"doc_summary": "`native_potential_spawns(dimension, category, pos, entries, canceled)` lets server mods add or remove possible natural spawn entries, or cancel to empty the list. Added entries must be globally unique instances. Bundles need \"hooks\": @API:native_potential_spawns@."
|
|
}
|