Skip to content

Commit

Permalink
v1.21.50.25-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
mammerla committed Oct 23, 2024
1 parent 563b7ad commit fcb3b03
Show file tree
Hide file tree
Showing 230 changed files with 6,902 additions and 3,842 deletions.
4 changes: 3 additions & 1 deletion behavior_pack/entities/bee.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@
"minecraft:pitcher_plant",
"minecraft:torchflower",
"minecraft:cherry_leaves",
"minecraft:pink_petals"
"minecraft:pink_petals",
"minecraft:open_eyeblossom", // Special-case flowers, not used for breeding/tempting/aging bees
"minecraft:closed_eyeblossom"
],
"on_stay_completed": [
{
Expand Down
119 changes: 99 additions & 20 deletions behavior_pack/entities/creaking.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"format_version": "1.21.50",
"use_beta_features": true,
"minecraft:entity": {
"description": {
"identifier": "minecraft:creaking",
Expand All @@ -9,7 +10,7 @@
"properties": {
"minecraft:creaking_state": {
"type": "enum",
"values": [ "neutral", "hostile_observed", "hostile_unobserved" ],
"values": [ "neutral", "hostile_observed", "hostile_unobserved", "twitching", "crumbling" ],
"default": "neutral",
"client_sync": true
}
Expand All @@ -29,9 +30,7 @@
"max": 1
},
"minecraft:attack": {
"damage": 2
},
"minecraft:fire_immune": {
"damage": 3
},
"minecraft:physics": {
},
Expand All @@ -45,11 +44,6 @@
"base_value": 1.0625, // 1 block + 1 pixel
"jump_prevented_value": 0.5625 // 0.5 blocks + 1 pixel
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_path_over_lava": true,
"avoid_damage_blocks": true
},
"minecraft:follow_range": {
"value": 32,
"max": 32
Expand All @@ -63,13 +57,34 @@
"component_groups": {
"minecraft:spawned_by_player": {
"minecraft:nameable": {
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_path_over_lava": false,
"avoid_damage_blocks": true
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava" },
"cause": "lava",
"damage_per_tick": 4
}
]
}
},
"minecraft:spawned_by_creaking_heart": {
"minecraft:transient": {
},
"minecraft:dimension_bound": {
},
"minecraft:fire_immune": {
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_path_over_lava": true,
"avoid_damage_blocks": false
},
"minecraft:home": {
"restriction_type": "all_movement",
"restriction_radius": 32
Expand Down Expand Up @@ -105,7 +120,7 @@
},
"minecraft:mobile": {
"minecraft:movement": {
"value": 0.3
"value": 0.4
},
"minecraft:knockback_resistance": {
"value": 0.0
Expand All @@ -128,6 +143,8 @@
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:body_rotation_blocked": {
}
},
"minecraft:neutral": {
Expand All @@ -152,7 +169,7 @@
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.667
"speed_multiplier": 0.5
}
},
"minecraft:hostile": {
Expand Down Expand Up @@ -195,13 +212,10 @@
]
}
},
"minecraft:hostile_observed": {
"minecraft:body_rotation_blocked": {
}
},
"minecraft:hostile_unobserved": {
"minecraft:behavior.melee_box_attack": {
"priority": 2
"priority": 2,
"cooldown_time": 2.0
}
},
"minecraft:swaying": {
Expand All @@ -214,6 +228,21 @@
"target": "self"
}
}
},
"minecraft:twitching": {
"minecraft:behavior.timer_flag_2": {
"priority": 0,
"cooldown_range": 0.0,
"duration_range": [ 2.25, 2.25 ],
"on_end": {
"event": "minecraft:crumble",
"target": "self"
}
}
},
"minecraft:crumbling": {
"minecraft:instant_despawn": {
}
}
},

