Skip to main content

Item Result

Gives specified items directly to the player.

Fields​

FieldTypeDefaultDescription
typeString—Fixed as htlib:item_stack
for_defenderBooleantrueWhether to give to defenders (players)
for_raiderBooleanfalseWhether to give to raiders (mobs)
rewardsItem List—Item stacks to give, in standard Minecraft ItemStack format

Example​

{
"type": "htlib:item_stack",
"for_defender": true,
"for_raider": false,
"rewards": [
{
"id": "minecraft:acacia_boat",
"Count": 3
}
]
}