Datapack presets
Ender Assassin boss void sword loot preset
Ender Assassin boss void sword loot preset is now a complete boss-loot workflow instead of a thin generated note. It shows the enderman boss, the DeathLootTable path, the datapack reward JSON, and the tested in-game boss result together so the encounter can be reviewed before it becomes a map fight. Use it when you need a teleporting end-themed boss that rewards a high-damage void sword and want the summon command and reward table to stay in the same Project context.
Preset result
Ender Assassin is wired to nbtforge:entities/ender_assassin and rewards Void Overpower Sword.
Output
Ender Assassin boss and loot bundle
# 1) Summon the boss. This entity points at the custom loot table.
/summon minecraft:enderman ~ ~ ~ {Tags:["nbtforge_boss","ender_assassin"],CustomName:{text:"Ender Assassin",color:"light_purple",bold:true},CustomNameVisible:1b,PersistenceRequired:1b,DeathLootTable:"nbtforge:entities/ender_assassin",equipment:{mainhand:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{text:"Void Overpower Sword",color:"dark_purple",italic:false},"minecraft:enchantments":{"minecraft:sharpness":6}}}}}
/attribute @e[tag=ender_assassin,limit=1,sort=nearest] minecraft:max_health base set 110
/attribute @e[tag=ender_assassin,limit=1,sort=nearest] minecraft:attack_damage base set 15
/data merge entity @e[tag=ender_assassin,limit=1,sort=nearest] {Health:110f}
# 2) Save this datapack file as data/nbtforge/loot_table/entities/ender_assassin.json
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:netherite_sword",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": 1
},
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_name": {
"text": "Void Overpower Sword",
"color": "dark_purple",
"italic": false
},
"minecraft:lore": [
{
"text": "Dropped by Ender Assassin",
"color": "gray",
"italic": false
},
{
"text": "Overpowered boss reward from NBTForge",
"color": "gold",
"italic": false
}
],
"minecraft:enchantments": {
"minecraft:sharpness": 10,
"minecraft:unbreaking": 5,
"minecraft:fire_aspect": 2,
"minecraft:sweeping_edge": 3
},
"minecraft:attribute_modifiers": [
{
"id": "nbtforge:ender_assassin_power",
"type": "minecraft:attack_damage",
"amount": 12,
"operation": "add_value",
"slot": "mainhand"
}
],
"minecraft:rarity": "epic",
"minecraft:enchantment_glint_override": true,
"minecraft:custom_data": {
"nbtforge_boss_drop": "ender_assassin",
"overpower": 1
}
}
}
]
}
]
}
]
}
# 3) Optional quick test after /reload: spawn the reward without killing the boss.
/loot spawn ~ ~1 ~ loot nbtforge:entities/ender_assassinThe longest command line is 447 characters, 191 over the 256-character chat input limit. Pasting it into chat can truncate the line and make Minecraft report a syntax error even when the generated command is valid.
- Use a Command Block: run
/give @s command_block, place it, then paste this command into the block command field. - Use a
.mcfunctionfor a reusable datapack: save the line without the leading slash atsaves/<world>/datapacks/<pack>/data/<ns>/function/<name>.mcfunctionwith a minimalpack.mcmeta, run/reload, then run/function <ns>:<name>. Do not paste.mcfunctioncontent into chat.
Preset screenshot
Build the preset
- Open the Summon workbench and choose enderman as the boss entity.
- Set the visible custom name to Ender Assassin and keep it visible for arena QA.
- Add stable boss tags so attributes, cleanup, and reward logic can target this entity.
- Set max health to 110 and attack damage to 15.
- Add DeathLootTable:"nbtforge:entities/ender_assassin" to the boss data.
- Open Data Pack and create data/nbtforge/loot_table/entities/ender_assassin.json.
- Configure the loot table to drop Void Overpower Sword with name, lore, enchantments, rarity, and custom_data.
- Save the summon command and loot JSON together in Project before copying either artifact.
- Smoke test the boss spawn first, then test the loot table with `/loot spawn` or an arena kill.
Boss entity and reward table
Ender Assassin has two separate responsibilities. The summon command creates the enderman with name, tags, persistence, health, attack damage, and a DeathLootTable reference. The datapack file at data/nbtforge/loot_table/entities/ender_assassin.json defines what the player receives after the boss dies.
Keeping those responsibilities separate makes the preset easier to debug. If the boss does not spawn, inspect the summon output and entity syntax. If the boss spawns but drops nothing, inspect the namespace, resource path, datapack reload, and loot table JSON before changing the entity command.
The workbench gallery is arranged around that split. The first shot checks the boss identity, the second shot checks the reward resource, and the output shot keeps both artifacts close enough that the Project entry can preserve the relationship.
- Boss id: enderman
- Loot path: nbtforge:entities/ender_assassin
- Reward item: Void Overpower Sword
Testing the encounter safely
Start with a clean summon test before balancing the full fight. Ender Assassin should appear with the expected name and tags in a restored world, and the screenshot should make the boss readable without relying on old mobs or leftover effects from a previous capture.
After the spawn is stable, test the loot table independently. A quick `/loot spawn ~ ~1 ~ loot nbtforge:entities/<id>` check proves the JSON can produce the reward before the fight logic is involved. Then run the final arena path where the actual boss death triggers the same resource.
Do not tune health, damage, effects, bossbars, and loot at the same time. Make one change, update the Project entry, then test the copied artifact. That keeps a broken datapack path from looking like an entity problem and keeps an entity typo from looking like a loot failure.
- Spawn test first.
- Loot JSON test second.
- Full arena kill test last.
Encounter placement
Ender Assassin fits best when the arena setup, bossbar, warning feedback, and reward table are saved near the summon command. That gives reviewers one place to check whether the encounter starts, communicates danger, drops the intended item, and cleans up after itself.
When the preset becomes production content, move long commands into a datapack function and keep the loot table under the same namespace. The article output is deliberately explicit so the summon command and JSON path remain easy to audit before being copied into files.
For adjacent boss-loot examples, compare the Blaze Emperor fire boss loot preset, Warden Echo boss loot preset, and loot table boss drop preset.
FAQ
How does Ender Assassin drop Void Overpower Sword?
The summon command sets DeathLootTable to nbtforge:entities/ender_assassin. The datapack file at data/nbtforge/loot_table/entities/ender_assassin.json defines Void Overpower Sword as the reward.
Can I paste the boss command into chat?
Only if the generated command stays under the chat limit. Boss commands usually belong in a command block for a one-off test or in a datapack function for reusable map content.
What should I test first if the reward does not drop?
Test the loot table path with `/loot spawn` first, then verify the boss summon still references the same DeathLootTable id. Most failures come from namespace or resource-path mismatches.
Open this workflow
Start from the related Data Pack workbench, then adjust the preset fields for your world.