4d4262aeff
(cherry picked from commit b09e7a1ff45fbf7e43f10551cd9e99ff4bbc1059)
141 lines
3.8 KiB
JSON
141 lines
3.8 KiB
JSON
{
|
|
"name": "hexcasting.entry.lists",
|
|
"category": "hexcasting:patterns",
|
|
"icon": "minecraft:oak_sign",
|
|
"sortnum": 7,
|
|
"advancement": "hexcasting:root",
|
|
"read_by_default": true,
|
|
"pages": [
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:index",
|
|
"anchor": "hexcasting:index",
|
|
"input": "list, number",
|
|
"output": "any",
|
|
"text": "hexcasting.page.lists.index"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:slice",
|
|
"anchor": "hexcasting:slice",
|
|
"input": "list, num, num",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.slice"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:append",
|
|
"anchor": "hexcasting:append",
|
|
"input": "list, any",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.append"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:unappend",
|
|
"anchor": "hexcasting:unappend",
|
|
"input": "list",
|
|
"output": "list, any",
|
|
"text": "hexcasting.page.lists.unappend"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"header": "hexcasting.action.hexcasting:concat",
|
|
"op_id": "hexcasting:add",
|
|
"anchor": "hexcasting:concat",
|
|
"input": "list, list",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.concat"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:empty_list",
|
|
"anchor": "hexcasting:empty_list",
|
|
"input": "",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.empty_list"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:singleton",
|
|
"anchor": "hexcasting:singleton",
|
|
"input": "any",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.singleton"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"header": "hexcasting.action.hexcasting:list_size",
|
|
"op_id": "hexcasting:abs",
|
|
"anchor": "hexcasting:abs",
|
|
"input": "list",
|
|
"output": "num",
|
|
"text": "hexcasting.page.lists.list_size"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:reverse",
|
|
"anchor": "hexcasting:reverse",
|
|
"input": "list",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.reverse"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:index_of",
|
|
"anchor": "hexcasting:index_of",
|
|
"input": "list, any",
|
|
"output": "num",
|
|
"text": "hexcasting.page.lists.index_of"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:remove_from",
|
|
"anchor": "hexcasting:remove_from",
|
|
"input": "list, num",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.remove_from"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:modify_in_place",
|
|
"anchor": "hexcasting:modify_in_place",
|
|
"input": "list, num, any",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.modify_in_place"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:last_n_list",
|
|
"anchor": "hexcasting:last_n_list",
|
|
"input": "many, num",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.last_n_list"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:splat",
|
|
"anchor": "hexcasting:splat",
|
|
"input": "list",
|
|
"output": "many",
|
|
"text": "hexcasting.page.lists.splat"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:construct",
|
|
"anchor": "hexcasting:construct",
|
|
"input": "list, any",
|
|
"output": "list",
|
|
"text": "hexcasting.page.lists.construct"
|
|
},
|
|
{
|
|
"type": "hexcasting:pattern",
|
|
"op_id": "hexcasting:deconstruct",
|
|
"anchor": "hexcasting:deconstruct",
|
|
"input": "list",
|
|
"output": "list, any",
|
|
"text": "hexcasting.page.lists.deconstruct"
|
|
}
|
|
]
|
|
}
|