Add interact_button item component and update explorartion_map loot table function. (#399)

This commit is contained in:
8Crafter
2025-10-30 01:41:35 -07:00
committed by GitHub
parent 53f3ef22bc
commit c919f8ef3d
2 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:interact_button",
"title": "Interact Button",
"description": "A boolean or string that determines if the interact button is shown in touch controls, and what text is displayed on the button. When set to 'true', the default 'Use Item' text will be used.",
"examples": [true, false, "Open Menu", "Use Item"],
"type": ["boolean", "string"]
}

View File

@@ -13,8 +13,29 @@
}, },
"destination": { "destination": {
"type": "string", "type": "string",
"description": "The destination value defines what type of treasure map they receive.", "description": "The destination value defines what type of treasure map they receive. (Note: The following do not work, even though the docs say they do: endcity, fortress, mineshaft, ruins, stronghold, temple, village, shipwreck, and pillageroutpost.)",
"enum": ["endcity", "fortress", "mineshaft", "monument", "ruins", "stronghold", "temple", "village", "mansion", "shipwreck", "buriedtreasure", "pillageroutpost"], "enum": [
"endcity",
"fortress",
"mineshaft",
"monument",
"ruins",
"stronghold",
"temple",
"village_desert",
"village_plains",
"village_savanna",
"village_snowy",
"village_taiga",
"village",
"mansion",
"shipwreck",
"buriedtreasure",
"pillageroutpost",
"jungle_temple",
"swamp_hut",
"trial_chambers"
],
"title": "Destination" "title": "Destination"
} }
} }