Updating filters and behaviors

This commit is contained in:
DaanV2
2023-10-24 21:58:11 +02:00
parent 96d0654970
commit b79f694f7a
25 changed files with 496 additions and 16 deletions

View File

@@ -75,7 +75,7 @@
"title": "Allow Sitting"
},
"blend_attributes": {
"description": "If true, the entities will blend their attributes in the offspring after they breed. For example, horses blend their health, movement, and jump_strength in their offspring.",
"description": "If true, the entities will blend their attributes in the offspring after they breed.",
"type": "boolean",
"default": true,
"title": "Blend Attributes"
@@ -123,6 +123,12 @@
}
]
},
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes Pregnancy"
},
"deny_parents_variant": {
"type": "object",
"description": "Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.",
@@ -210,11 +216,28 @@
},
"title": "Mutation Factor"
},
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes Pregnancy"
"mutation_strategy": {
"title": "Mutation Strategy",
"type": "string",
"default": "none",
"description": "Strategy used for mutating variants and extra variants for offspring. Current valid alternatives are 'random' and 'none'."
},
"parent_centric_attribute_blending": {
"title": "Parent Centric Attribute Blending",
"type": "array",
"description": "[EXPERIMENTAL] List of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring."
},
"random_extra_variant_mutation_interval": {
"title": "Random Extra Variant Mutation Interval",
"default": 0,
"$ref": "../../../../general/vectors/number2.json",
"description": "Range used to determine random extra variant."
},
"random_variant_mutation_interval": {
"title": "Random Variant Mutation Interval",
"default": 0,
"$ref": "../../../../general/vectors/number2.json",
"description": "Range used to determine random variant."
},
"inherit_tamed": {
"type": "boolean",

View File

@@ -7,16 +7,16 @@
"required": [],
"properties": {
"height": {
"title": "Height",
"type": "number",
"default": 1,
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0",
"title": "Height"
"default": 1.0,
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0."
},
"width": {
"title": "Width",
"type": "number",
"default": 1,
"description": "Width and Depth of the collision box in blocks. A negative value will be assumed to be 0",
"title": "Width"
"default": 1.0,
"description": "Width of the collision box in blocks. A negative value will be assumed to be 0."
}
},
"examples": [

View File

@@ -4,5 +4,17 @@
"title": "Equip Item",
"description": "The entity puts on the desired equipment.",
"additionalProperties": false,
"properties": {}
"properties": {
"excluded_items": {
"title": "Excluded Items",
"type": "array",
"description": "List of items that the entity should not equip.",
"items": {
"type": "string",
"$ref": "../../../../../general/item/descriptor.json",
"description": "Item that the entity should not equip.",
"title": "Excluded Items"
}
}
}
}

View File

@@ -131,6 +131,19 @@
"description": "Defines the behaviors that may execute on a projectile's hit, including impact damage, impact effect, and stuck in ground. See more on these parameters below.",
"title": "On Hit",
"properties": {
"arrow_effect": {
"title": "Arrow Effect",
"type": "object",
"description": "The target receives a mob effect. See the table below for all arrow_effect parameters.",
"additionalProperties": false,
"properties": {
"apply_effect_to_blocking_targets": {
"type": "boolean",
"title": "Apply Effect To Blocking Targets",
"description": "If true, the effect will be applied to blocking targets."
}
}
},
"catch_fire": {
"title": "Catch Fire",
"type": "boolean",

View File

@@ -106,6 +106,11 @@
}
}
}
},
"singular_pickup": {
"type": "boolean",
"description": "Determines whether the mob can only pickup one item at a time.",
"title": "Singular Pickup"
}
},
"examples": [