mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-30 17:49:34 +00:00
Add reference condition
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"$type": {
|
||||
"alternative": "Alternative",
|
||||
"inverted": "Inverted",
|
||||
"reference": "Reference",
|
||||
"entity_properties": "Entity Properties",
|
||||
"block_state_propery": "Block Properties",
|
||||
"match_tool": "Tool Properties",
|
||||
@@ -17,6 +18,7 @@
|
||||
"survives_explosion": "Survives Explosion"
|
||||
},
|
||||
"type": "Condition",
|
||||
"name": "Predicate Name",
|
||||
"chance": "Chance",
|
||||
"looting_multiplier": "Looting Multiplier",
|
||||
"inverse": "Inverted",
|
||||
|
||||
@@ -488,6 +488,7 @@
|
||||
"values": [
|
||||
"minecraft:alternative",
|
||||
"minecraft:inverted",
|
||||
"minecraft:reference",
|
||||
"minecraft:entity_properties",
|
||||
{
|
||||
"value": "minecraft:block_state_propery",
|
||||
@@ -517,6 +518,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "name",
|
||||
"type": "string",
|
||||
"translate": "$condition.name",
|
||||
"require": [
|
||||
"minecraft:reference"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "chance",
|
||||
"type": "float",
|
||||
|
||||
Reference in New Issue
Block a user