custom_boss_rematch-2.0.jar
Curse Maven Snippet
What's new
Custom Boss Rematch — Update Notes
New Features
-
Initial Spawn Location Option: Added the
use_initial_spawn_locationsetting to control where graves are generated after a configured boss dies. -
Enabled by Default: When
use_initial_spawn_locationis omitted or set totrue, the grave is generated near the boss's initially recorded spawn location. -
Death Location Option: Set
use_initial_spawn_locationtofalseto generate the grave near the boss's death location.
Bug Fixes
-
Fixed Grave Placement in Midair: Graves can now be generated without a solid block underneath them.
-
Improved Placement Around Obstacles: The mod searches for a nearby valid location if the preferred position is obstructed.
-
Bedrock and Barrier Protection: Grave placement will not replace existing bedrock, barrier blocks, or other solid blocks.
-
Improved Placement for Bosses That Die Inside Blocks: The mod searches for a nearby air or water block instead of requiring the exact death position to be suitable for a grave.
-
Fallback Placement: If no suitable position is found near the preferred initial spawn location, the mod attempts to generate the grave near the boss's death location.
Datapack Configuration
Example boss definition:
{
"entity": "minecraft:ender_dragon",
"revive_item": "minecraft:nether_star",
"cooldown": 60,
"spawn_y_offset": 1.5,
"use_initial_spawn_location": true
}
New parameter:
-
use_initial_spawn_location— Whether to generate the grave near the boss's initially recorded spawn location. Defaults totrue. Set tofalseto use the death location instead.
Existing datapacks remain compatible. This option can be omitted to use the default behavior.
This mod has no additional files

