* - Added precipitation client biome component

* - Renamed input_air_controlled to free_camera_controlled

* - Added vertical_movement_action

* - Renamed dash to dash_action

* - Updated on_death documentation

* - Updated :interact slot list

* - Added drop_item event response

* - Removed experimental markers for poly_mesh

* - Removed experimental markers for texture_meshes

* - Added use_pixel_depth option to texture_mesh

* - Updated swamp surface builder

* - Updated roar behavior

* - Standardize control_flags definition

* - Updated slime_attack behavior

* - Added control_flags to certain goals based on vanilla schemas

* - Added direction to dash_action

* - Added fire_resistant component

* - Added underwater_music field to biome_music

* - Added redstone_producer block component

* - Added flower_pottable

* - Added embedded_visual component

* - Added embedded item_display_transform

* - Added y_rotation filter

* - Added on_take_flower trigger to give_flower behavior

* - Added passenger_of_entity loot condition

* - Added is_baby loot condition

* - Added manifest v3

* - Added stonecutter recipe tag
- Remove duplicate description in recipe schema

* - Give entity_placer block a type
This commit is contained in:
Xterionix
2025-09-08 07:01:39 -05:00
committed by GitHub
parent e9ff52d23a
commit 2082ad8e86
48 changed files with 887 additions and 107 deletions

View File

@@ -5,26 +5,11 @@
"type": "object",
"additionalProperties": false,
"properties": {
"ash": {
"title": "Ash",
"description": "Density of ash precipitation visuals.",
"type": "number"
},
"blue_spores": {
"title": "Blue Spores",
"description": "Density of blue spore precipitation visuals.",
"type": "number"
},
"downfall": {
"title": "Downfall",
"description": "Amount that precipitation affects colors and block changes.",
"type": "number"
},
"red_spores": {
"title": "Red Spores",
"description": "Density of blue spore precipitation visuals.",
"type": "number"
},
"snow_accumulation": {
"title": "Snow Accumulation",
"description": "Minimum and maximum snow level, each multiple of 0.125 is another snow layer.",
@@ -42,11 +27,6 @@
"title": "Temperature",
"description": "Temperature affects a variety of visual and behavioral things, including snow and ice placement, sponge drying, and sky color.",
"type": "number"
},
"white_ash": {
"title": "White Ash",
"description": "Density of white ash precipitation visuals.",
"type": "number"
}
}
}

View File

