Update from 1.21.0 to 1.21.30 (#307)
* - Remove deprecated biome components * - Remove block hcf * - Add item specific destroy speeds * - Add owner distance filter * - Update scatter feature distribution property * - Add new entity components - Remove behavior.peek * - Add new item components - Remove hcf item stuff * - Remove volumes * - Add set_potion loot table function * - Mark fields as required * - Add item display transforms * - Add redstone conductivity block component * - Add is_navigating filter * - Fix move around target ref * - Add pack namespaced loot tables functions
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:bundle_interaction",
|
||||
"title": "Bundle Interaction",
|
||||
"description": "[EXPERIMENTAL] Adds bundle-specific interactions and tooltip to the item.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"num_viewable_slots": {
|
||||
"description": "The maximum number of slots in the bundle viewable by the plater. Can be from 1 to 64. Default is 12.",
|
||||
"type": "integer",
|
||||
"minimum": 1.0,
|
||||
"maximum": 64.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:damage_absorption",
|
||||
"title": "Damage Absorption",
|
||||
"description": "It allows an item to absorb damage that would otherwise be dealt to its wearer. For this to happen, the item needs to be equipped in an armor slot. The absorbed damage reduces the item's durability, with any excess damage being ignored. Because of this, the item also needs a `minecraft:durability` component.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"absorbable_causes": {
|
||||
"title": "Absorbable Causes",
|
||||
"description": "List of damage causes that can be absorbed by the item. By default, no damage cause is absorbed.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"minItems": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"absorbable_causes"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:durability_sensor",
|
||||
"$id": "764203503",
|
||||
"title": "Durability Sensor",
|
||||
"description": "Defines both the durability threshold, and the effects emitted when that threshold is met.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"durability": {
|
||||
"description": "The effects are emitted when the item durability value is less than or equal to this value.",
|
||||
"type": "integer"
|
||||
},
|
||||
"particle_type": {
|
||||
"description": "Particle effect to emit when the threshold is met.",
|
||||
"type": "string"
|
||||
},
|
||||
"sound_event": {
|
||||
"title": "Sound Event",
|
||||
"description": "Sound effect to emit when the threshold is met.",
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
45
source/behavior/items/format/components/dyeable.json
Normal file
45
source/behavior/items/format/components/dyeable.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:dyeable",
|
||||
"title": "Dyeable",
|
||||
"description": "Enables custom items to be dyed in cauldrons.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"default_color": {
|
||||
"title": "Default Color",
|
||||
"description": "Color to use by default. If you do not want a default color you can leave the \"default_color\" off and the texture will be the same as if you did not have the component until it is dyed.",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"format": "colox-hex",
|
||||
"default": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Red",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
{
|
||||
"title": "Green",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
},
|
||||
{
|
||||
"title": "Blue",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"maximum": 255
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
25
source/behavior/items/format/components/rarity.json
Normal file
25
source/behavior/items/format/components/rarity.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:rarity",
|
||||
"title": "Rarity",
|
||||
"description": "Specifies the base rarity and subsequently color of the item name when the player hovers the cursor over the item.",
|
||||
"definitions": {
|
||||
"rarities": {
|
||||
"enum": ["common", "uncommon", "rare", "epic"]
|
||||
}
|
||||
},
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/rarities"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "Sets the base rarity of the item. The rarity of an item automatically increases when enchanted, either to Rare when the base rarity is Common or Uncommon, or Epic when the base rarity is Rare.",
|
||||
"$ref": "#/definitions/rarities"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
50
source/behavior/items/format/components/storage_item.json
Normal file
50
source/behavior/items/format/components/storage_item.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:storage_item",
|
||||
"title": "Storage Item",
|
||||
"description": "[EXPERIMENTAL] Storage Items can be used by other components to store other items within this item.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allow_nested_storage_items": {
|
||||
"title": "Allow Nested Storage Items",
|
||||
"description": "Determines whether another Storage Item is allowed inside of this item. Default is true.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowed_items": {
|
||||
"title": "Allowed Items",
|
||||
"description": "List of items that are exclusively allowed in this Storage Item. If empty all items are allowed.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"banned_items": {
|
||||
"title": "Banned Items",
|
||||
"description": "List of items that are not allowed in this Storage Item.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"max_slots": {
|
||||
"title": "Max Slots",
|
||||
"description": "The maximum number of different item stacks. Maximum is 64. Default is 64.",
|
||||
"type": "integer",
|
||||
"maximum": 64.0,
|
||||
"default": 64
|
||||
},
|
||||
"max_weight_limit": {
|
||||
"title": "Max Weight Limit",
|
||||
"description": "The maximum allowed weight of the sum of all contained items. Maximum is 64. Default is 64.",
|
||||
"type": "integer",
|
||||
"maximum": 64.0,
|
||||
"default": 64
|
||||
},
|
||||
"weight_in_storage_item": {
|
||||
"title": "Weight In Storage Item",
|
||||
"description": "The weight of this item when inside another Storage Item. Default is 4. 0 means item is not allowed in another Storage Item.",
|
||||
"type": "integer",
|
||||
"minimum": 0.0,
|
||||
"default": 4
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user