HexCasting/Common/src/main/resources/data/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/logic.json

115 lines
3 KiB
JSON

{
"name": "hexcasting.entry.logic",
"category": "hexcasting:patterns",
"icon": "minecraft:comparator",
"sortnum": 5,
"advancement": "hexcasting:root",
"read_by_default": true,
"pages": [
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:bool_coerce",
"anchor": "hexcasting:bool_coerce",
"input": "any",
"output": "bool",
"text": "hexcasting.page.logic.bool_coerce"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:abs",
"anchor": "hexcasting:abs",
"input": "bool",
"output": "number",
"text": "hexcasting.page.logic.bool_to_number"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:not",
"anchor": "hexcasting:not",
"input": "bool",
"output": "bool",
"text": "hexcasting.page.logic.not"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:or",
"anchor": "hexcasting:or",
"input": "bool, bool",
"output": "bool",
"text": "hexcasting.page.logic.or"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:and",
"anchor": "hexcasting:and",
"input": "bool, bool",
"output": "bool",
"text": "hexcasting.page.logic.and"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:xor",
"anchor": "hexcasting:xor",
"input": "bool, bool",
"output": "bool",
"text": "hexcasting.page.logic.xor"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:if",
"anchor": "hexcasting:if",
"input": "bool, any, any",
"output": "any",
"text": "hexcasting.page.logic.if"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:equals",
"anchor": "hexcasting:equals",
"input": "any, any",
"output": "bool",
"text": "hexcasting.page.logic.equals"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:not_equals",
"anchor": "hexcasting:not_equals",
"input": "any, any",
"output": "bool",
"text": "hexcasting.page.logic.not_equals"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:greater",
"anchor": "hexcasting:greater",
"input": "number, number",
"output": "bool",
"text": "hexcasting.page.logic.greater"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:less",
"anchor": "hexcasting:less",
"input": "number, number",
"output": "bool",
"text": "hexcasting.page.logic.less"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:greater_eq",
"anchor": "hexcasting:greater_eq",
"input": "number, number",
"output": "bool",
"text": "hexcasting.page.logic.greater_eq"
},
{
"type": "hexcasting:pattern",
"op_id": "hexcasting:less_eq",
"anchor": "hexcasting:less_eq",
"input": "number, number",
"output": "bool",
"text": "hexcasting.page.logic.less_eq"
}
]
}