@@ -66,6 +66,57 @@
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:swamp"
}
}
},
"then": {
"required": [ "top_material", "mid_material", "sea_floor_material", "foundation_material", "sea_material", "sea_floor_depth", "max_puddle_depth_below_sea_level" ],
"properties": {
"top_material": {
"title": "Top Material",
"description": "Controls the block type used for the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
"description": "Controls how deep below the world water level the floor should occur.",
"type": "integer"
},
"max_puddle_depth_below_sea_level": {
"title": "Max Puddle Depth Below Sea Level",
"description": "Controls the depth at which surface level blocks can be replaced with water for puddles. The number represents the number of blocks below sea level that we will go down to look for a surface block.",
"type": "integer",
"minimum": 0,
"maximum": 127
}
}
}
},
{
"if": {
"properties": {

View File

@@ -0,0 +1,20 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.embedded_visual",
"title": "Embedded Visual",
"description": "When the component is present on the block, it defines which geometry and material_instances to use when the block is embedded into another block, eg. into a Flowerpot",
"type": "object",
"additionalProperties": false,
"required": [ "geometry", "material_instances" ],
"properties": {
"geometry": {
"title": "Geometry",
"description": "The \"minecraft:geometry\" component that will be used for the item.",
"$ref": "./geometry.json"
},
"material_instances": {
"title": "Geometry",
"description": "The \"minecraft:material_instances\" component that will be used for the item.",
"$ref": "./material_instances.json"
}
}
}

View File

@@ -0,0 +1,8 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.flower_pottable",
"title": "Flower Pottable",
"description": "Allows a player to interact with an empty flowerpot when holding the block in order to embed it.",
"type": "object",
"additionalProperties": false,
"properties": {}
}

View File

@@ -0,0 +1,41 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.redstone_producer",
"title": "Redstone Producer",
"description": "Allows the block to produce a redstone signal",
"type": "object",
"additionalProperties": false,
"required": [ "power" ],
"properties": {
"power": {
"title": "Power",
"description": "The strength of the redstone signal produced by this block. Valid values are from 0 to 15, where 0 means no signal and 15 is the maximum signal strength.",
"type": "integer",
"minimum": 0,
"maxItems": 15
},
"strongly_powered_face": {
"title": "Strongly Powered Face",
"description": "The block touching this face will become strongly powered with the signal level strength of 'power'. Strongly powered blocks will power adjacent blocks. By default, the block will not strongly power any face.",
"type": "array",
"items": {
"type": "string",
"enum": ["up", "down", "north", "south", "east", "west", "side", "all"]
}
},
"connected_faces": {
"title": "Connected Faces",
"description": "The list of faces that are considered connected to the circuit. If a face is not connected, it will not provide power to the block touching that face. By default, all faces are connected.",
"type": "array",
"items": {
"type": "string",
"enum": ["up", "down", "north", "south", "east", "west", "side", "all"]
}
},
"transform_relative": {
"title": "Transform Relative",
"description": "If true, the `strongly_powered_face` and `connected_faces` properties will be rotated according to the `minecraft:transformation` component.",
"type": "boolean",
"default": false
}
}
}

View File

@@ -20,7 +20,9 @@
"minecraft:destructible_by_mining": { "$ref": "./components/destructible_by_mining.json" },
"minecraft:destruction_particles": { "$ref": "./components/destruction_particles.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" },
"minecraft:embedded_visual": { "$ref": "./components/embedded_visual.json" },
"minecraft:flammable": { "$ref": "./components/flammable.json" },
"minecraft:flower_pottable": { "$ref": "./components/flower_pottable.json" },
"minecraft:friction": { "$ref": "./components/friction.json" },
"minecraft:geometry": { "$ref": "./components/geometry.json" },
"minecraft:item_visual": { "$ref": "./components/item_visual.json" },
@@ -34,6 +36,7 @@
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
"minecraft:random_offset": { "$ref": "./components/random_offset.json" },
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
"minecraft:redstone_producer": { "$ref": "./components/redstone_producer.json" },
"minecraft:replaceable": { "$ref": "./components/replaceable.json" },
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
"minecraft:transformation": { "$ref": "./components/transformation.json" },

View File

@@ -171,6 +171,7 @@
{ "if": { "properties": { "test": { "const": "trusts" } } }, "then": { "$ref": "./filters/trusts.json" } },
{ "if": { "properties": { "test": { "const": "weather_at_position" } } }, "then": { "$ref": "./filters/weather_at_position.json" } },
{ "if": { "properties": { "test": { "const": "weather" } } }, "then": { "$ref": "./filters/weather.json" } },
{ "if": { "properties": { "test": { "const": "y_rotation" } } }, "then": { "$ref": "./filters/y_rotation.json" } },
{ "not": { "properties": { "test": { "const": "is_weather" } }, "$comment": "DEPRECATED" } }
]
}

View File

@@ -0,0 +1,26 @@
{
"$id": "blockception.minecraft.behavior.entities.filters.y_rotation",
"type": "object",
"title": "Y Rotation",
"description": "Returns the Y rotation of this entity.",
"required": ["value"],
"properties": {
"test": {
"type": "string",
"title": "Test",
"description": "The test property."
},
"operator": {
"$ref": "./types/operator.json"
},
"subject": {
"$ref": "./types/subject.json"
},
"value": {
"description": "(Required) A floating point value.",
"type": "number",
"default": true,
"title": "Value"
}
}
}

View File

