Initial Commit
This commit is contained in:
40
behaviour/loot_tables/conditions/entity_properties.json
Normal file
40
behaviour/loot_tables/conditions/entity_properties.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.entity_properties",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Returns true if the actor properties defined were executed.",
|
||||
"title": "Entity properties",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"entity": {
|
||||
"type": "string",
|
||||
"default": "this",
|
||||
"description": "The entity to test. The value must be only \"this\".",
|
||||
"title": "Entity"
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"description": "The entity's properties. \"on_fire\", \"on_ground\" is used for now.",
|
||||
"title": "Properties",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"on_fire": {
|
||||
"title": "On fire",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"on_ground": {
|
||||
"title": "On fire",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
behaviour/loot_tables/conditions/has_mark_variant.json
Normal file
21
behaviour/loot_tables/conditions/has_mark_variant.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.has_mark_variant",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Returns the condition true if the actor's mark variant is matched to the value.",
|
||||
"title": "Has mark variant",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"default": "0",
|
||||
"description": "Tests for the actor's mark variant (if it has one)",
|
||||
"title": "Value"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
behaviour/loot_tables/conditions/killed_by_player.json
Normal file
15
behaviour/loot_tables/conditions/killed_by_player.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.killed_by_player",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Returns the condition true if the actor of the loot table is killed by player or entities that has owner.",
|
||||
"title": "Killed by player",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.killed_by_player_or_pets",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Returns the condition true if the actor of the loot table is killed by player or entities that has owner.",
|
||||
"title": "Killed by player or pets or pets",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
27
behaviour/loot_tables/conditions/random_chance.json
Normal file
27
behaviour/loot_tables/conditions/random_chance.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.random_chance",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Sets a random chance of the specified value.",
|
||||
"title": "Random chance",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "TODO",
|
||||
"title": "Chance"
|
||||
},
|
||||
"max_chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The maximum random chance value allowed.",
|
||||
"title": "Max chance"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.random_chance_with_looting",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Sets a random chance of the specified value. Looting enchantment increase the random chance multiplier.",
|
||||
"title": "Random chance with looting",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The random chance of the value.",
|
||||
"title": "Chance"
|
||||
},
|
||||
"looting_multiplier": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The multiplier for the chance if the target entity has the looting enchant that affects the actor.",
|
||||
"title": "Looting multiplier"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.random_difficulty_chance",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Sets a random chance of the specified value based on the level difficulty.",
|
||||
"title": "Random difficulty chance",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"default_chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is not assigned.",
|
||||
"title": "Default chance"
|
||||
},
|
||||
"easy": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in easy. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Easy"
|
||||
},
|
||||
"hard": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in hard. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Hard"
|
||||
},
|
||||
"normal": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in normal. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Normal"
|
||||
},
|
||||
"peaceful": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in peaceful. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Peaceful"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.condition.random_regional_difficulty_chance",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Sets a max regional difficulty random chance of the specified value.",
|
||||
"title": "Random regional difficulty chance",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"title": "Condition",
|
||||
"description": "TODO"
|
||||
},
|
||||
"default_chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is not assigned.",
|
||||
"title": "Default chance"
|
||||
},
|
||||
"easy": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in easy. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Easy"
|
||||
},
|
||||
"hard": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in hard. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Hard"
|
||||
},
|
||||
"normal": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in normal. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Normal"
|
||||
},
|
||||
"peaceful": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is in peaceful. Omitting this field will set the value to \"default_chance\" field.",
|
||||
"title": "Peaceful"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user