mirror of
https://github.com/guilhermewerner/tcc
synced 2025-06-17 07:25:14 +00:00
Add minecraft bedrock server
This commit is contained in:
870
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/bee.json
vendored
Normal file
870
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/bee.json
vendored
Normal file
@ -0,0 +1,870 @@
|
||||
{
|
||||
"format_version": "1.18.20",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bee",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false,
|
||||
"properties": {
|
||||
"minecraft:has_nectar": {
|
||||
"type": "bool",
|
||||
"client_sync": true,
|
||||
"default": "query.had_component_group('has_nectar')"
|
||||
}
|
||||
}
|
||||
},
|
||||
"component_groups": {
|
||||
"bee_baby": {
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering Azalea
|
||||
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
|
||||
"minecraft:mangrove_propagule"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 11, // This has to be lower priority than move to block goal so that bee seek shelter in rain instead of following parents
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
"bee_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:bee",
|
||||
"baby_type": "minecraft:bee",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering Azalea
|
||||
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
|
||||
"minecraft:mangrove_propagule"
|
||||
]
|
||||
}
|
||||
},
|
||||
"track_attacker": {
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
}
|
||||
},
|
||||
"angry_bee": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcastAnger": true,
|
||||
"broadcastRange": 20,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "!=",
|
||||
"value": "pacified"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "calmed_down",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"attack_once": true,
|
||||
"speed_multiplier": 1.4,
|
||||
"on_attack": {
|
||||
"event": "countdown_to_perish_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"escape_fire": {
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"force": true
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [20,50],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "stop_panicking_after_fire",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"countdown_to_perish": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"force": true
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [10, 60],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "perish_event",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bee", "mob", "arthropod", "pacified" ]
|
||||
}
|
||||
},
|
||||
"perish": {
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"cause": "none",
|
||||
"damage_per_tick": 999
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"take_nearest_target": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": true,
|
||||
"time": 5,
|
||||
"time_down_event": {
|
||||
"event": "calmed_down",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"look_for_food": {
|
||||
"minecraft:behavior.move_to_block": {
|
||||
"priority": 10,
|
||||
"tick_interval": 1,
|
||||
"start_chance": 0.5,
|
||||
"search_range": 6,
|
||||
"search_height": 4,
|
||||
"goal_radius": 1.0,
|
||||
"stay_duration": 20.0,
|
||||
"target_selection_method": "random",
|
||||
"target_offset": [0, 0.25, 0],
|
||||
"target_block_filters": { "test": "is_waterlogged", "subject": "block", "operator": "==", "value": false },
|
||||
"target_blocks": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:8", // Sunflower top
|
||||
"minecraft:double_plant:9", // Lilac top
|
||||
"minecraft:double_plant:12", // Rose Bush top
|
||||
"minecraft:double_plant:13", // Peony top
|
||||
"minecraft:flowering_azalea", //Flowering azalea
|
||||
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
|
||||
"minecraft:mangrove_propagule"
|
||||
],
|
||||
"on_stay_completed": [
|
||||
{
|
||||
"event": "collected_nectar",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": true,
|
||||
"time": 180,
|
||||
"time_down_event": {
|
||||
"event": "find_flower_timeout"
|
||||
}
|
||||
},
|
||||
"minecraft:ambient_sound_interval" :{
|
||||
"event_name" : "ambient.pollinate",
|
||||
"range" : 3.0,
|
||||
"value" : 2.0
|
||||
}
|
||||
},
|
||||
"has_nectar": {
|
||||
"minecraft:grows_crop": {
|
||||
"charges": 10,
|
||||
"chance": 0.03
|
||||
}
|
||||
},
|
||||
"return_to_home": {
|
||||
"minecraft:behavior.go_home": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 1,
|
||||
"goal_radius": 1.2,
|
||||
"on_home": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of":[
|
||||
{ "test": "is_block", "subject": "block", "value": "minecraft:bee_nest" },
|
||||
{ "test": "is_block", "subject": "block", "value": "minecraft:beehive" }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:bee_returned_to_hive",
|
||||
"target": "block"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of":[
|
||||
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:bee_nest" },
|
||||
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:beehive" }
|
||||
]
|
||||
},
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
],
|
||||
"on_failed": [
|
||||
{
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive": {
|
||||
"minecraft:behavior.move_to_block": {
|
||||
"priority": 10,
|
||||
"search_range": 16,
|
||||
"search_height": 10,
|
||||
"tick_interval": 1,
|
||||
"goal_radius": 0.633, // was tested with 0.4 when the goal radius wasn't squared. sqrt(0.4)~0.633
|
||||
"target_blocks": [
|
||||
"bee_nest",
|
||||
"beehive"
|
||||
],
|
||||
"on_reach": [
|
||||
{
|
||||
"event": "minecraft:bee_returned_to_hive",
|
||||
"target": "block"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 180,
|
||||
"time_down_event": {
|
||||
"event": "find_hive_timeout",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"hive_full": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [5, 20],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"shelter_detection": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"event": "seek_shelter",
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "weather",
|
||||
"operator": "==",
|
||||
"value": "precipitation"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ // Assume we are already going home if we have nectar
|
||||
"test": "bool_property",
|
||||
"domain": "minecraft:has_nectar",
|
||||
"operator": "!="
|
||||
},
|
||||
{ // Assume we are already going home if we have nectar
|
||||
"test": "has_biome_tag",
|
||||
"value": "overworld"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"abort_shelter_detection": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"event": "abort_sheltering",
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "weather",
|
||||
"operator": "==",
|
||||
"value": "clear"
|
||||
},
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"easy_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
}
|
||||
},
|
||||
"normal_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 10
|
||||
}
|
||||
},
|
||||
"hard_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 18
|
||||
}
|
||||
},
|
||||
"default_sound" : {
|
||||
"minecraft:ambient_sound_interval" :{
|
||||
"event_name" : "ambient",
|
||||
"range" : 0.0,
|
||||
"value" : 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"within_radius": 8,
|
||||
"can_tempt_vertically": true,
|
||||
"items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering azalea
|
||||
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
|
||||
"minecraft:mangrove_propagule"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_towards_home_restriction": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.random_hover": {
|
||||
"priority": 12,
|
||||
"xz_dist": 8,
|
||||
"y_dist": 8,
|
||||
"y_offset": -1,
|
||||
"interval": 1,
|
||||
"hover_height": [1, 4]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 19
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bee", "mob", "arthropod" ]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "attacked",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"totalSupply": 15,
|
||||
"suffocateTime": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.55,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:game_event_movement_tracking": {
|
||||
"emit_flap": true
|
||||
},
|
||||
"minecraft:home": {
|
||||
"restriction_radius": 22,
|
||||
"home_block_list": [
|
||||
"minecraft:bee_nest",
|
||||
"minecraft:beehive"
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 1024
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:flying_speed": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:navigation.hover": {
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false,
|
||||
"can_pass_doors": false,
|
||||
"can_path_from_air": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true,
|
||||
"avoid_sun": false
|
||||
},
|
||||
"minecraft:movement.hover": {},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:can_fly": {},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:block_sensor": {
|
||||
"sensor_radius": 16,
|
||||
"sources" : [
|
||||
{
|
||||
"test": "has_silk_touch",
|
||||
"subject": "other",
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"on_break": [
|
||||
{
|
||||
"block_list": [
|
||||
"minecraft:beehive", "minecraft:bee_nest"
|
||||
],
|
||||
"on_block_broken": "hive_destroyed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"track_attacker",
|
||||
"shelter_detection",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_baby",
|
||||
"shelter_detection",
|
||||
"track_attacker",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"bee_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_disturbed_hive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"abort_shelter_detection",
|
||||
"shelter_detection",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": false
|
||||
}
|
||||
},
|
||||
"hive_destroyed": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "pacified"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"stop_panicking_after_fire" : {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_hive_on_fire": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_hive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food",
|
||||
"shelter_detection"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"abort_shelter_detection"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": false
|
||||
}
|
||||
},
|
||||
"minecraft:hive_full": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attacked": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"angry_bee"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||
"remove": {
|
||||
"component_groups": [ "normal_attack", "hard_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "easy_attack" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "normal"},
|
||||
"remove": {
|
||||
"component_groups": [ "easy_attack", "hard_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "normal_attack" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||
"remove": {
|
||||
"component_groups": [ "easy_attack", "normal_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "hard_attack" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"calmed_down": {
|
||||
"add" : {
|
||||
"component_groups": [
|
||||
"shelter_detection",
|
||||
"return_to_home"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_bee",
|
||||
"take_nearest_target"
|
||||
]
|
||||
}
|
||||
},
|
||||
"collected_nectar": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"default_sound"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": true
|
||||
}
|
||||
},
|
||||
"find_hive_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_timeout": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "bool_property",
|
||||
"operator": "!=",
|
||||
"domain": "minecraft:has_nectar"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "bool_property",
|
||||
"domain": "minecraft:has_nectar"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"find_flower_timeout": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
},
|
||||
"seek_shelter": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food",
|
||||
"collect_nectar",
|
||||
"shelter_detection"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"default_sound",
|
||||
"return_to_home",
|
||||
"abort_shelter_detection"
|
||||
]
|
||||
}
|
||||
},
|
||||
"abort_sheltering": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"abort_shelter_detection",
|
||||
"return_to_home",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"shelter_detection",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"countdown_to_perish_event" : {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"collect_nectar",
|
||||
"track_attacker",
|
||||
"take_nearest_target",
|
||||
"look_for_food",
|
||||
"angry_bee",
|
||||
"hive_full",
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"countdown_to_perish"
|
||||
]
|
||||
}
|
||||
},
|
||||
"perish_event":{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"perish"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
222
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/enderman.json
vendored
Normal file
222
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/enderman.json
vendored
Normal file
@ -0,0 +1,222 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:enderman",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:enderman_calm": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:enderman_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.45
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "enderman", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/enderman.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
},
|
||||
{
|
||||
"filters": { "test": "in_contact_with_water", "operator": "==", "value": true },
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 7
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64,
|
||||
"max": 64
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 2.9
|
||||
},
|
||||
"minecraft:teleport": {
|
||||
"random_teleports": true,
|
||||
"max_random_teleport_time": 30,
|
||||
"random_teleport_cube": [ 32, 32, 32 ],
|
||||
"target_distance": 16,
|
||||
"target_teleport_chance": 0.05,
|
||||
"light_teleport_chance": 0.05
|
||||
},
|
||||
"minecraft:lookat": {
|
||||
"search_radius": 64.0,
|
||||
"set_target": true,
|
||||
"look_cooldown": 5.0,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "head",
|
||||
"subject": "other",
|
||||
"operator": "not",
|
||||
"value": "carved_pumpkin"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"must_see": true,
|
||||
"attack_interval": 10,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "endermite"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 8.0,
|
||||
"probability": 8.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.enderman_leave_block": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.enderman_take_block": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 10,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
},
|
||||
"minecraft:variable_max_auto_step": {
|
||||
"base_value": 1.0625, // 1 block + 1 pixel
|
||||
"jump_prevented_value": 0.5625 // 0.5 blocks + 1 pixel
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
382
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/iron_golem.json
vendored
Normal file
382
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/iron_golem.json
vendored
Normal file
@ -0,0 +1,382 @@
|
||||
{
|
||||
"format_version": "1.19.50",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:iron_golem",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:player_created": {
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:village_created": {
|
||||
"minecraft:behavior.defend_village_target": {
|
||||
"priority": 1,
|
||||
"must_reach": true,
|
||||
"attack_chance": 0.05,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "test": "is_family", "subject": "other", "value": "player" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "defender",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "irongolem", "mob" ]
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 2.9
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/iron_golem.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 100,
|
||||
"max": 100
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "hand",
|
||||
"subject": "other",
|
||||
"value": "iron_ingot"
|
||||
},
|
||||
{
|
||||
"test": "is_missing_health",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"health_amount": 25,
|
||||
"play_sounds": "irongolem.repair",
|
||||
"interact_text": "action.interact.repair"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": {
|
||||
"range_min": 7,
|
||||
"range_max": 21
|
||||
}
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 2.0
|
||||
},
|
||||
"minecraft:preferred_path": {
|
||||
"max_fall_blocks": 1,
|
||||
"jump_cost": 5,
|
||||
"default_block_cost": 1.5,
|
||||
"preferred_path_blocks": [
|
||||
{
|
||||
"cost": 0,
|
||||
"blocks": [
|
||||
"grass_path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost": 1,
|
||||
"blocks": [
|
||||
"cobblestone",
|
||||
"stone",
|
||||
"stonebrick",
|
||||
"sandstone",
|
||||
"mossy_cobblestone",
|
||||
"stone_slab",
|
||||
"stone_slab2",
|
||||
"stone_slab3",
|
||||
"stone_slab4",
|
||||
"double_stone_slab",
|
||||
"double_stone_slab2",
|
||||
"double_stone_slab3",
|
||||
"double_stone_slab4",
|
||||
"wooden_slab",
|
||||
"double_wooden_slab",
|
||||
"planks",
|
||||
"brick_block",
|
||||
"nether_brick",
|
||||
"red_nether_brick",
|
||||
"end_bricks",
|
||||
"red_sandstone",
|
||||
"stained_glass",
|
||||
"glass",
|
||||
"glowstone",
|
||||
"prismarine",
|
||||
"emerald_block",
|
||||
"diamond_block",
|
||||
"lapis_block",
|
||||
"gold_block",
|
||||
"redstone_block",
|
||||
"purple_glazed_terracotta",
|
||||
"white_glazed_terracotta",
|
||||
"orange_glazed_terracotta",
|
||||
"magenta_glazed_terracotta",
|
||||
"light_blue_glazed_terracotta",
|
||||
"yellow_glazed_terracotta",
|
||||
"lime_glazed_terracotta",
|
||||
"pink_glazed_terracotta",
|
||||
"gray_glazed_terracotta",
|
||||
"silver_glazed_terracotta",
|
||||
"cyan_glazed_terracotta",
|
||||
"blue_glazed_terracotta",
|
||||
"brown_glazed_terracotta",
|
||||
"green_glazed_terracotta",
|
||||
"red_glazed_terracotta",
|
||||
"black_glazed_terracotta"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost": 50,
|
||||
"blocks": [
|
||||
"bed",
|
||||
"lectern",
|
||||
"composter",
|
||||
"grindstone",
|
||||
"blast_furnace",
|
||||
"smoker",
|
||||
"fletching_table",
|
||||
"cartography_table",
|
||||
"brewing_stand",
|
||||
"smithing_table",
|
||||
"cauldron",
|
||||
"barrel",
|
||||
"loom",
|
||||
"stonecutter"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.target_when_pushed": {
|
||||
"priority": 1,
|
||||
"percent_chance": 5.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "monster" },
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_target": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.9,
|
||||
"within_radius": 32
|
||||
},
|
||||
"minecraft:behavior.move_through_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6,
|
||||
"only_at_night": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_dwelling_restriction": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.offer_flower": {
|
||||
"priority": 5,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_daytime", "value" : true }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.6,
|
||||
"xz_dist": 16
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"must_reach": true,
|
||||
"must_see": true,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "monster"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "creeper"
|
||||
}
|
||||
]
|
||||
},
|
||||
"within_default": 10
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "hoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_difficulty",
|
||||
"operator": "!=",
|
||||
"value": "peaceful"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "zoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_difficulty",
|
||||
"operator": "!=",
|
||||
"value": "peaceful"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "creeper" }
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:from_player": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:player_created"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:from_village": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:village_created"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
281
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/magma_cube.json
vendored
Normal file
281
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/magma_cube.json
vendored
Normal file
@ -0,0 +1,281 @@
|
||||
{
|
||||
"format_version": "1.19.50",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:magma_cube",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 2.08,
|
||||
"height": 2.08
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.75
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.15,
|
||||
"damage_per_tick": 6,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "entity_attack",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/magma_cube.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_medium": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.04,
|
||||
"height": 1.02
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.66
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.15,
|
||||
"damage_per_tick": 4,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "entity_attack",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/magma_cube.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_small": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.52,
|
||||
"height": 0.52
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.15,
|
||||
"damage_per_tick": 3,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "entity_attack",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_calm": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 2.0, 6.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:slime_aggressive": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.667, 2.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? query.variant : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "magmacube", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_lava": true
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:burns_in_daylight": false,
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 2.0, 6.0 ]
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggressive",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.slime_float": {
|
||||
"priority": 1,
|
||||
"jump_chance_percentage": 0.8,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4,
|
||||
"add_random_time_range": 3,
|
||||
"turn_range": 360,
|
||||
"min_change_direction_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_small"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_medium"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_large"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_small": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_small",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_medium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_medium",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_large": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_large",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
210
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/player.json
vendored
Normal file
210
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/player.json
vendored
Normal file
@ -0,0 +1,210 @@
|
||||
{
|
||||
"format_version": "1.18.20",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:player",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:add_bad_omen": {
|
||||
"minecraft:spell_effects": {
|
||||
"add_effects": [
|
||||
{
|
||||
"effect": "bad_omen",
|
||||
"duration": 6000,
|
||||
"visible": false,
|
||||
"display_on_screen_animation": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"time": [ 0.0, 0.0 ],
|
||||
"looping": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:clear_add_bad_omen",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:clear_bad_omen_spell_effect": {
|
||||
"minecraft:spell_effects": {
|
||||
}
|
||||
},
|
||||
"minecraft:raid_trigger": {
|
||||
"minecraft:raid_trigger": {
|
||||
"triggered_event": {
|
||||
"event": "minecraft:remove_raid_trigger",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:spell_effects": {
|
||||
"remove_effects": "bad_omen"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "Math.Min(query.player_level * 7, 100)"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "player" ]
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/empty.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
},
|
||||
"minecraft:exhaustion_values": {
|
||||
"heal": 6,
|
||||
"jump": 0.05,
|
||||
"sprint_jump": 0.2,
|
||||
"mine": 0.005,
|
||||
"attack": 0.1,
|
||||
"damage": 0.1,
|
||||
"walk": 0.0,
|
||||
"sprint": 0.1,
|
||||
"swim": 0.01
|
||||
},
|
||||
"minecraft:player.saturation": {
|
||||
"value": 5,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:player.exhaustion": {
|
||||
"value": 0,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:player.level": {
|
||||
"value": 0,
|
||||
"max": 24791
|
||||
},
|
||||
"minecraft:player.experience": {
|
||||
"value": 0,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": -1,
|
||||
"inhale_time": 3.75,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"always_show": true,
|
||||
"allow_name_tag_renaming": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"push_towards_closest_space": true
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:insomnia": {
|
||||
"days_until_insomnia": 3
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"family_types": [
|
||||
"parrot_tame"
|
||||
],
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 0,
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ -0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 1,
|
||||
"max_rider_count": 2,
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:block_climber": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_mob_effect",
|
||||
"subject": "self",
|
||||
"value": "bad_omen"
|
||||
},
|
||||
{
|
||||
"test": "is_in_village",
|
||||
"subject": "self",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:trigger_raid"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:gain_bad_omen": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:add_bad_omen"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:clear_add_bad_omen": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:add_bad_omen"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:clear_bad_omen_spell_effect"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:trigger_raid": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:raid_trigger" ]
|
||||
}
|
||||
},
|
||||
"minecraft:remove_raid_trigger": {
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:raid_trigger" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
322
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/pufferfish.json
vendored
Normal file
322
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/pufferfish.json
vendored
Normal file
@ -0,0 +1,322 @@
|
||||
{
|
||||
"format_version": "1.19.50",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pufferfish",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:normal_puff": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.5,
|
||||
"relative_range": false,
|
||||
"minimum_count": 1,
|
||||
"event_filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:start_half_puff"
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_primary": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_half_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_secondary": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.5,
|
||||
"relative_range": false,
|
||||
"minimum_count": 1,
|
||||
"event_filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:start_full_puff"
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_normal_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:full_puff": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.2,
|
||||
"damage_per_tick": 2,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "contact",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "monster" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:mob_effect": {
|
||||
"effect_range": 0.2,
|
||||
"mob_effect": "poison",
|
||||
"effect_time": 10,
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "monster" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:deflate_sensor_buffer": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 0.01,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_full_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:deflate_sensor": {
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.9,
|
||||
"relative_range": false,
|
||||
"require_all": true,
|
||||
"event_filters": {
|
||||
"none_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
],
|
||||
"test": "distance_to_nearest_player", "operator": ">", "value": 2.9
|
||||
},
|
||||
"event": "minecraft:from_full_puff"
|
||||
}
|
||||
},
|
||||
"minecraft:start_deflate": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_deflate"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pufferfish", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.8,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pufferfish.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.2
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 3,
|
||||
"max": 3
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.13
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.13
|
||||
},
|
||||
"minecraft:navigation.generic": { // Allows the mob to go through water
|
||||
"is_amphibious": false,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": false,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
"sway_amplitude": 0.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"xz_dist": 16,
|
||||
"y_dist": 4,
|
||||
"interval": 0
|
||||
},
|
||||
"minecraft:behavior.swim_wander": {
|
||||
"priority": 5,
|
||||
"interval": 1.0,
|
||||
"look_ahead": 2.0,
|
||||
"speed_multiplier": 1.0,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "axolotl"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 6,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": true,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 3.0,
|
||||
"breach_influence": 7.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 0.95,
|
||||
"cohesion_weight": 2.0,
|
||||
"cohesion_threshold": 1.95,
|
||||
"innner_cohesion_threshold": 1.25,
|
||||
"min_height": 1.5,
|
||||
"max_height": 6.0,
|
||||
"block_distance": 2.0,
|
||||
"block_weight": 0.85
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:normal_puff" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:to_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
|
||||
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_half_puff": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_primary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_half_puff": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_primary" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:deflate_sensor" ] },
|
||||
"remove": { "component_groups": [ "minecraft:deflate_sensor_buffer" ] }
|
||||
},
|
||||
|
||||
"minecraft:from_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:start_deflate" ] },
|
||||
"remove": { "component_groups": [ "minecraft:deflate_sensor" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_deflate": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:full_puff", "minecraft:start_deflate" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_normal_puff": {
|
||||
"add": { "component_groups": [ "minecraft:normal_puff" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
271
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/slime.json
vendored
Normal file
271
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/slime.json
vendored
Normal file
@ -0,0 +1,271 @@
|
||||
{
|
||||
"format_version": "1.19.50",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:slime",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 2.08,
|
||||
"height": 2.08
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.15,
|
||||
"damage_per_tick": 4,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "entity_attack",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "snowgolem" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_medium": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.04,
|
||||
"height": 1.04
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.15,
|
||||
"damage_per_tick": 2,
|
||||
"damage_cooldown" : 0.5,
|
||||
"cause": "entity_attack",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "snowgolem" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_small": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.52,
|
||||
"height": 0.52
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/slime.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_calm": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.5, 1.5 ]
|
||||
}
|
||||
},
|
||||
"minecraft:slime_aggressive": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.16, 0.5 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? query.variant : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "slime", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.5, 1.5 ]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggressive",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.slime_float": {
|
||||
"priority": 1,
|
||||
"jump_chance_percentage": 0.8,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4,
|
||||
"add_random_time_range": 3,
|
||||
"turn_range": 360,
|
||||
"min_change_direction_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "snowgolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_small"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_medium"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_large"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_small": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_small",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_medium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_medium",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_large": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_large",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
857
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/villager.json
vendored
Normal file
857
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/villager.json
vendored
Normal file
@ -0,0 +1,857 @@
|
||||
{
|
||||
"format_version": "1.19.50",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:villager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate_survive": {
|
||||
"priority": 5,
|
||||
"fireworks_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_outdoors": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.8,
|
||||
"timeout_cooldown": 8.0
|
||||
}
|
||||
},
|
||||
|
||||
"become_witch": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:witch",
|
||||
"delay": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"become_villager_v2": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:villager_v2",
|
||||
"keep_level": true
|
||||
}
|
||||
},
|
||||
|
||||
"become_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie_villager"
|
||||
}
|
||||
},
|
||||
|
||||
"behavior_peasant": {
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:bread",
|
||||
"want_amount": 3,
|
||||
"surplus_amount": 6,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carrot",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 4,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:potato",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wheat_seeds",
|
||||
"want_amount": 64,
|
||||
"surplus_amount": 64,
|
||||
"stored_in_inventory": true,
|
||||
"pickup_only": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot_seeds",
|
||||
"want_amount": 64,
|
||||
"surplus_amount": 64,
|
||||
"stored_in_inventory": true,
|
||||
"pickup_only": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wheat",
|
||||
"want_amount": 45,
|
||||
"surplus_amount": 18,
|
||||
"craft_into": "minecraft:bread",
|
||||
"stored_in_inventory": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.harvest_farm_block": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"behavior_non_peasant": {
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:bread",
|
||||
"want_amount": 3,
|
||||
"surplus_amount": 6,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carrot",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:potato",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"farmer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "farmer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.farmer",
|
||||
"table": "trading/farmer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"fisherman":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "fisherman", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.fisherman",
|
||||
"table": "trading/fisherman_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"shepherd":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "shepherd", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.shepherd",
|
||||
"table": "trading/shepherd_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"fletcher":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "fletcher", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.fletcher",
|
||||
"table": "trading/fletcher_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"librarian":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "librarian", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.librarian",
|
||||
"table": "trading/librarian_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"cartographer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "cartographer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.cartographer",
|
||||
"table": "trading/cartographer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"cleric":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "priest", "cleric", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.cleric",
|
||||
"table": "trading/cleric_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"armorer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "armorer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.armor",
|
||||
"table": "trading/armorer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"weaponsmith":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "weaponsmith", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.weapon",
|
||||
"table": "trading/weapon_smith_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"toolsmith":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "toolsmith", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.tool",
|
||||
"table": "trading/tool_smith_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"butcher":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "artisan", "butcher", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.butcher",
|
||||
"table": "trading/butcher_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"leatherworker":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "artisan", "leatherworker", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.leather",
|
||||
"table": "trading/leather_worker_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"baby": {
|
||||
"minecraft:is_baby": { },
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.take_flower":{
|
||||
"priority": 7,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_daytime", "value" : true }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.play": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.32
|
||||
}
|
||||
},
|
||||
|
||||
"adult": {
|
||||
"minecraft:behavior.make_love": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.receive_love":{
|
||||
"priority": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": ["villager", "mob"]
|
||||
},
|
||||
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"can_walk": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:annotation.open_door": {
|
||||
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 8,
|
||||
"private": true
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning" },
|
||||
"event": "become_witch"
|
||||
},
|
||||
"deals_damage": false
|
||||
},
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{"test": "is_family", "subject": "other", "value": "zombie"},
|
||||
{"test": "is_family", "subject": "other", "value": "husk"}
|
||||
],
|
||||
"all_of": [
|
||||
{"test": "has_damage", "value": "fatal"}
|
||||
]
|
||||
},
|
||||
"event": "become_zombie"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.trade_with_player": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_trading_player": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "zombie"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "zombie_villager"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "illager"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "vex"}
|
||||
]
|
||||
},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 0.6
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_indoors": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.restrict_open_door": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.open_door": {
|
||||
"priority": 6,
|
||||
"close_door_after": true
|
||||
},
|
||||
"minecraft:behavior.share_items": {
|
||||
"priority": 8,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2.0,
|
||||
"speed_multiplier": 0.5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "villager"}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 9,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 0.5,
|
||||
"can_pickup_to_hand_or_equipment": false
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 11,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 12,
|
||||
"look_distance": 8,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
"events":{
|
||||
"become_witch": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_witch"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_zombie": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {"test": "is_difficulty", "value": "normal"},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 50,
|
||||
"add": { "component_groups": [ "become_zombie" ] }
|
||||
},
|
||||
{
|
||||
"weight": 50
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": {"test": "is_difficulty", "value": "hard"},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_zombie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 95,
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
// Transform baby zombie to baby villager
|
||||
{
|
||||
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
// Transform adult zombie to adult villager
|
||||
{
|
||||
"filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" },
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
},
|
||||
|
||||
// Transform farmer zombie to farmer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "farmer"},
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform fisherman zombie to fisherman villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fisherman"},
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform shepherd zombie to shepherd villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform fletcher zombie to fletcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform librarian zombie to librarian villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform cartographer zombie to cartographer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform cleric zombie to cleric villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform armorer zombie to armorer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform weaponsmith zombie to weaponsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform toolsmith zombie to toolsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform butcher zombie to butcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform leatherworker zombie to leatherworker villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_farmer": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_librarian": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_cleric": {
|
||||
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:spawn_armorer": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_butcher": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": { "component_groups": [ "baby" ] },
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_cleric": {
|
||||
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is won
|
||||
"add": { "component_groups": [ "minecraft:celebrate"] }
|
||||
},
|
||||
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2532
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/villager_v2.json
vendored
Normal file
2532
servers/bedrock/behavior_packs/vanilla_1.19.50/entities/villager_v2.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user