Files
horizon/tools/native-hook-fragments/native_potential_spawns.json
T

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@."
}