Skip to content

Commit

Permalink
v1.21.50.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mammerla committed Dec 3, 2024
1 parent 6e0daa7 commit 5ce6576
Show file tree
Hide file tree
Showing 593 changed files with 82,653 additions and 8,689 deletions.
118 changes: 112 additions & 6 deletions behavior_pack/entities/bee.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format_version": "1.20.60",
"format_version": "1.21.50",
"minecraft:entity": {
"description": {
"identifier": "minecraft:bee",
Expand Down Expand Up @@ -116,6 +116,7 @@
"duration": 25,
"broadcastAnger": true,
"broadcastRange": 20,
"broadcast_anger_when_dying": false,
"broadcast_filters": {
"test": "is_family", "operator": "!=", "value": "pacified"
},
Expand Down Expand Up @@ -242,7 +243,8 @@
"minecraft:pitcher_plant",
"minecraft:torchflower",
"minecraft:cherry_leaves",
"minecraft:pink_petals"
"minecraft:pink_petals",
"minecraft:open_eyeblossom"
],
"on_stay_completed": [
{
Expand Down Expand Up @@ -430,6 +432,48 @@
"range": 0.0,
"value": 0.0
}
},
"add_poison_effect": {
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "poison",
"duration": 25,
"display_on_screen_animation": true
}
],
"remove_effects": "poison"
},
"minecraft:behavior.timer_flag_1": {
"priority": 0,
"cooldown_range": 0.0,
"duration_range": [ 0.05, 0.05 ],
"on_end": {
"event": "minecraft:on_poison_effect_added",
"target": "self"
}
}
},
"add_wither_effect": {
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "wither",
"duration": 40,
"display_on_screen_animation": true
}
],
"remove_effects": "wither"
},
"minecraft:behavior.timer_flag_1": {
"priority": 0,
"cooldown_range": 0.0,
"duration_range": [ 0.05, 0.05 ],
"on_end": {
"event": "minecraft:on_wither_effect_added",
"target": "self"
}
}
}
},

Expand Down Expand Up @@ -465,7 +509,8 @@
"minecraft:pitcher_plant",
"minecraft:torchflower",
"minecraft:cherry_leaves",
"minecraft:pink_petals"
"minecraft:pink_petals",
"minecraft:open_eyeblossom"
]
},
"minecraft:behavior.move_towards_home_restriction": {
Expand Down Expand Up @@ -511,6 +556,7 @@
"emit_flap": true
},
"minecraft:home": {
"restriction_type": "random_movement",
"restriction_radius": 22,
"home_block_list": [
"minecraft:bee_nest",
Expand All @@ -524,23 +570,23 @@
"triggers": [
{
"cause": "fall",
"deals_damage": false
"deals_damage": "no"
},
{
"on_damage": {
"filters": {
"test": "is_block", "subject": "block", "value": "minecraft:sweet_berry_bush"
}
},
"deals_damage": false
"deals_damage": "no"
}
]
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava", "subject": "self", "operator": "==", "value": true
"test": "in_lava", "subject": "self"
},
"cause": "lava",
"damage_per_tick": 4
Expand Down Expand Up @@ -598,6 +644,38 @@
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject" : "other", "value" : "player"},
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "minecraft:open_eyeblossom" }
]
},
"event": "fed_open_eyeblossom"
},
"use_item": true,
"particle_on_start": { "particle_type": "food" },
"interact_text": "action.interact.feed"
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject" : "other", "value" : "player"},
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "minecraft:wither_rose"}
]
},
"event": "fed_wither_rose"
},
"use_item": true,
"particle_on_start": { "particle_type": "food" },
"interact_text": "action.interact.feed"
}
]
}
},

Expand Down Expand Up @@ -948,6 +1026,34 @@
"perish"
]
}
},
"fed_open_eyeblossom": {
"add": {
"component_groups": [
"add_poison_effect"
]
}
},
"on_poison_effect_added": {
"remove": {
"component_groups": [
"add_poison_effect"
]
}
},
"fed_wither_rose": {
"add": {
"component_groups": [
"add_wither_effect"
]
}
},
"on_wither_effect_added": {
"remove": {
"component_groups": [
"add_wither_effect"
]
}
}
}
}
Expand Down
Loading

0 comments on commit 5ce6576

Please sign in to comment.