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:
Xterionix
2024-09-22 16:25:16 +05:00
committed by GitHub
parent a3e2eaabe4
commit ca1b07bc2d
68 changed files with 1489 additions and 1238 deletions

View File

@@ -27,9 +27,9 @@
"set_data",
"set_lore",
"set_name",
"set_potion",
"specific_enchants",
"trader_material_type",
"minecraft:enchant_book_for_trading",
"minecraft:enchant_random_gear",
"minecraft:enchant_randomly",
@@ -50,6 +50,7 @@
"minecraft:set_data",
"minecraft:set_lore",
"minecraft:set_name",
"minecraft:set_potion",
"minecraft:specific_enchants",
"minecraft:trader_material_type"
]
@@ -83,6 +84,7 @@
{ "if": { "properties": { "function": { "type": "string", "pattern": "^(minecraft:)*random_dye$" } } }, "then": { "$ref": "./functions/random_dye.json" } },
{ "if": { "properties": { "function": { "type": "string", "pattern": "^(minecraft:)*set_lore$" } } }, "then": { "$ref": "./functions/set_lore.json" } },
{ "if": { "properties": { "function": { "type": "string", "pattern": "^(minecraft:)*set_name$" } } }, "then": { "$ref": "./functions/set_name.json" } },
{ "if": { "properties": { "function": { "type": "string", "pattern": "^(minecraft:)*set_potion$" } } }, "then": { "$ref": "./functions/set_potion.json" } },
{ "if": { "properties": { "function": { "type": "string", "pattern": "^(minecraft:)*specific_enchants$" } } }, "then": { "$ref": "./functions/specific_enchants.json" } }
]
}

View File

@@ -0,0 +1,64 @@
{
"$id": "blockception.minecraft.behavior.loot_tables.set_potion",
"additionalProperties": false,
"description": "The function set_potion.",
"title": "Set Lore",
"type": "object",
"properties": {
"function": { "type": "string", "const": "set_lore", "description": "This function sets the potion type of compatible items with a potion id..", "title": "Function" },
"id": {
"title": "Id",
"type": "string",
"description": "ID of the potion to set.",
"enum": [
"water",
"mundane",
"long_mundane",
"thick",
"awkward",
"nightvision",
"long_nightvision",
"invisibility",
"long_invisibility",
"leaping",
"long_leaping",
"strong_leaping",
"fire_resistance",
"long_fire_resistance",
"swiftness",
"long_swiftness",
"strong_swiftness",
"slowness",
"long_slowness",
"strong_slowness",
"water_breathing",
"long_water_breathing",
"healing",
"strong_healing",
"harming",
"strong_harming",
"poison",
"long_poison",
"strong_poison",
"regeneration",
"long_regeneration",
"strong_regeneration",
"strength",
"long_strength",
"strong_strength",
"weakness",
"long_weakness",
"wither",
"turtle_master",
"long_turtle_master",
"strong_turtle_master",
"slow_falling",
"long_slow_falling",
"wind_charged",
"weaving",
"oozing",
"infested"
]
}
}
}