@@ -4,7 +4,7 @@
"title": "Move Towards Restriction",
"additionalProperties": false,
"description": "Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.",
"required": [],
"required": [ ],
"properties": {
"priority": {
"$ref": "./types/priority.json"
@@ -13,20 +13,12 @@
"$ref": "./types/speed_multiplier.json"
},
"control_flags": {
"type": "array",
"items": {
"type": "string",
"enum": ["move", "look"],
"description": "UNDOCUMENTED: control flags.",
"title": "Control Flags"
},
"description": "UNDOCUMENTED: control flags.",
"title": "Control Flags"
"$ref": "./types/control_flags.json"
}
},
"examples": [
{
"control_flags": []
"control_flags": [ ]
}
]
}

View File

@@ -3,11 +3,14 @@
"additionalProperties": false,
"type": "object",
"title": "Roar",
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration",
"description": "Allows this entity to roar at another entity based on data in minecraft:anger_level. Once the anger threshold specified in minecraft:anger_level has been reached, this entity will roar for the specified amount of time, look at the other entity, apply anger boost towards it, and finally target it.",
"properties": {
"priority": {
"$ref": "./types/priority.json"
},
"control_flags": {
"$ref": "./types/control_flags.json"
},
"duration": {
"title": "Duration",
"type": "number",

View File

@@ -7,6 +7,12 @@
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"control_flags": {"$ref": "./types/control_flags.json"},
"grow_tired_cooldown_time": {
"title": "Grow Tired Cooldown Time",
"description": "UNDOCUMENTED",
"type": "number"
},
"set_persistent": {
"title": "Set Persistent",
"type": "boolean",

View File

@@ -8,6 +8,7 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"control_flags": {"$ref": "./types/control_flags.json"},
"jump_chance_percentage": {
"type": "number",
"title": "Jump Chance Percentage",

View File

@@ -11,6 +11,7 @@
},
"speed_multiplier": {
"$ref": "types/speed_multiplier.json"
}
},
"control_flags": {"$ref": "./types/control_flags.json"}
}
}

View File

