Skip to content

Commit

Permalink
v1.21.20.21-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
mammerla committed Jun 27, 2024
1 parent bf54a19 commit 4f6f952
Show file tree
Hide file tree
Showing 210 changed files with 39,645 additions and 5,596 deletions.
12 changes: 6 additions & 6 deletions behavior_pack/entities/bee.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"minecraft:oxeye_daisy",
"minecraft:cornflower",
"minecraft:lily_of_the_valley",
"minecraft:yellow_flower", // Dandelion
"minecraft:dandelion",
"minecraft:wither_rose",
"minecraft:sunflower",
"minecraft:lilac",
Expand Down Expand Up @@ -90,7 +90,7 @@
"minecraft:oxeye_daisy",
"minecraft:cornflower",
"minecraft:lily_of_the_valley",
"minecraft:yellow_flower", // Dandelion
"minecraft:dandelion",
"minecraft:wither_rose",
"minecraft:sunflower",
"minecraft:lilac",
Expand Down Expand Up @@ -230,7 +230,7 @@
"minecraft:oxeye_daisy",
"minecraft:cornflower",
"minecraft:lily_of_the_valley",
"minecraft:yellow_flower", // Dandelion
"minecraft:dandelion",
"minecraft:wither_rose",
"minecraft:sunflower",
"minecraft:lilac",
Expand Down Expand Up @@ -453,7 +453,7 @@
"minecraft:oxeye_daisy",
"minecraft:cornflower",
"minecraft:lily_of_the_valley",
"minecraft:yellow_flower", // Dandelion
"minecraft:dandelion",
"minecraft:wither_rose",
"minecraft:sunflower",
"minecraft:lilac",
Expand Down Expand Up @@ -498,8 +498,8 @@
"target": "self"
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
"totalSupply": 0,
"suffocateTime": -1
},
"minecraft:collision_box": {
"width": 0.55,
Expand Down
37 changes: 21 additions & 16 deletions behavior_pack/entities/breeze.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,29 @@
],
"must_see": true
},
"minecraft:behavior.move_away_from_target": {
"minecraft:behavior.fire_at_target": {
"projectile_def": "minecraft:breeze_wind_charge_projectile",
"priority": 2,
"filters": {
"all_of": [
{ "test": "is_navigating", "value": false }
]
},
"attack_range": [ 2, 16 ],
"attack_cooldown": 0.5,
"pre_shoot_delay": 0.75,
"post_shoot_delay": 0.2,
"ranged_fov": 90.0,
"owner_anchor": 2,
"owner_offset": [ 0.0, 0.3, 0.0 ],
"target_anchor": 0,
"target_offset": [ 0.0, 0.5, 0.0 ]
},
"minecraft:behavior.move_away_from_target": {
"priority": 3,
"destination_position_range": [4.0, 8.0],
"movement_speed": 1.2,
"destination_pos_spread_degrees": 90,
"destination_pos_spread_degrees": 360,
"filters": {
"all_of": [
{
Expand All @@ -194,25 +212,12 @@
{
"test": "target_distance",
"subject": "self",
"value": 4.0,
"value": 24.0,
"operator": "<="
}
]
}
},
"minecraft:behavior.fire_at_target": {
"projectile_def": "minecraft:breeze_wind_charge_projectile",
"priority": 3,
"attack_range": [ 2, 16 ],
"attack_cooldown": 0.5,
"pre_shoot_delay": 0.75,
"post_shoot_delay": 0.2,
"ranged_fov": 90.0,
"owner_anchor": 2,
"owner_offset": [ 0.0, 0.3, 0.0 ],
"target_anchor": 0,
"target_offset": [ 0.0, 0.5, 0.0 ]
},
"minecraft:behavior.hurt_by_target": {
"priority": 4,
"entity_types": [
Expand Down
3 changes: 3 additions & 0 deletions behavior_pack/entities/dolphin.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@
},
"minecraft:can_climb": {
},
"minecraft:behavior.swim_up_for_breath": {
"priority": 1
},
"minecraft:behavior.swim_with_entity": {
"priority": 4,
"success_rate": 0.1,
Expand Down
5 changes: 4 additions & 1 deletion behavior_pack/entities/iron_golem.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format_version": "1.21.10",
"format_version": "1.21.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:iron_golem",
Expand Down Expand Up @@ -165,6 +165,9 @@
"cracked_stone_bricks",
"chiseled_stone_bricks",
"sandstone",
"cut_sandstone",
"chiseled_sandstone",
"smooth_sandstone",
"mossy_cobblestone",
"smooth_stone_slab",
"sandstone_slab",
Expand Down
2 changes: 1 addition & 1 deletion behavior_pack/entities/mooshroom.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"on_interact": {
"filters": { // Dandelion
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "yellow_flower"},
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dandelion"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 5}
Expand Down
6 changes: 3 additions & 3 deletions behavior_pack/entities/rabbit.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"feed_items": [
"golden_carrot",
"carrot",
"yellow_flower"
"dandelion"
],
"grow_up": {
"event": "grow_up",
Expand Down Expand Up @@ -52,7 +52,7 @@
"breed_items": [
"golden_carrot",
"carrot",
"yellow_flower"
"dandelion"
],
"breeds_with": {
"mate_type": "minecraft:rabbit",
Expand Down Expand Up @@ -183,7 +183,7 @@
"items": [
"golden_carrot",
"carrot",
"yellow_flower"
"dandelion"
]
},
"minecraft:behavior.raid_garden": {
Expand Down
2 changes: 1 addition & 1 deletion behavior_pack/entities/ravager.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
"vine",
"waterlily",
"wheat",
"yellow_flower",
"dandelion",
"azalea",
"flowering_azalea",
"azalea_leaves",
Expand Down
8 changes: 7 additions & 1 deletion behavior_pack/entities/villager_v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format_version": "1.21.10",
"format_version": "1.21.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:villager_v2",
Expand Down Expand Up @@ -1492,6 +1492,9 @@
"cracked_stone_bricks",
"chiseled_stone_bricks",
"sandstone",
"cut_sandstone",
"chiseled_sandstone",
"smooth_sandstone",
"mossy_cobblestone",
"smooth_stone_slab",
"sandstone_slab",
Expand Down Expand Up @@ -1647,6 +1650,9 @@
"cracked_stone_bricks",
"chiseled_stone_bricks",
"sandstone",
"cut_sandstone",
"chiseled_sandstone",
"smooth_sandstone",
"mossy_cobblestone",
"smooth_stone_slab",
"sandstone_slab",
Expand Down
1 change: 1 addition & 0 deletions behavior_pack/entities/wind_charge_projectile.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"on_hit": {
"impact_damage": {
"damage": 1,
"max_critical_damage": 1.0,
"knockback": true
},
"wind_burst_on_hit": {}
Expand Down
32 changes: 32 additions & 0 deletions behavior_pack/entities/zoglin.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,28 @@
"minecraft:attack": {
"damage": [ 3, 8 ]
}
},
"angry_zoglin": {
"minecraft:angry": {
"duration": 10,
"calm_event": {
"event": "become_calm_event",
"target": "self"
},
"angry_sound": "angry",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
}
}
},

"components": {
"minecraft:on_target_acquired": {
"event": "become_angry_event",
"target": "self"
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
Expand Down Expand Up @@ -173,6 +191,20 @@
},

"events": {
"become_angry_event": {
"add": {
"component_groups": [
"angry_zoglin"
]
}
},
"become_calm_event": {
"remove": {
"component_groups": [
"angry_zoglin"
]
}
},
"minecraft:entity_transformed": {
"sequence": [
{
Expand Down
62 changes: 31 additions & 31 deletions behavior_pack/items/pufferfish.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "minecraft:pufferfish"
},
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "minecraft:pufferfish"
},

"components": {
"minecraft:use_duration": 32,
"minecraft:max_damage": 0,
"minecraft:stacked_by_data": true,
"components": {
"minecraft:use_duration": 32,
"minecraft:max_damage": 0,
"minecraft:stacked_by_data": true,

"minecraft:food": {
"nutrition": 1,
"saturation_modifier": "poor",
"effects": [
{
"name": "poison",
"duration": 60,
"amplifier": 1
},
{
"name": "nausea", // confusion
"duration": 15,
"amplifier": 1
},
{
"name": "hunger",
"duration": 15,
"amplifier": 2
}
]
}
"minecraft:food": {
"nutrition": 1,
"saturation_modifier": "poor",
"effects": [
{
"name": "poison",
"duration": 60,
"amplifier": 1
},
{
"name": "nausea", // confusion
"duration": 15,
"amplifier": 0
},
{
"name": "hunger",
"duration": 15,
"amplifier": 2
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"type": "item",
"weight": 2,
"name": "minecraft:yellow_flower"
"name": "minecraft:dandelion"
},
{
"type": "item",
Expand Down
2 changes: 1 addition & 1 deletion behavior_pack/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Vanilla Behavior Pack",
"uuid": "ee649bcf-256c-4013-9068-6a802b89d756",
"version": [ 0, 0, 1 ],
"min_engine_version": [ 1, 21, 10 ]
"min_engine_version": [ 1, 21, 20 ]
},
"modules": [
{
Expand Down
12 changes: 8 additions & 4 deletions behavior_pack/recipes/furnace_sandstone.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
},
"unlock": [
{
"item": "minecraft:sandstone"
"item": "minecraft:sandstone",
"data": 0
}
],
"tags": [ "furnace" ],
"input": "minecraft:sandstone",
"output": "minecraft:sandstone:3"
"tags": [ "furnace" ],
"input": {
"item": "minecraft:sandstone",
"data": 0
},
"output": "minecraft:smooth_sandstone"
}
}
Loading

0 comments on commit 4f6f952

Please sign in to comment.