mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-06 07:21:48 +00:00
Add exploration_map function
This commit is contained in:
+9
-2
@@ -129,7 +129,8 @@
|
||||
"fill_player_head": "Fill Player Head",
|
||||
"copy_name": "Copy Name",
|
||||
"copy_nbt": "Copy NBT",
|
||||
"apply_bonus": "Apply Bonus"
|
||||
"apply_bonus": "Apply Bonus",
|
||||
"exploration_map": "Exploration Map Properties"
|
||||
},
|
||||
"type": "Function",
|
||||
"count": "Count",
|
||||
@@ -155,7 +156,12 @@
|
||||
},
|
||||
"bonusMultiplier": "Multiplier",
|
||||
"extra": "Extra",
|
||||
"probability": "Propability"
|
||||
"probability": "Propability",
|
||||
"destination": "Destination",
|
||||
"decoration": "Decoration",
|
||||
"zoom": "Zoom",
|
||||
"searchRadius": "Search Radius (Chunks)",
|
||||
"skipExistingChunks": "Skip Existing Chunks"
|
||||
},
|
||||
"$attribute_modifier": {
|
||||
"attribute": "Attribute",
|
||||
@@ -295,6 +301,7 @@
|
||||
"condition_remove": "Remove Condition",
|
||||
"enchantment_remove": "Remove Enchantment",
|
||||
"entry_remove": "Remove Entry",
|
||||
"error": "Error",
|
||||
"function_remove": "Remove Function",
|
||||
"attribute_modifier_remove": "Remove Modifier",
|
||||
"operation_remove": "Remove Operation",
|
||||
|
||||
+6
-1
@@ -154,7 +154,12 @@
|
||||
},
|
||||
"bonusMultiplier": "乘数",
|
||||
"extra": "额外值",
|
||||
"probability": "概率"
|
||||
"probability": "概率",
|
||||
"destination": "目标",
|
||||
"decoration": "图标",
|
||||
"zoom": "缩放等级",
|
||||
"searchRadius": "搜寻半径",
|
||||
"skipExistingChunks": "跳过已生成区块"
|
||||
},
|
||||
"$attribute_modifier": {
|
||||
"attribute": "属性",
|
||||
|
||||
+74
-1
@@ -174,7 +174,8 @@
|
||||
"minecraft:fill_player_head",
|
||||
"minecraft:copy_name",
|
||||
"minecraft:copy_nbt",
|
||||
"minecraft:apply_bonus"
|
||||
"minecraft:apply_bonus",
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -251,6 +252,49 @@
|
||||
"minecraft:limit_count"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "destination",
|
||||
"type": "enum",
|
||||
"translate": "$function.destination",
|
||||
"values": "structures",
|
||||
"require": [
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "decoration",
|
||||
"type": "enum",
|
||||
"translate": "$function.decoration",
|
||||
"values": "map_icons",
|
||||
"require": [
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "zoom",
|
||||
"type": "int",
|
||||
"translate": "$function.zoom",
|
||||
"require": [
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "search_radius",
|
||||
"type": "int",
|
||||
"translate": "$function.searchRadius",
|
||||
"require": [
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "skip_existing_chunks",
|
||||
"type": "boolean",
|
||||
"translate": "$function.skipExistingChunks",
|
||||
"default": true,
|
||||
"require": [
|
||||
"minecraft:exploration_map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "entity",
|
||||
"type": "enum",
|
||||
@@ -1227,6 +1271,35 @@
|
||||
"minecraft:dolphins_grace",
|
||||
"minecraft:bad_omen",
|
||||
"minecraft:hero_of_the_village"
|
||||
],
|
||||
"map_icons": [
|
||||
"mansion",
|
||||
"monument",
|
||||
"player",
|
||||
"frame",
|
||||
"red_marker",
|
||||
"blue_marker",
|
||||
"target_x",
|
||||
"target_point",
|
||||
"player_off_map",
|
||||
"player_off_limits",
|
||||
"red_x",
|
||||
"banner_white",
|
||||
"banner_orange",
|
||||
"banner_magenta",
|
||||
"banner_light_blue",
|
||||
"banner_yellow",
|
||||
"banner_lime",
|
||||
"banner_pink",
|
||||
"banner_gray",
|
||||
"banner_light_gray",
|
||||
"banner_cyan",
|
||||
"banner_purple",
|
||||
"banner_blue",
|
||||
"banner_brown",
|
||||
"banner_green",
|
||||
"banner_red",
|
||||
"banner_black"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -166,13 +166,13 @@ function generateEnum(data, struct) {
|
||||
for (let value of collection) {
|
||||
if (typeof value === 'object') {
|
||||
if (value.require.includes(correctNamespace(table.type))) {
|
||||
$el.find('select').append(setValueAndName($('<option/>'), correctNamespace(value.value), struct.translateValue));
|
||||
$el.find('select').append(setValueAndName($('<option/>'), value.value, struct.translateValue));
|
||||
}
|
||||
} else {
|
||||
$el.find('select').append(setValueAndName($('<option/>'), correctNamespace(value), struct.translateValue));
|
||||
$el.find('select').append(setValueAndName($('<option/>'), value, struct.translateValue));
|
||||
}
|
||||
}
|
||||
$el.find('select').val(correctNamespace(data));
|
||||
$el.find('select').val(collection.includes(data) ? data : correctNamespace(data));
|
||||
return $el;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user