@@ -9,6 +9,7 @@
"priority": {
"$ref": "./types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"add_random_time_range": {
"title": "Add Random Time Range",
"type": "integer",

View File

@@ -8,6 +8,7 @@
"priority": {
"$ref": "./types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"cooldown_range": {
"title": "Cooldown Range",
"$ref": "../../../../general/vectors/number2.json",

View File

@@ -7,6 +7,7 @@
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"control_flags": {"$ref": "./types/control_flags.json"},
"attack_cooldown": {
"title": "Attack Cooldown",
"type": "number",

View File

@@ -8,6 +8,7 @@
"priority": {
"$ref": "types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"listen_time": {
"title": "Listen Time",
"type": "integer",

View File

@@ -8,6 +8,7 @@
"priority": {
"$ref": "types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"idle_time": {
"type": "number",
"title": "Idle Time",

View File

@@ -8,6 +8,7 @@
"priority": {
"$ref": "types/priority.json"
},
"control_flags": {"$ref": "./types/control_flags.json"},
"material_type": {
"title": "Idle Time",
"enum": ["water", "lava","any"],

View File

@@ -8,6 +8,7 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"control_flags": {"$ref": "./types/control_flags.json"},
"interval": {
"title": "Interval",
"type": "number",

View File

@@ -8,6 +8,7 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"control_flags": {"$ref": "./types/control_flags.json"},
"damage_reach": {
"title": "Damage Reach",
"type": "number",

View File

@@ -48,6 +48,11 @@
"default": [6, 2, 6],
"description": "The dimensions of the AABB used to search for a potential mob to take a flower from.",
"$ref": "../../../../general/vectors/number3.json"
},
"on_take_flower": {
"title": "On Take Flower",
"$ref": "../types/trigger.json",
"description": "Event triggered when the entity takes a flower from another entity."
}
}
}

View File

@@ -10,12 +10,12 @@
"title": "Cooldown Range",
"anyOf": [
{
"type": "number",
"type": "number",
"minimum": 0
},
{
"$ref": "../../../../general/vectors/number2.json",
"default": [10.0, 10.0]
"default": [ 10.0, 10.0 ]
}
],
"description": "Goal cooldown range in seconds."
@@ -24,26 +24,18 @@
"title": "Duration Range",
"anyOf": [
{
"type": "number",
"type": "number",
"minimum": 0
},
{
"$ref": "../../../../general/vectors/number2.json",
"default": [2.0, 2.0]
"default": [ 2.0, 2.0 ]
}
],
"description": "Goal duration range in seconds."
},
"control_flags": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"maxItems": 2,
"items": {
"enum": ["move", "look"]
},
"title": "Control Flags",
"description": "UNDOCUMENTED"
"$ref": "./types/control_flags.json"
},
"on_end": {
"title": "On End",

View File

@@ -0,0 +1,14 @@
{
"$id": "blockception.minecraft.behavior.entities.control_flags",
"additionalProperties": false,
"title": "Control Flags",
"minimum": 0,
"description": "UNDOCUMENTED",
"type": "array",
"uniqueItems": true,
"minItems": 1,
"maxItems": 2,
"items": {
"enum": [ "move", "look", "jump" ]
}
}

View File

@@ -47,7 +47,7 @@
"minecraft:custom_hit_test": { "$ref": "./components/custom_hit_test.json" },
"minecraft:damage_over_time": { "$ref": "./components/damage_over_time.json" },
"minecraft:damage_sensor": { "$ref": "./components/damage_sensor.json" },
"minecraft:dash": { "$ref": "./components/dash.json" },
"minecraft:dash_action": { "$ref": "./components/dash_action.json" },
"minecraft:default_look_angle": { "$ref": "./components/default_look_angle.json" },
"minecraft:despawn": { "$ref": "./components/despawn.json" },
"minecraft:dimension_bound": { "$ref": "./components/dimension_bound.json" },
@@ -84,7 +84,7 @@
"minecraft:horse.jump_strength": { "$ref": "./components/horse.jump_strength.json" },
"minecraft:hurt_on_condition": { "$ref": "./components/hurt_on_condition.json" },
"minecraft:hurt_when_wet": { "$ref": "./components/hurt_when_wet.json" },
"minecraft:input_air_controlled": { "$ref": "./components/input_air_controlled.json" },
"minecraft:free_camera_controlled": { "$ref": "./components/free_camera_controlled.json" },
"minecraft:input_ground_controlled": { "$ref": "./components/input_ground_controlled.json" },
"minecraft:inside_block_notifier": { "$ref": "./components/inside_block_notifier.json" },
"minecraft:insomnia": { "$ref": "./components/insomnia.json" },
@@ -201,6 +201,7 @@
"minecraft:underwater_movement": { "$ref": "./components/attribute.json" },
"minecraft:variable_max_auto_step": { "$ref": "./components/variable_max_auto_step.json" },
"minecraft:variant": { "$ref": "./components/variant.json" },
"minecraft:vertical_movement_action": { "$ref": "./components/vertical_movement_action.json" },
"minecraft:vibration_damper": { "$ref": "./components/vibration_damper.json" },
"minecraft:vibration_listener": { "$ref": "./components/vibration_listener.json" },
"minecraft:walk_animation_speed": { "$ref": "./components/walk_animation_speed.json" },

View File

@@ -1,33 +0,0 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.dash",
"type": "object",
"title": "Dash",
"additionalProperties": false,
"description": "Ability for a ridable entity to dash.",
"required": [],
"properties": {
"cooldown_time": {
"title": "cooldown time",
"type": "number",
"default": 1.0,
"description": "The dash cooldown in seconds."
},
"horizontal_momentum": {
"title": "horizoontal momentum",
"type": "number",
"default": 1.0,
"description": "Horizontal momentum of the dash."
},
"vertical_momentum": {
"title": "vertical momentum",
"type": "number",
"default": 1.0,
"description": "Vertical momentum of the dash."
}
},
"examples": [
{
"value": 0.0
}
]
}

View File

@@ -0,0 +1,40 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.dash_action",
"type": "object",
"title": "Dash Action",
"additionalProperties": false,
"description": "Ability for a ridable entity to dash.",
"required": [],
"properties": {
"cooldown_time": {
"title": "Cooldown Time",
"type": "number",
"default": 1.0,
"description": "The dash cooldown in seconds."
},
"horizontal_momentum": {
"title": "Horizoontal Momentum",
"type": "number",
"default": 1.0,
"description": "Horizontal momentum of the dash."
},
"vertical_momentum": {
"title": "Vertical Momentum",
"type": "number",
"default": 1.0,
"description": "Vertical momentum of the dash."
},
"direction": {
"title": "Direction",
"description": "Should the momentum be applied in the direction of the 'entity' or 'passenger'. When 'entity' is used the momentum is applied horizontally according to the direction the entity is looking, using only the entity's yaw. When 'passenger' is used the momentum will be applied in the direction the controlling passenger is looking, using the passenger's pitch and yaw.",
"type": "string",
"enum": ["entity", "passenger"],
"default": "entity"
}
},
"examples": [
{
"value": 0.0
}
]
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.input_air_controlled",
"$id": "blockception.minecraft.behavior.entities.minecraft.free_camera_controlled",
"description": "When configured as a rideable entity, the entity will be controlled using WASD controls and mouse to move in three dimensions.",
"type": "object",
"title": "Input Air Controlled",
"title": "Free Camera Controlled",
"additionalProperties": false,
"properties": {
"backwards_movement_modifier": {

View File

@@ -163,7 +163,7 @@
"drop_item_slot": {
"title": "Drop Item Slot",
"type": "string",
"examples": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"],
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet", "slot.armor.body", "slot.weapon.offhand", "slot.weapon.mainhand"],
"description": "The entity's equipment slot to remove and drop the item from, if any, upon successful interaction."
},
"drop_item_y_offset": {
@@ -176,7 +176,7 @@
"title": "Equip Item Slot",
"type": "string",
"description": "The entity's equipment slot to equip the item to, if any, upon successful interaction.",
"examples": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"]
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet", "slot.armor.body", "slot.weapon.offhand", "slot.weapon.mainhand"]
},
"repair_entity_item": {
"title": "Repair Entity Item",
@@ -193,7 +193,7 @@
"title": "Slot",
"description": "The entity's slot containing the item to be repaired.",
"type": "string",
"examples": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet"]
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet", "slot.armor.body", "slot.weapon.offhand", "slot.weapon.mainhand"]
}
}
}

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.on_death",
"description": "Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.",
"description": "Adds a trigger to call on this entity's death.",
"title": "On Death",
"$ref": "../types/trigger.json"
}

View File

@@ -0,0 +1,14 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.vertical_movement_action",
"description": "When configured as a rideable entity, the entity will move upwards or downwards when the player uses the jump action.",
"type": "object",
"title": "Vertical Movement Action",
"additionalProperties": false,
"properties": {
"vertical_velocity": {
"title": "Vertical Velocity",
"description": "Vertical velocity to apply when jump action is issued.",
"type": "number"
}
}
}

View File

@@ -123,6 +123,16 @@
},
"examples": [{ "vibration": "shear" }, { "vibration": "entity_act" }, { "vibration": "entity_interact" }]
},
"drop_item": {
"title": "Drop Item",
"description": "Allows an entity to drop its item in a given slot",
"type": "object",
"properties": {
"slot": {
"enum": ["slot.armor.head", "slot.armor.chest", "slot.armor.legs", "slot.armor.feet", "slot.armor.body", "slot.weapon.offhand", "slot.weapon.mainhand"]
}
}
},
"set_property": {
"title": "Set Property",
"description": "Sets a property on the entity.",

View File

@@ -11,13 +11,13 @@
"type": "array",
"title": "Dispense On",
"description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
"items": { "title": "Block Descriptor", "description": "Block that item can be dispensed on.", "$comment": "UNDOCUMENTED" }
"items": { "title": "Block Descriptor", "description": "Block that item can be dispensed on.", "$ref": "../../../../general/block/reference.json" }
},
"use_on": {
"type": "array",
"title": "Use On",
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
"items": { "title": "Block Descriptor", "description": "Block that item can be used on", "$comment": "UNDOCUMENTED" }
"items": { "title": "Block Descriptor", "description": "Block that item can be used on", "$ref": "../../../../general/block/reference.json" }
}
}
}

