Add interact_button item component and update explorartion_map loot table function. (#399)
This commit is contained in:
@@ -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"]
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user