Expand Down Expand Up @@ -243,7 +272,6 @@
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:hostile_observed",
"minecraft:immobile"
]
},
Expand Down Expand Up @@ -277,7 +305,6 @@
"remove": {
"component_groups": [
"minecraft:hostile",
"minecraft:hostile_observed",
"minecraft:hostile_unobserved",
"minecraft:immobile"
]
Expand All @@ -301,7 +328,6 @@
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:hostile_observed",
"minecraft:immobile"
]
},
Expand Down Expand Up @@ -336,7 +362,6 @@
"remove": {
"component_groups": [
"minecraft:neutral",
"minecraft:hostile_observed",
"minecraft:immobile"
]
},
Expand All @@ -350,6 +375,60 @@
"sound": "unfreeze"
}
},
"minecraft:start_twitching": {
"filters": {
"test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "twitching"
},
"add": {
"component_groups": [
"minecraft:immobile",
"minecraft:twitching"
]
},
"remove": {
"component_groups": [
"minecraft:neutral",
"minecraft:hostile",
"minecraft:hostile_unobserved",
"minecraft:mobile"
]
},
"set_property": {
"minecraft:creaking_state": "twitching"
}
},
"minecraft:crumble": {
"filters": {
"test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "crumbling"
},
"remove": {
"component_groups": [
"minecraft:neutral",
"minecraft:hostile",
"minecraft:hostile_unobserved",
"minecraft:twitching",
"minecraft:mobile"
]
},
"add": {
"component_groups": [
"minecraft:immobile",
"minecraft:crumbling"
]
},
"set_property": {
"minecraft:creaking_state": "crumbling"
},
"emit_vibration": {
"vibration": "entity_die"
},
"emit_particle": {
"particle": "creakingcrumble"
},
"play_sound": {
"sound": "death"
}
},
"minecraft:attacked_by_player": {
"trigger": "minecraft:start_swaying",
"execute_event_on_home_block": {
Expand Down
4 changes: 3 additions & 1 deletion behavior_pack/entities/ghast.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:cannot_be_attacked": {
}
}
}
}
}
28 changes: 28 additions & 0 deletions behavior_pack/loot_tables/chests/woodland_mansion.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,34 @@
}
],
"weight": 50
},
{
"type": "item",
"name": "minecraft:resin_clump",
"weight": 50,
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:resin_brick",
"weight": 50,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
Expand Down
26 changes: 26 additions & 0 deletions behavior_pack/recipes/chiseled_resin_bricks_from_slabs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"format_version": "1.21.50",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:chiseled_resin_bricks_from_slabs"
},
"tags": [ "crafting_table" ],
"pattern": [
"#",
"#"
],
"key": {
"#": {
"item": "minecraft:resin_brick_slab"
}
},
"unlock": [
{
"item": "minecraft:resin_brick"
}
],
"result": {
"item": "minecraft:chiseled_resin_bricks"
}
}
}
35 changes: 35 additions & 0 deletions behavior_pack/recipes/creaking_heart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"format_version": "1.21.50",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:creaking_heart"
},
"tags": [
"crafting_table"
],
"pattern": [
"#",
"R",
"#"
],
"key": {
"#": {
"item": "minecraft:pale_oak_log"
},
"R": {
"item": "minecraft:resin_block"
}
},
"unlock": [
{
"item": "minecraft:pale_oak_log"
},
{
"item": "minecraft:resin_block"
}
],
"result": {
"item": "minecraft:creaking_heart"
}
}
}
12 changes: 12 additions & 0 deletions behavior_pack/recipes/furnace_resin_brick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"format_version": "1.21.50",
"minecraft:recipe_furnace": {
"description": {
"identifier": "minecraft:furnace_resin_brick"
},

"tags": [ "furnace" ],
"input": "minecraft:resin_clump",
"output": "minecraft:resin_brick"
}
}
25 changes: 25 additions & 0 deletions behavior_pack/recipes/gray_dye_from_closed_eyeblossom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"format_version": "1.21.40",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:gray_dye_from_closed_eyeblossom"
},
"tags": [
"crafting_table"
],
"group": "gray_dye",
"ingredients": [
{
"item": "minecraft:closed_eyeblossom"
}
],
"unlock": [
{
"item": "minecraft:closed_eyeblossom"
}
],
"result": {
"item": "minecraft:gray_dye"
}
}
}
Loading

0 comments on commit fcb3b03

Please sign in to comment.