View File

@@ -0,0 +1,19 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:fire_resistant",
"title": "Fire Resistant",
"description": "Determines whether an item is immune to burning when dropped in fire or lava",
"oneOf": [
{
"type": "boolean"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"value": {
"type": "boolean"
}
}
}
]
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.items",
"additionalProperties": false,
"required": ["description"],
"required": [ "description" ],
"type": "object",
"description": "An item definition.",
"$comment": "UNDOCUMENTED",
@@ -72,6 +72,7 @@
"minecraft:dyeable": { "$ref": "./components/dyeable.json" },
"minecraft:enchantable": { "$ref": "./components/enchantable.json" },
"minecraft:entity_placer": { "$ref": "./components/entity_placer.json" },
"minecraft:fire_resistant": { "$ref": "./components/fire_resistant.json" },
"minecraft:food": { "$ref": "./components/food.json" },
"minecraft:fuel": { "$ref": "./components/fuel.json" },
"minecraft:glint": { "$ref": "./components/glint.json" },

View File

@@ -46,6 +46,14 @@
{
"if": { "properties": { "condition": { "type": "string", "const": "random_regional_difficulty_chance" } } },
"then": { "$ref": "./conditions/random_regional_difficulty_chance.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "passenger_of_entity" } } },
"then": { "$ref": "./conditions/passenger_of_entity.json" }
},
{
"if": { "properties": { "condition": { "type": "string", "const": "is_baby" } } },
"then": { "$ref": "./conditions/is_baby.json" }
}
]
}

View File

@@ -0,0 +1,10 @@
{
"$id": "blockception.minecraft.behavior.condition.is_baby",
"type": "object",
"additionalProperties": false,
"description": "Allows checking if the entity that is dropping loot is a baby",
"title": "Is Baby",
"properties": {
"condition": { "type": "string", "title": "Condition", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" }
}
}

View File

@@ -0,0 +1,15 @@
{
"$id": "blockception.minecraft.behavior.condition.passenger_of_entity",
"type": "object",
"additionalProperties": false,
"description": "Allows checking which vehicle entity type is being ridden by the damaged entity that is dropping loot",
"title": "Passenger Of Entity",
"properties": {
"condition": { "type": "string", "title": "Condition", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" },
"entity_type": {
"title": "Entity Type",
"description": "The entity type to match",
"type": "string"
}
}
}

View File

@@ -1,6 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.12.0.recipe",
"description": "Minecraft recipe",
"required": ["format_version"],
"additionalProperties": false,
"minProperties": 2,

View File

@@ -3,8 +3,20 @@
"description": "Recipe Tags",
"title": "Tags",
"type": "array",
"items": { "type": "string", "title": "Tag", "examples": [
"crafting_table", "furnace", "smoker", "blast_furnace", "campfire", "soul_campfire", "brewing_stand", "smithing_table", "deprecated"
]
"items": {
"type": "string",
"title": "Tag",
"examples": [
"crafting_table",
"furnace",
"smoker",
"blast_furnace",
"campfire",
"soul_campfire",
"brewing_stand",
"smithing_table",
"stonecutter",
"deprecated"
]
}
}