mirror of
https://github.com/guilhermewerner/tcc
synced 2025-06-16 23:15:08 +00:00
Add minecraft bedrock server
This commit is contained in:
78
servers/bedrock/behavior_packs/vanilla_1.16/entities/bat.json
vendored
Normal file
78
servers/bedrock/behavior_packs/vanilla_1.16/entities/bat.json
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bat",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bat", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 0.9
|
||||
},
|
||||
"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.1
|
||||
},
|
||||
"minecraft:navigation.float": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.float_wander": {
|
||||
"xz_dist": 10,
|
||||
"y_dist": 7,
|
||||
"y_offset": -2.0,
|
||||
"random_reselect": true,
|
||||
"float_duration": [ 0.1, 0.35 ]
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
815
servers/bedrock/behavior_packs/vanilla_1.16/entities/bee.json
vendored
Normal file
815
servers/bedrock/behavior_packs/vanilla_1.16/entities/bee.json
vendored
Normal file
@ -0,0 +1,815 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bee",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"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
|
||||
],
|
||||
"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
|
||||
]
|
||||
}
|
||||
},
|
||||
"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_blocks": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:sweet_berry_bush",
|
||||
"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
|
||||
],
|
||||
"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:is_charged": {},
|
||||
"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": "has_component",
|
||||
"value": "minecraft:is_charged",
|
||||
"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: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: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: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:home": {},
|
||||
"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,
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_timeout": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
129
servers/bedrock/behavior_packs/vanilla_1.16/entities/blaze.json
vendored
Normal file
129
servers/bedrock/behavior_packs/vanilla_1.16/entities/blaze.json
vendored
Normal file
@ -0,0 +1,129 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:blaze",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 10 : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/blaze.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48,
|
||||
"max": 48
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 48.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"track_target": true,
|
||||
"random_stop_interval": 2
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:small_fireball"
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 4,
|
||||
"burst_shots": 3,
|
||||
"burst_interval": 0.3,
|
||||
"charge_charged_trigger": 0.0,
|
||||
"charge_shoot_trigger": 4.0,
|
||||
"attack_interval_min": 3.0,
|
||||
"attack_interval_max": 5.0,
|
||||
"attack_radius": 16.0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "blaze", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
77
servers/bedrock/behavior_packs/vanilla_1.16/entities/boat.json
vendored
Normal file
77
servers/bedrock/behavior_packs/vanilla_1.16/entities/boat.json
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "boat", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 0.455
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/boat.json"
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
711
servers/bedrock/behavior_packs/vanilla_1.16/entities/cat.json
vendored
Normal file
711
servers/bedrock/behavior_packs/vanilla_1.16/entities/cat.json
vendored
Normal file
@ -0,0 +1,711 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cat",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:cat_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:cat_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/cat.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.8
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"require_full_health": true,
|
||||
"allow_sitting": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:cat",
|
||||
"baby_type": "minecraft:cat",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "fish", "salmon" ]
|
||||
}
|
||||
},
|
||||
"minecraft:cat_wild": {
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": [ "fish", "salmon" ],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.35, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "rabbit"
|
||||
},
|
||||
"max_dist": 8
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"can_get_scared": true,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 6,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 7
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:color": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:is_dyeable": {
|
||||
"interact_text": "action.interact.dye"
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.ocelot_sit_on_block": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.pet_sleep_with_owner": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.2,
|
||||
"search_radius": 10,
|
||||
"search_height": 10,
|
||||
"goal_radius": 1.0
|
||||
},
|
||||
"minecraft:on_wake_with_owner": {
|
||||
"event": "minecraft:pet_slept_with_owner",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:cat_gift_for_owner": {
|
||||
"minecraft:behavior.drop_item_for": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.0,
|
||||
"search_range": 5,
|
||||
"search_height": 2,
|
||||
"search_count": 0,
|
||||
"goal_radius": 1.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "player" },
|
||||
"max_dist": 6
|
||||
}
|
||||
],
|
||||
"max_dist": 5,
|
||||
"drop_item_chance": 0.7,
|
||||
"offering_distance": 5,
|
||||
"loot_table": "loot_tables/entities/cat_gift.json",
|
||||
"time_of_day_range": [ 0.74999, 0.80 ],
|
||||
"on_drop_attempt": {
|
||||
"event": "minecraft:cat_gifted_owner",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:cat_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tuxedo": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:cat_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:cat_siamese": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"minecraft:cat_british": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:cat_calico": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
"minecraft:cat_persian": {
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
"minecraft:cat_ragdoll": {
|
||||
"minecraft:variant": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tabby": {
|
||||
"minecraft:variant": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
"minecraft:cat_black": {
|
||||
"minecraft:variant": {
|
||||
"value": 9
|
||||
}
|
||||
},
|
||||
"minecraft:cat_jellie": {
|
||||
"minecraft:variant": {
|
||||
"value": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:attack_damage": {
|
||||
"value": 4
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cat", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "fish",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "salmon",
|
||||
"heal_amount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"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:navigation.walk": {
|
||||
"can_float": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "passive",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 3,
|
||||
"target_dist": 0.3
|
||||
},
|
||||
"minecraft:behavior.ocelotattack": {
|
||||
"priority": 4,
|
||||
"cooldown_time": 1.0,
|
||||
"x_max_rotation": 30.0,
|
||||
"y_max_head_rotation": 30.0,
|
||||
"max_distance": 15.0,
|
||||
"max_sneak_range": 15.0,
|
||||
"max_sprint_range": 4.0,
|
||||
"reach_multiplier": 2.0,
|
||||
"sneak_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"walk_speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tuxedo"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_siamese"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_british"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_calico"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_persian"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_ragdoll"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tabby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_black"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_jellie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_from_village": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tuxedo"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_siamese"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_british"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_calico"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_persian"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_ragdoll"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tabby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_jellie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_midnight_cat": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild",
|
||||
"minecraft:cat_black"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_tame": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:pet_slept_with_owner": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_gift_for_owner"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:cat_gifted_owner": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_gift_for_owner"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
440
servers/bedrock/behavior_packs/vanilla_1.16/entities/cave_spider.json
vendored
Normal file
440
servers/bedrock/behavior_packs/vanilla_1.16/entities/cave_spider.json
vendored
Normal file
@ -0,0 +1,440 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cave_spider",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:spider_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [0.0, 0.3, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_stray_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton.stray"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [0.0, 0.3, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_wither_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton.wither"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [0.0, 0.25, -0.1]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_neutral": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": { "test" : "is_brightness", "operator" : "<", "value" : 0.49 },
|
||||
"event": "minecraft:become_hostile"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_hostile": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": { "test": "is_brightness", "operator": ">", "value": 0.49 },
|
||||
"event": "minecraft:become_neutral"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"attack_interval": 5,
|
||||
"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
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"yd": 0.4,
|
||||
"must_be_on_ground": false
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"track_target": true,
|
||||
"random_stop_interval": 100,
|
||||
"reach_multiplier": 0.8
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 10,
|
||||
"duration_delta": 3,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"attack_interval": 10,
|
||||
"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
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"yd": 0.4,
|
||||
"must_be_on_ground": false
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.4
|
||||
}
|
||||
},
|
||||
"minecraft:spider_poison_easy": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 0
|
||||
}
|
||||
},
|
||||
"minecraft:spider_poison_normal": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 7
|
||||
}
|
||||
},
|
||||
"minecraft:spider_poison_hard": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 15
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cavespider", "monster", "arthropod", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/spider.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.7,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 12,
|
||||
"max": 12
|
||||
},
|
||||
"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:navigation.climb": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.3, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"filters": {
|
||||
"all_of" : [
|
||||
{ "test" : "is_daytime", "value" : false },
|
||||
{ "test" : "is_snow_covered", "value" : true },
|
||||
{ "test" : "is_underground", "value" : false }
|
||||
]
|
||||
},
|
||||
"remove": { },
|
||||
"add": {
|
||||
"component_groups":
|
||||
[
|
||||
"minecraft:spider_stray_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 80,
|
||||
"filters": {
|
||||
"test": "is_biome", "value" : "the_nether"
|
||||
},
|
||||
"remove": { },
|
||||
"add": {
|
||||
"component_groups":
|
||||
[
|
||||
"minecraft:spider_wither_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"filters": {
|
||||
"all_of" : [
|
||||
{ "test" : "is_daytime", "value" : false },
|
||||
{ "test" : "is_underground", "value" : true }
|
||||
]
|
||||
},
|
||||
"remove": { },
|
||||
"add": {
|
||||
"component_groups":
|
||||
[
|
||||
"minecraft:spider_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"weight": 99,
|
||||
"remove": { },
|
||||
"add": {
|
||||
"component_groups":
|
||||
[
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_hostile": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "normal"},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_normal" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_hard" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_neutral": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_hostile"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_angry": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_difficulty", "value": "normal" },
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_normal" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:spider_poison_hard" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
243
servers/bedrock/behavior_packs/vanilla_1.16/entities/chicken.json
vendored
Normal file
243
servers/bedrock/behavior_packs/vanilla_1.16/entities/chicken.json
vendored
Normal file
@ -0,0 +1,243 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:chicken",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:chicken_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:chicken_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/chicken.json"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:chicken",
|
||||
"baby_type": "minecraft:chicken",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.4, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_entity": {
|
||||
"entities": {
|
||||
"min_wait_time": 300,
|
||||
"max_wait_time": 600,
|
||||
"spawn_sound": "plop",
|
||||
"spawn_item": "egg",
|
||||
"filters": {
|
||||
"test": "rider_count", "subject": "self", "operator": "==", "value": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "chicken", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"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:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.5
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"from_egg": {
|
||||
"add": { "component_groups": [ "minecraft:chicken_baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
240
servers/bedrock/behavior_packs/vanilla_1.16/entities/cow.json
vendored
Normal file
240
servers/bedrock/behavior_packs/vanilla_1.16/entities/cow.json
vendored
Normal file
@ -0,0 +1,240 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cow",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:cow_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "wheat",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:cow_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/cow.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "wheat",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:cow",
|
||||
"baby_type": "minecraft:cow",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "bucket:0"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"transform_to_item": "bucket:1",
|
||||
"play_sounds": "milk",
|
||||
"interact_text": "action.interact.milk"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cow", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"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:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"wheat"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.105, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:entity_transformed": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
305
servers/bedrock/behavior_packs/vanilla_1.16/entities/creeper.json
vendored
Normal file
305
servers/bedrock/behavior_packs/vanilla_1.16/entities/creeper.json
vendored
Normal file
@ -0,0 +1,305 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:creeper",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:exploding": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 1.5,
|
||||
"fuse_lit": true,
|
||||
"power": 3,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": true
|
||||
}
|
||||
},
|
||||
"minecraft:charged_creeper": {
|
||||
"minecraft:is_charged": {
|
||||
}
|
||||
},
|
||||
"minecraft:charged_exploding": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 1.5,
|
||||
"fuse_lit": true,
|
||||
"power": 6,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": true
|
||||
}
|
||||
},
|
||||
"minecraft:forced_exploding": {
|
||||
"minecraft:target_nearby_sensor": {
|
||||
},
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 1.5,
|
||||
"fuse_lit": true,
|
||||
"power": 3,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": true
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
}
|
||||
},
|
||||
"minecraft:forced_charged_exploding": {
|
||||
"minecraft:target_nearby_sensor": {
|
||||
},
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 1.5,
|
||||
"fuse_lit": true,
|
||||
"power": 6,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": true
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "creeper", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/creeper.json"
|
||||
},
|
||||
"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:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "lightning"
|
||||
},
|
||||
"event": "minecraft:become_charged"
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:target_nearby_sensor": {
|
||||
"inside_range": 2.5,
|
||||
"outside_range": 6.0,
|
||||
"must_see": true,
|
||||
"on_inside_range": {
|
||||
"event": "minecraft:start_exploding",
|
||||
"target": "self"
|
||||
},
|
||||
"on_outside_range": {
|
||||
"event": "minecraft:stop_exploding",
|
||||
"target": "self"
|
||||
},
|
||||
"on_vision_lost_inside_range": {
|
||||
"event": "minecraft:stop_exploding",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": {
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "flint_and_steel" },
|
||||
{ "test": "has_component", "operator": "!=", "value": "minecraft:explode" }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:start_exploding_forced",
|
||||
"target": "self"
|
||||
},
|
||||
"hurt_item": 1,
|
||||
"swing": true,
|
||||
"play_sounds": "ignite",
|
||||
"interact_text": "action.interact.creeper"
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.swell": {
|
||||
"start_distance": 2.5,
|
||||
"stop_distance": 6.0,
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"track_target": false,
|
||||
"reach_multiplier": 0.0 // this prevents creepers from ocasionally performing melee attacks while using this goal to chase
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "ocelot"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "cat"}
|
||||
]
|
||||
},
|
||||
"max_dist": 6,
|
||||
"sprint_speed_multiplier": 1.2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"must_see": true,
|
||||
"must_see_forget_duration": 3.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:stop_exploding",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:start_exploding_forced": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:forced_exploding"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:forced_charged_exploding"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:start_exploding": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:exploding"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:charged_exploding"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:stop_exploding": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:exploding"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_charged": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:exploding"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:charged_creeper"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
435
servers/bedrock/behavior_packs/vanilla_1.16/entities/dolphin.json
vendored
Normal file
435
servers/bedrock/behavior_packs/vanilla_1.16/entities/dolphin.json
vendored
Normal file
@ -0,0 +1,435 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:dolphin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:dolphin_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/dolphin.json"
|
||||
},
|
||||
"minecraft:bribeable": {
|
||||
"bribe_items": [ "fish", "salmon" ]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.65
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 16,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_dried": {
|
||||
"minecraft:damage_over_time": {
|
||||
"damage_per_hurt": 1,
|
||||
"time_between_hurt": 0
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_swimming_navigation": {
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:navigation_on_land"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_on_land": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_breach": false,
|
||||
"can_jump": false
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 20,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:dried_out"
|
||||
}
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water_or_rain",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:stop_dryingout"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:dolphin_on_land_in_rain": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_breach": false,
|
||||
"can_jump": false
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:navigation_off_land"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water_or_rain",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:start_dryingout"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "dolphin", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48,
|
||||
"max": 48
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 240,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": false,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true,
|
||||
"can_sink": false
|
||||
},
|
||||
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
|
||||
"minecraft:jump.static": {
|
||||
"jump_power": 0.6
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.swim_with_entity": {
|
||||
"priority": 4,
|
||||
"success_rate": 0.1,
|
||||
"chance_to_stop": 0.0333,
|
||||
"state_check_interval": 0.5,
|
||||
"catch_up_threshold": 12.0,
|
||||
"match_direction_threshold": 2.0,
|
||||
"catch_up_multiplier": 2.5,
|
||||
"speed_multiplier": 1.5,
|
||||
"search_range": 20.0,
|
||||
"stop_distance": 5.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "player" }
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 5,
|
||||
"interval": 0,
|
||||
"xz_dist": 20
|
||||
},
|
||||
"minecraft:behavior.random_breach": {
|
||||
"priority": 6,
|
||||
"interval": 50,
|
||||
"xz_dist": 6,
|
||||
"cooldown_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "guardian_elder"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "guardian"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 1.0,
|
||||
"sprint_speed_multiplier": 1.0
|
||||
}
|
||||
],
|
||||
"probability_per_strength": 0.14
|
||||
},
|
||||
"minecraft:behavior.find_underwater_treasure": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 2.0,
|
||||
"search_range": 30,
|
||||
"stop_distance": 50
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 1,
|
||||
"search_range": 15,
|
||||
"search_height": 5
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": false,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": false,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 6.0,
|
||||
"breach_influence": 0.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 3.0,
|
||||
"cohesion_weight": 1.85,
|
||||
"cohesion_threshold": 6.5,
|
||||
"innner_cohesion_threshold": 3.5,
|
||||
"min_height": 4.0,
|
||||
"max_height": 4.0,
|
||||
"block_distance": 1.0,
|
||||
"block_weight": 0.0
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 90,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_adult",
|
||||
"minecraft:dolphin_swimming_navigation"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_baby",
|
||||
"minecraft:dolphin_swimming_navigation"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_dryingout": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_on_land",
|
||||
"minecraft:dolphin_dried"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:dolphin_on_land_in_rain" ]
|
||||
}
|
||||
},
|
||||
"minecraft:start_dryingout": {
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:dolphin_on_land_in_rain" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_on_land"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:dried_out": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:dolphin_dried" ]
|
||||
}
|
||||
},
|
||||
"minecraft:navigation_on_land": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:dolphin_on_land" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:dolphin_swimming_navigation" ]
|
||||
}
|
||||
},
|
||||
"minecraft:navigation_off_land": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:dolphin_swimming_navigation" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:dolphin_on_land_in_rain",
|
||||
"minecraft:dolphin_on_land",
|
||||
"minecraft:dolphin_dried"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
472
servers/bedrock/behavior_packs/vanilla_1.16/entities/donkey.json
vendored
Normal file
472
servers/bedrock/behavior_packs/vanilla_1.16/entities/donkey.json
vendored
Normal file
@ -0,0 +1,472 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:donkey",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:donkey_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale_by_age": {
|
||||
"start_scale": 0.5,
|
||||
"end_scale": 1.0
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"growth": 0.016667
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"growth": 0.025
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"growth": 0.15
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"growth": 0.2
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"growth": 0.2
|
||||
}
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/horse.json"
|
||||
},
|
||||
"minecraft:behavior.run_around_like_crazy": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_wild": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player",
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.mount",
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.925, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:tamemount": {
|
||||
"min_temper": 0,
|
||||
"max_temper": 100,
|
||||
"feed_text": "action.interact.feed",
|
||||
"ride_text": "action.interact.mount",
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"temper_mod": 5
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"temper_mod": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"temper_mod": 10
|
||||
}
|
||||
],
|
||||
"auto_reject_items": [
|
||||
{
|
||||
"item": "horsearmorleather"
|
||||
},
|
||||
{
|
||||
"item": "horsearmoriron"
|
||||
},
|
||||
{
|
||||
"item": "horsearmorgold"
|
||||
},
|
||||
{
|
||||
"item": "horsearmordiamond"
|
||||
},
|
||||
{
|
||||
"item": "saddle"
|
||||
}
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_tamed": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:equippable": {
|
||||
"slots": [
|
||||
{
|
||||
"slot": 0,
|
||||
"item": "saddle",
|
||||
"accepted_items": ["saddle"],
|
||||
"on_equip": {
|
||||
"event": "minecraft:donkey_saddled"
|
||||
},
|
||||
"on_unequip": {
|
||||
"event": "minecraft:donkey_unsaddled"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.925, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 16,
|
||||
"container_type": "horse"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"inherit_tamed": false,
|
||||
"breeds_with": [
|
||||
{
|
||||
"mate_type": "minecraft:donkey",
|
||||
"baby_type": "minecraft:donkey",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
{
|
||||
"mate_type": "minecraft:horse",
|
||||
"baby_type": "minecraft:mule",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"breed_items": [
|
||||
"golden_carrot",
|
||||
"golden_apple",
|
||||
"appleEnchanted"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"apple",
|
||||
"carrot",
|
||||
"golden_apple",
|
||||
"appleEnchanted",
|
||||
"golden_carrot",
|
||||
"carrotOnAStick",
|
||||
"hay_block",
|
||||
"sugar",
|
||||
"bread",
|
||||
"wheat"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_unchested": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"play_sounds": "armor.equip_generic",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_chest",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"interact_text": "action.interact.attachchest"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_chested": {
|
||||
"minecraft:is_chested": {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:input_ground_controlled": {
|
||||
},
|
||||
"minecraft:can_power_jump": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "donkey", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 1.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": {
|
||||
"range_min": 15,
|
||||
"range_max": 30
|
||||
}
|
||||
},
|
||||
"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.175
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:horse.jump_strength": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"heal_amount": 20
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"heal_amount": 4
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"heal_amount": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_adult",
|
||||
"minecraft:donkey_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_tamed",
|
||||
"minecraft:donkey_unchested"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_adult",
|
||||
"minecraft:donkey_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_chest": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_unchested"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_chested"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:donkey_saddled": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:donkey_unsaddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:donkey_saddled"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
623
servers/bedrock/behavior_packs/vanilla_1.16/entities/drowned.json
vendored
Normal file
623
servers/bedrock/behavior_packs/vanilla_1.16/entities/drowned.json
vendored
Normal file
@ -0,0 +1,623 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:drowned",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:baby_drowned": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.08
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_drowned": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/drowned.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mode_switcher": {
|
||||
"minecraft:target_nearby_sensor": {
|
||||
"inside_range": 3.0,
|
||||
"outside_range": 5.0,
|
||||
"on_inside_range": {
|
||||
"event": "minecraft:switch_to_melee",
|
||||
"target": "self"
|
||||
},
|
||||
"on_outside_range": {
|
||||
"event": "minecraft:switch_to_ranged",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/drowned_ranged_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.weapon.offhand",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ranged_mode": {
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:thrown_trident"
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 3,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 10.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:melee_mode": {
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": false,
|
||||
"require_complete_path": true
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/drowned_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.weapon.offhand",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:hunter_mode": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wander_mode": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
// Zombie Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "drowned", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.06
|
||||
},
|
||||
"minecraft:movement.generic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"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:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:burns_in_daylight": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:nautilus_shell",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:trident",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 6,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"reselect_targets": true,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 17.0,
|
||||
"persist_time": 0.5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{ "test": "is_daytime", "value": false }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{ "test": "is_daytime", "value": false }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 20,
|
||||
"must_see": false
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
|
||||
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:has_target",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:lost_target",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mode_switcher",
|
||||
"minecraft:ranged_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 85,
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:baby_drowned"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:as_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:baby_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:as_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:switch_to_melee": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:switch_to_ranged": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:has_target": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wander_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hunter_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:lost_target": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hunter_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wander_mode"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
111
servers/bedrock/behavior_packs/vanilla_1.16/entities/elder_guardian.json
vendored
Normal file
111
servers/bedrock/behavior_packs/vanilla_1.16/entities/elder_guardian.json
vendored
Normal file
@ -0,0 +1,111 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:elder_guardian",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 10 : 0"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.99,
|
||||
"height": 1.99
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/elder_guardian.json"
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 80,
|
||||
"max": 80
|
||||
},
|
||||
"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:underwater_movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 5
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"attack_interval_min": 1.0,
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.guardian_attack": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0,
|
||||
"control_flags": [ "move", "look" ]
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.5,
|
||||
"avoid_surface": false
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 12.0,
|
||||
"probability": 0.01
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "guardian_elder", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
209
servers/bedrock/behavior_packs/vanilla_1.16/entities/enderman.json
vendored
Normal file
209
servers/bedrock/behavior_packs/vanilla_1.16/entities/enderman.json
vendored
Normal file
@ -0,0 +1,209 @@
|
||||
{
|
||||
"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: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_water_or_rain", "operator": "==", "value": true },
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 7
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 32,
|
||||
"max": 32
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
105
servers/bedrock/behavior_packs/vanilla_1.16/entities/endermite.json
vendored
Normal file
105
servers/bedrock/behavior_packs/vanilla_1.16/entities/endermite.json
vendored
Normal file
@ -0,0 +1,105 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:endermite",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 3 : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
"minecraft:type_family": {
|
||||
"family": [ "endermite", "arthropod", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.4,
|
||||
"height": 0.3
|
||||
},
|
||||
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 8,
|
||||
"max": 8
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"track_target": true
|
||||
},
|
||||
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"must_see": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "enderman"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
289
servers/bedrock/behavior_packs/vanilla_1.16/entities/evocation_illager.json
vendored
Normal file
289
servers/bedrock/behavior_packs/vanilla_1.16/entities/evocation_illager.json
vendored
Normal file
@ -0,0 +1,289 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:evocation_illager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "10"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "evocation_illager", "monster", "illager", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/evocation_illager.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 24,
|
||||
"max": 24
|
||||
},
|
||||
"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:movement": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.summon_entity": {
|
||||
"priority": 2,
|
||||
|
||||
"summon_choices": [
|
||||
{
|
||||
"min_activation_range": 0.0,
|
||||
"max_activation_range": 3.0,
|
||||
"cooldown_time": 5.0,
|
||||
"weight": 3,
|
||||
"cast_duration": 2.0,
|
||||
"particle_color": "#FF664D59",
|
||||
"start_sound_event": "cast.spell",
|
||||
"sequence": [
|
||||
{
|
||||
"shape": "circle",
|
||||
"target": "self",
|
||||
"base_delay": 1.0,
|
||||
"delay_per_summon": 0.0,
|
||||
"num_entities_spawned": 5,
|
||||
"entity_type": "minecraft:evocation_fang",
|
||||
"size": 1.5,
|
||||
"entity_lifespan": 1.1,
|
||||
"sound_event": "prepare.attack"
|
||||
},
|
||||
{
|
||||
"shape": "circle",
|
||||
"target": "self",
|
||||
"base_delay": 0.15,
|
||||
"delay_per_summon": 0.0,
|
||||
"num_entities_spawned": 8,
|
||||
"entity_type": "minecraft:evocation_fang",
|
||||
"size": 2.5,
|
||||
"entity_lifespan": 1.1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_activation_range": 3.0,
|
||||
"weight": 3,
|
||||
"cooldown_time": 5.0,
|
||||
"cast_duration": 2.0,
|
||||
"particle_color": "#FF664D59",
|
||||
"start_sound_event": "cast.spell",
|
||||
"sequence": [
|
||||
{
|
||||
"shape": "line",
|
||||
"target": "self",
|
||||
"base_delay": 1.0,
|
||||
"delay_per_summon": 0.05,
|
||||
"num_entities_spawned": 16,
|
||||
"entity_type": "minecraft:evocation_fang",
|
||||
"size": 20,
|
||||
"entity_lifespan": 1.1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"cooldown_time": 17.0,
|
||||
"cast_duration": 5.0,
|
||||
"particle_color": "#FFB3B3CC",
|
||||
"sequence": [
|
||||
{
|
||||
"shape": "circle",
|
||||
"target": "self",
|
||||
"base_delay": 5.0,
|
||||
"num_entities_spawned": 3,
|
||||
"entity_type": "minecraft:vex",
|
||||
"summon_cap": 8,
|
||||
"summon_cap_radius": 16.0,
|
||||
"size": 1.0,
|
||||
"sound_event": "prepare.summon"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.send_event": {
|
||||
"priority": 3,
|
||||
"event_choices": [
|
||||
{
|
||||
"min_activation_range": 0.0,
|
||||
"max_activation_range": 16.0,
|
||||
"cooldown_time": 5.0,
|
||||
"cast_duration": 3.0,
|
||||
"particle_color": "#FFB38033",
|
||||
"weight": 3,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
|
||||
{ "test" : "is_color", "subject" : "other", "value" : "blue"}
|
||||
]
|
||||
},
|
||||
"start_sound_event": "cast.spell",
|
||||
"sequence": [
|
||||
{
|
||||
"base_delay": 2.0,
|
||||
"event": "wololo",
|
||||
"sound_event": "prepare.wololo"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"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"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "wandering_trader"}
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 3.0,
|
||||
"probability": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_entity": {
|
||||
"priority": 10,
|
||||
"look_distance": 8.0,
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "mob" }
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
134
servers/bedrock/behavior_packs/vanilla_1.16/entities/fish.json
vendored
Normal file
134
servers/bedrock/behavior_packs/vanilla_1.16/entities/fish.json
vendored
Normal file
@ -0,0 +1,134 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cod",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cod", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.3
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/fish.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"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:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
"sway_amplitude": 0.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.swim_idle": {
|
||||
"priority": 5,
|
||||
"idle_time": 5.0,
|
||||
"success_rate": 0.1
|
||||
},
|
||||
"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": 4,
|
||||
"interval": 0.1,
|
||||
"look_ahead": 2.0,
|
||||
"speed_multiplier": 1.0,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"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": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
871
servers/bedrock/behavior_packs/vanilla_1.16/entities/fox.json
vendored
Normal file
871
servers/bedrock/behavior_packs/vanilla_1.16/entities/fox.json
vendored
Normal file
@ -0,0 +1,871 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:fox",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:fox_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "sweet_berries",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/fox.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "sweet_berries",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:fox",
|
||||
"baby_type": "minecraft:fox",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_with_item": {
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/fox_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.weapon.mainhand",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:trusting_fox" : {
|
||||
"minecraft:trust": {},
|
||||
"minecraft:behavior.defend_trusted_target": {
|
||||
"priority": 0,
|
||||
"within_radius": 25,
|
||||
"must_see": false,
|
||||
"aggro_sound": "mad",
|
||||
"sound_chance": 0.05,
|
||||
"on_defend_start": {
|
||||
"event": "minecraft:fox_configure_defending",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:docile_fox": {
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 10,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"reach_multiplier": 1.5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:defending_fox": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"reach_multiplier": 1.5
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_daytime", "value": true },
|
||||
{ "test": "has_target", "operator": "==", "value": false }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:fox_configure_docile_day"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_daytime", "value": false },
|
||||
{ "test": "has_target", "operator": "==", "value": false }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:fox_configure_docile_night"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:behavior.nearest_prioritized_attackable_target": {
|
||||
"priority": 6,
|
||||
"attack_interval": 2,
|
||||
"reselect_targets": true,
|
||||
"target_search_height": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "rabbit"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "chicken"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "cod"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "salmon"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "tropicalfish"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_arctic": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_prioritized_attackable_target": {
|
||||
"priority": 6,
|
||||
"attack_interval": 2,
|
||||
"reselect_targets": true,
|
||||
"target_search_height": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "rabbit"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "chicken"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "cod"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "salmon"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "tropicalfish"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_thunderstorm": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
|
||||
{ "test": "is_daytime", "value": true }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:fox_configure_day"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
|
||||
{ "test": "is_daytime", "value": false }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:fox_configure_night"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:behavior.find_cover": {
|
||||
"priority": 0,
|
||||
"speed_multiplier": 1,
|
||||
"cooldown_time": 0.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_day": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
|
||||
"event": "minecraft:fox_configure_thunderstorm"
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_daytime", "value": false },
|
||||
"event": "minecraft:fox_configure_night"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.nap": {
|
||||
"priority": 8,
|
||||
"cooldown_min": 2.0,
|
||||
"cooldown_max": 7.0,
|
||||
"mob_detect_dist": 12.0,
|
||||
"mob_detect_height": 6.0,
|
||||
"can_nap_filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "is_underground",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "weather_at_position",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "thunderstorm"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wake_mob_exceptions": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "trusts",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": "fox"
|
||||
},
|
||||
{
|
||||
"test": "is_sneaking",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.find_cover": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 1,
|
||||
"cooldown_time": 5.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_night": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
|
||||
"event": "minecraft:fox_configure_thunderstorm"
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_daytime", "value": true },
|
||||
"event": "minecraft:fox_configure_day"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.stroll_towards_village": {
|
||||
"priority": 11,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 3.0,
|
||||
"cooldown_time": 10.0,
|
||||
"search_range": 32,
|
||||
"start_chance": 0.005
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_ambient_normal": {
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"event_name": "ambient"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_ambient_sleep": {
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"event_name": "sleep"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_ambient_night": {
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"event_name": "screech",
|
||||
"value": 80,
|
||||
"range": 160
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "fox", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"totalSupply": 15,
|
||||
"suffocateTime": 0
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"all_items": true,
|
||||
"all_items_max_amount": 1,
|
||||
"items": [
|
||||
{ "item": "minecraft:apple", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:appleEnchanted", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:baked_potato", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:beef", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:beetroot", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:beetroot_soup", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:bread", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:carrot", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:chicken", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:chorus_fruit", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:clownfish", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_beef", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_chicken", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_fish", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_porkchop", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_rabbit", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cooked_salmon", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:cookie", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:dried_kelp", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:fish", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:golden_apple", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:golden_carrot", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:melon", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:mushroom_stew", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:muttonCooked", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:muttonRaw", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:poisonous_potato", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:porkchop", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:potato", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:pufferfish", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:pumpkin_pie", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:rabbit", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:rabbit_stew", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:rotten_flesh", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:salmon", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:spider_eye", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:sweet_berries", "priority": 0, "max_amount": 1 },
|
||||
{ "item": "minecraft:suspicious_stew", "priority": 0, "max_amount": 1 }
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"test": "is_block",
|
||||
"subject": "block",
|
||||
"value": "minecraft:sweet_berry_bush"
|
||||
}
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "trusts", "subject": "other", "operator": "!=", "value": true },
|
||||
{ "test": "is_sneaking", "subject": "other", "operator": "!=", "value": true }
|
||||
]
|
||||
},
|
||||
{ "test": "is_family", "subject": "other", "value": "polarbear" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wolf" }
|
||||
]
|
||||
},
|
||||
"max_dist": 10,
|
||||
"walk_speed_multiplier": 1.0,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"can_get_scared": true,
|
||||
"items": [
|
||||
"sweet_berries"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.stalk_and_pounce_on_target": {
|
||||
"priority": 7,
|
||||
"stalk_speed": 1.2,
|
||||
"max_stalk_dist": 12.0,
|
||||
"leap_height": 0.9,
|
||||
"leap_dist": 0.8,
|
||||
"pounce_max_dist": 5.0,
|
||||
"interest_time": 2.0,
|
||||
"stuck_time": 2.0,
|
||||
"strike_dist": 2.0,
|
||||
"stuck_blocks": { "test": "is_block", "subject": "block", "operator": "==", "value": "snow_layer" }
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 11,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 0.5
|
||||
},
|
||||
"minecraft:behavior.eat_carried_item": {
|
||||
"priority": 12,
|
||||
"delay_before_eating": 28
|
||||
},
|
||||
"minecraft:behavior.random_look_around_and_sit": {
|
||||
"priority": 12,
|
||||
"min_look_count": 2,
|
||||
"max_look_count": 5,
|
||||
"min_look_time": 80,
|
||||
"max_look_time": 100,
|
||||
"probability": 0.001
|
||||
},
|
||||
"minecraft:behavior.raid_garden": {
|
||||
"priority": 12,
|
||||
"blocks": [
|
||||
"minecraft:sweet_berry_bush"
|
||||
],
|
||||
"speed_multiplier": 1.2,
|
||||
"search_range": 12,
|
||||
"search_height": 2,
|
||||
"goal_radius": 0.8,
|
||||
"max_to_eat": 0,
|
||||
"initial_eat_delay": 2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 13,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 14,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 15
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.6
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:scheduler": {
|
||||
"min_delay_secs": 0,
|
||||
"max_delay_secs": 0,
|
||||
"scheduled_events": [
|
||||
{
|
||||
"filters": [
|
||||
{ "test": "is_sleeping", "value": true }
|
||||
],
|
||||
"event": "minecraft:ambient_sleep"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of":[
|
||||
{ "test" : "is_daytime", "value" : false },
|
||||
{ "test": "distance_to_nearest_player", "operator": ">", "value": 16 }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ambient_night"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of":[
|
||||
{ "test" : "is_sleeping", "value" : false },
|
||||
{
|
||||
"any_of":[
|
||||
{ "test" : "is_daytime", "value" : true },
|
||||
{ "test": "distance_to_nearest_player", "operator": "<=", "value": 16 }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ambient_normal"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": { "test" : "is_daytime", "value" : false },
|
||||
"event": "minecraft:fox_configure_night"
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_daytime", "value" : true },
|
||||
"event": "minecraft:fox_configure_day"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_adult",
|
||||
"minecraft:fox_with_item",
|
||||
"minecraft:docile_fox"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_baby",
|
||||
"minecraft:docile_fox"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_snow_covered",
|
||||
"value": true
|
||||
},
|
||||
"add": { "component_groups": [ "minecraft:fox_arctic" ] }
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_snow_covered",
|
||||
"value": false
|
||||
},
|
||||
"add": { "component_groups": [ "minecraft:fox_red" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_baby",
|
||||
"minecraft:trusting_fox",
|
||||
"minecraft:docile_fox"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_thunderstorm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_night",
|
||||
"minecraft:fox_day"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_thunderstorm"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_day": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_night",
|
||||
"minecraft:fox_thunderstorm"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_day"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_night": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_day",
|
||||
"minecraft:fox_thunderstorm"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_night"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ambient_normal": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_ambient_normal"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ambient_sleep": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_ambient_sleep"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ambient_night": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:fox_ambient_night"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_defending": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:docile_fox",
|
||||
"minecraft:fox_day",
|
||||
"minecraft:fox_night"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:defending_fox"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_docile_day": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:defending_fox",
|
||||
"minecraft:fox_night"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:docile_fox",
|
||||
"minecraft:fox_day"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:fox_configure_docile_night": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:defending_fox",
|
||||
"minecraft:fox_day"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:docile_fox",
|
||||
"minecraft:fox_night"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
101
servers/bedrock/behavior_packs/vanilla_1.16/entities/ghast.json
vendored
Normal file
101
servers/bedrock/behavior_packs/vanilla_1.16/entities/ghast.json
vendored
Normal file
@ -0,0 +1,101 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ghast",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 4,
|
||||
"height": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.03
|
||||
},
|
||||
"minecraft:navigation.float": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:behavior.float_wander": {
|
||||
"priority": 2,
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/ghast.json"
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:fireball"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "ghast", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 1,
|
||||
"attack_radius": 64,
|
||||
"charge_shoot_trigger": 2,
|
||||
"charge_charged_trigger": 1
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64,
|
||||
"max": 64
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 28
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
205
servers/bedrock/behavior_packs/vanilla_1.16/entities/guardian.json
vendored
Normal file
205
servers/bedrock/behavior_packs/vanilla_1.16/entities/guardian.json
vendored
Normal file
@ -0,0 +1,205 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:guardian",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:guardian_aggressive": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"attack_interval_min": 1.0,
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:target_nearby_sensor": {
|
||||
"inside_range": 3.0,
|
||||
"outside_range": 4.0,
|
||||
"on_inside_range": {
|
||||
"event": "minecraft:target_too_close",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.guardian_attack": {
|
||||
"priority": 4
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:guardian_passive": {
|
||||
"minecraft:timer": {
|
||||
"time": [ 1, 3 ],
|
||||
"looping": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:target_far_enough",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {"test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 1,
|
||||
"sprint_speed_multiplier": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 10 : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.85,
|
||||
"height": 0.85
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 30,
|
||||
"max": 30
|
||||
},
|
||||
"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.12
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.12
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 5
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/guardian.json"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"attack_interval_min": 1.0,
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:target_nearby_sensor": {
|
||||
"inside_range": 3.0,
|
||||
"outside_range": 4.0,
|
||||
"on_inside_range": {
|
||||
"event": "minecraft:target_too_close",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.guardian_attack": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0,
|
||||
"control_flags": [ "move", "look" ]
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 80,
|
||||
"avoid_surface": false
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 12.0,
|
||||
"probability": 0.01
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "guardian", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:target_too_close": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:guardian_aggressive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:guardian_passive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:target_far_enough": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:guardian_passive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:guardian_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
513
servers/bedrock/behavior_packs/vanilla_1.16/entities/hoglin.json
vendored
Normal file
513
servers/bedrock/behavior_packs/vanilla_1.16/entities/hoglin.json
vendored
Normal file
@ -0,0 +1,513 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:hoglin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"zombification_sensor": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "start_zombification_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"start_zombification": {
|
||||
"minecraft:is_shaking": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "stop_zombification_event"
|
||||
}
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 15,
|
||||
"time_down_event": {
|
||||
"event": "become_zombie_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"become_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zoglin",
|
||||
"transformation_sound": "converted_to_zombified",
|
||||
"keep_level": true
|
||||
}
|
||||
},
|
||||
|
||||
"angry_hoglin": {
|
||||
"minecraft:angry": {
|
||||
"duration": 10,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 16,
|
||||
"calm_event": {
|
||||
"event": "become_calm_event",
|
||||
"target": "self"
|
||||
},
|
||||
"angry_sound": "angry",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"attack_cooldown": {
|
||||
"minecraft:attack_cooldown": {
|
||||
"attack_cooldown_time": [ 10.0, 15.0 ],
|
||||
"attack_cooldown_complete_event": {
|
||||
"event": "attack_cooldown_complete_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:hoglin_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_baby", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.36
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0,
|
||||
"cooldown_time": 0.75
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 0.5
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.85,
|
||||
"height": 0.85
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 1.0,
|
||||
"height": 0.85,
|
||||
"pivot": [ 0, 0.5, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "crimson_fungus" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 3,
|
||||
"family_types": [
|
||||
"piglin"
|
||||
],
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, 0.9, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ 0.0, 2.4, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ 0.0, 3.9, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1
|
||||
}
|
||||
},
|
||||
"minecraft:hoglin_adult": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 2.0,
|
||||
"height": 1.75,
|
||||
"pivot": [ 0, 1, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:group_size": {
|
||||
"radius": 32,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"value": "hoglin"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "become_angry_event",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/hoglin.json"
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 2.5,
|
||||
"cooldown_time": 2
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": [ 3, 9 ]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"love_filters": {
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:attack_cooldown"
|
||||
},
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:hoglin",
|
||||
"baby_type": "minecraft:hoglin",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "crimson_fungus" ]
|
||||
}
|
||||
},
|
||||
"unhuntable_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_adult", "mob" ]
|
||||
}
|
||||
},
|
||||
"huntable_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_adult", "hoglin_huntable", "mob" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:attack_cooldown"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 0,
|
||||
"remove_target": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_target",
|
||||
"subject": "other",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "piglin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"check_if_outnumbered": true,
|
||||
"max_dist": 10,
|
||||
"sprint_speed_multiplier": 1.2
|
||||
}
|
||||
],
|
||||
"avoid_mob_sound": "retreat",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.avoid_block": {
|
||||
"priority": 1,
|
||||
"tick_interval": 5,
|
||||
"search_range": 8,
|
||||
"search_height": 4,
|
||||
"walk_speed_modifier": 1,
|
||||
"sprint_speed_modifier": 1,
|
||||
"avoid_block_sound": "retreat",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
},
|
||||
"target_selection_method": "nearest",
|
||||
"target_blocks": [
|
||||
"minecraft:warped_fungus",
|
||||
"minecraft:portal"
|
||||
],
|
||||
"on_escape": [
|
||||
{
|
||||
"event": "escaped_event",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.4
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"trigger": "spawn_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"trigger": "spawn_baby"
|
||||
},
|
||||
"spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"huntable_adult",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_baby",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"stop_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_zombie_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_zombie"
|
||||
]
|
||||
}
|
||||
},
|
||||
"start_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_unhuntable": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"unhuntable_adult",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"huntable_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"become_angry_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_calm_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"escaped_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attack_cooldown_complete_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
622
servers/bedrock/behavior_packs/vanilla_1.16/entities/horse.json
vendored
Normal file
622
servers/bedrock/behavior_packs/vanilla_1.16/entities/horse.json
vendored
Normal file
@ -0,0 +1,622 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:horse",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:horse_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale_by_age": {
|
||||
"start_scale": 0.5,
|
||||
"end_scale": 1.0
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"growth": 0.016667
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"growth": 0.025
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"growth": 0.15
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"growth": 0.2
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"growth": 0.2
|
||||
}
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:horse_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/horse.json"
|
||||
},
|
||||
"minecraft:behavior.run_around_like_crazy": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:horse_wild": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player",
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.mount",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.2 ]
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:tamemount": {
|
||||
"min_temper": 0,
|
||||
"max_temper": 100,
|
||||
"feed_text": "action.interact.feed",
|
||||
"ride_text": "action.interact.mount",
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"temper_mod": 5
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"temper_mod": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"temper_mod": 10
|
||||
}
|
||||
],
|
||||
"auto_reject_items": [
|
||||
{
|
||||
"item": "horsearmorleather"
|
||||
},
|
||||
{
|
||||
"item": "horsearmoriron"
|
||||
},
|
||||
{
|
||||
"item": "horsearmorgold"
|
||||
},
|
||||
{
|
||||
"item": "horsearmordiamond"
|
||||
},
|
||||
{
|
||||
"item": "saddle"
|
||||
}
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:horse_tamed": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.2 ]
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 2,
|
||||
"container_type": "horse"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"inherit_tamed": false,
|
||||
"breeds_with": [
|
||||
{
|
||||
"mate_type": "minecraft:horse",
|
||||
"baby_type": "minecraft:horse",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
{
|
||||
"mate_type": "minecraft:donkey",
|
||||
"baby_type": "minecraft:mule",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"breed_items": [
|
||||
"golden_carrot",
|
||||
"golden_apple",
|
||||
"appleEnchanted"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"golden_apple",
|
||||
"appleEnchanted",
|
||||
"golden_carrot"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:horse_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:input_ground_controlled": {
|
||||
},
|
||||
"minecraft:can_power_jump": {
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:base_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:base_creamy": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:base_chestnut": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:base_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"minecraft:base_black": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:base_gray": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
"minecraft:base_darkbrown": {
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
"minecraft:markings_none": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:markings_white_details": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:markings_white_fields": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:markings_white_dots": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"minecraft:markings_black_dots": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:equippable": {
|
||||
"slots": [
|
||||
{
|
||||
"slot": 0,
|
||||
"item": "saddle",
|
||||
"accepted_items": [ "saddle" ],
|
||||
"on_equip": {
|
||||
"event": "minecraft:horse_saddled"
|
||||
},
|
||||
"on_unequip": {
|
||||
"event": "minecraft:horse_unsaddled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"slot": 1,
|
||||
"item": "horsearmoriron",
|
||||
"accepted_items": [
|
||||
"horsearmorleather",
|
||||
"horsearmoriron",
|
||||
"horsearmorgold",
|
||||
"horsearmordiamond"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "horse", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 1.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": {
|
||||
"range_min": 15,
|
||||
"range_max": 30
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": {
|
||||
"range_min": 0.1125,
|
||||
"range_max": 0.3375
|
||||
}
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:horse.jump_strength": {
|
||||
"value": {
|
||||
"range_min": 0.4,
|
||||
"range_max": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"heal_amount": 20
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"heal_amount": 4
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"heal_amount": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 36,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_adult",
|
||||
"minecraft:horse_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 9,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_white" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_creamy" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_chestnut" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_brown" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_black" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_gray" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_darkbrown" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:markings_none" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:markings_white_details" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:markings_white_fields" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:markings_white_dots" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:markings_black_dots" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_tamed"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_adult",
|
||||
"minecraft:horse_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:horse_saddled": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:horse_unsaddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:make_white": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_white" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_creamy": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_creamy" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_chestnut": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_chestnut" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_brown": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_brown" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_black": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_black" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_gray": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_gray" ]
|
||||
}
|
||||
},
|
||||
"minecraft:make_darkbrown": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:base_darkbrown" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
579
servers/bedrock/behavior_packs/vanilla_1.16/entities/husk.json
vendored
Normal file
579
servers/bedrock/behavior_packs/vanilla_1.16/entities/husk.json
vendored
Normal file
@ -0,0 +1,579 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:husk",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:look_to_start_zombie_transformation": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater", "subject": "self", "operator": "==", "value": true
|
||||
},
|
||||
"event": "minecraft:start_transforming"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:start_zombie_transformation": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater", "subject": "self", "operator": "==", "value": false
|
||||
},
|
||||
"event": "minecraft:stop_transforming"
|
||||
}
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 30,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:convert_to_zombie"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:convert_to_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie<minecraft:as_adult>",
|
||||
"transformation_sound": "convert_to_drowned",
|
||||
"drop_equipment": true,
|
||||
"delay": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:is_shaking": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:convert_to_baby_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie<minecraft:as_baby>",
|
||||
"transformation_sound": "convert_to_drowned",
|
||||
"drop_equipment": true,
|
||||
"delay": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:is_shaking": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_husk_baby": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.53125
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_husk_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.35 ],
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.0625
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_husk_jockey": {
|
||||
"minecraft:behavior.find_mount": {
|
||||
"priority": 1,
|
||||
"within_radius": 16
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
// Zombie_husk Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "husk", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zombie.json"
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/zombie_equipment.json"
|
||||
},
|
||||
|
||||
"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:attack": {
|
||||
"damage": 3,
|
||||
"effect_name": "hunger",
|
||||
"effect_duration": 30
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_pass_doors": true,
|
||||
"can_break_doors": true,
|
||||
"avoid_portals": false
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:start_transforming"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
// Zombie_husk Behaviors
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 6,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 25.0,
|
||||
"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": 35
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
"max_dist": 35,
|
||||
"must_see": false
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
|
||||
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
|
||||
]
|
||||
},
|
||||
"max_dist": 35
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9500,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_husk_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 425,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_husk_baby"
|
||||
]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 75,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_husk_baby",
|
||||
"minecraft:zombie_husk_jockey"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:start_transforming": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:start_zombie_transformation"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:look_to_start_zombie_transformation" ]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_transforming": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:look_to_start_zombie_transformation"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:start_zombie_transformation"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:convert_to_zombie": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:convert_to_zombie" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:start_zombie_transformation" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:convert_to_baby_zombie" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:start_zombie_transformation" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
786
servers/bedrock/behavior_packs/vanilla_1.16/entities/llama.json
vendored
Normal file
786
servers/bedrock/behavior_packs/vanilla_1.16/entities/llama.json
vendored
Normal file
@ -0,0 +1,786 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:llama",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:llama_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"growth": 0.1
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"growth": 0.9
|
||||
}
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/llama.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.87
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"inherit_tamed": false,
|
||||
"love_filters": { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1 }, // Wandering Trader Llamas can't fall in love
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:llama",
|
||||
"baby_type": "minecraft:llama",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "hay_block" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_wandering_trader": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:defend_wandering_trader",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
// If this is a Wandering Trader's llama and it was just released from its leash, make it tame
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_leashed", "subject": "self", "value": false },
|
||||
{ "test": "has_component", "subject": "self", "operator": "!=", "value" : "minecraft:is_tamed" }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_tame"
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strength_1": {
|
||||
"minecraft:strength": {
|
||||
"value": 1,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_2": {
|
||||
"minecraft:strength": {
|
||||
"value": 2,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_3": {
|
||||
"minecraft:strength": {
|
||||
"value": 3,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_4": {
|
||||
"minecraft:strength": {
|
||||
"value": 4,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_5": {
|
||||
"minecraft:strength": {
|
||||
"value": 5,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_creamy": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:llama_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:llama_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:llama_gray": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_wild": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.mount",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.25, -0.3 ]
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:tamemount": {
|
||||
"min_temper": 0,
|
||||
"max_temper": 30,
|
||||
"feed_text": "action.interact.feed",
|
||||
"ride_text": "action.interact.mount",
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"temper_mod": 6
|
||||
}
|
||||
],
|
||||
"auto_reject_items": [
|
||||
{
|
||||
"item": "horsearmorleather"
|
||||
},
|
||||
{
|
||||
"item": "horsearmoriron"
|
||||
},
|
||||
{
|
||||
"item": "horsearmorgold"
|
||||
},
|
||||
{
|
||||
"item": "horsearmordiamond"
|
||||
},
|
||||
{
|
||||
"item": "saddle"
|
||||
}
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"minecraft:llama_tamed": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.2 ]
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 16,
|
||||
"container_type": "horse",
|
||||
"additional_slots_per_strength": 3
|
||||
},
|
||||
"minecraft:equippable": {
|
||||
"slots": [
|
||||
{
|
||||
"slot": 1,
|
||||
"item": "carpet",
|
||||
"accepted_items": [ "carpet" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:llama_unchested": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"play_sounds": "armor.equip_generic",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_chest",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"interact_text": "action.interact.attachchest"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_chested": {
|
||||
"minecraft:is_chested": {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 4,
|
||||
"broadcast_anger": false,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 2,
|
||||
"attack_radius": 64,
|
||||
"charge_shoot_trigger": 2,
|
||||
"charge_charged_trigger": 1
|
||||
}
|
||||
},
|
||||
"minecraft:llama_angry_wolf": {
|
||||
"minecraft:angry": {
|
||||
"duration": -1,
|
||||
"broadcast_anger": false,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 2,
|
||||
"attack_radius": 64,
|
||||
"charge_shoot_trigger": 2,
|
||||
"charge_charged_trigger": 1
|
||||
}
|
||||
},
|
||||
"minecraft:llama_defend_trader": {
|
||||
"minecraft:angry": {
|
||||
"duration": 10,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 2,
|
||||
"attack_radius": 64,
|
||||
"charge_shoot_trigger": 2,
|
||||
"charge_charged_trigger": 1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:in_caravan": {
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "all",
|
||||
"deals_damage": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "llama", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:mark_variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": {
|
||||
"range_min": 15,
|
||||
"range_max": 30
|
||||
}
|
||||
},
|
||||
"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": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"can_be_stolen": true
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:llama_spit"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.run_around_like_crazy": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.follow_caravan": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 2.1,
|
||||
"entity_count": 10,
|
||||
"entity_types": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "llama"}
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1,
|
||||
"hurt_owner": true
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "all",
|
||||
"deals_damage": true,
|
||||
"on_damage": {
|
||||
"filters": { "test": "in_caravan", "value": false },
|
||||
"event": "minecraft:become_angry"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"attack_interval": 16,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "wolf"},
|
||||
{ "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"must_see": false,
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:mad_at_wolf",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "target", "value" : "wolf"},
|
||||
{ "test" : "has_component","subject" : "target", "operator": "!=", "value" : "minecraft:is_tamed"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 90,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_adult",
|
||||
"minecraft:llama_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_baby"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_1"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_2"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_3"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_4"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_5"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_creamy"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_gray"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:from_wandering_trader": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_adult",
|
||||
"minecraft:llama_wandering_trader"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_1"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_2"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 32,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_3"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_4"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strength_5"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_creamy"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_gray"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_adult",
|
||||
"minecraft:llama_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_tamed",
|
||||
"minecraft:llama_unchested"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:join_caravan": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:in_caravan"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:leave_caravan": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:in_caravan"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:mad_at_wolf": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_angry_wolf"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:defend_wandering_trader": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_defend_trader"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_angry",
|
||||
"minecraft:llama_angry_wolf",
|
||||
"minecraft:llama_defend_trader"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_chest": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_unchested"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_chested"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
190
servers/bedrock/behavior_packs/vanilla_1.16/entities/magma_cube.json
vendored
Normal file
190
servers/bedrock/behavior_packs/vanilla_1.16/entities/magma_cube.json
vendored
Normal file
@ -0,0 +1,190 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:magma_cube",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"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:loot": {
|
||||
"table": "loot_tables/entities/magma_cube.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_medium": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.78,
|
||||
"height": 0.78
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.66
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/magma_cube.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_small": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.52,
|
||||
"height": 0.52
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
}
|
||||
},
|
||||
|
||||
"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: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": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
756
servers/bedrock/behavior_packs/vanilla_1.16/entities/mooshroom.json
vendored
Normal file
756
servers/bedrock/behavior_packs/vanilla_1.16/entities/mooshroom.json
vendored
Normal file
@ -0,0 +1,756 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:mooshroom",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:mooshroom_become_cow": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:cow"
|
||||
}
|
||||
},
|
||||
"minecraft:cow_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "wheat",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:cow_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/mooshroom.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "wheat",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:mooshroom",
|
||||
"baby_type": "minecraft:mooshroom",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"deny_parents_variant": {
|
||||
"chance": 0.00098, // Roughly 1/1024
|
||||
"min_variant": 0,
|
||||
"max_variant": 1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bowl"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:flowerless",
|
||||
"target": "self"
|
||||
},
|
||||
"add_items": {
|
||||
"table": "loot_tables/gameplay/entities/mooshroom_milking.json"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "milk_suspiciously",
|
||||
"interact_text": "action.interact.moostew"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // allium
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:2"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 7}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_allium",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // bluet
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:3"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 3}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_bluet",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // orchid
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:1"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 6}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_orchid",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // cornflower
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:9"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_cornflower",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // Dandelion
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "yellow_flower"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 5}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_dandelion",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // lily of the valley
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:10"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 4}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_lily",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // daisy
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:8"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 8}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_daisy",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // poppy
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:0"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 0}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_poppy",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // tulips
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:4"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:5"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:6"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:7"}
|
||||
],
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 2}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_tulip",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // rose
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "wither_rose"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 9}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_rose",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 0}
|
||||
]
|
||||
},
|
||||
"event": "become_cow",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"spawn_items": { "table": "loot_tables/entities/mooshroom_shear.json" },
|
||||
"particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.mooshear"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1}
|
||||
]
|
||||
},
|
||||
"event": "become_cow",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"spawn_items": { "table": "loot_tables/entities/brown_mooshroom_shear.json" },
|
||||
"particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.mooshear"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bucket:0"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"transform_to_item": "bucket:1",
|
||||
"play_sounds": "milk",
|
||||
"interact_text": "action.interact.milk"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_fed_nothing": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": -1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_poppy": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_cornflower": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_tulips": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_azure_bluet": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_lily_of_the_valley": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_dandelion": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_blue_orchid": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_allium": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_oxeye_daisy": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_wither_rose": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 9
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "mushroomcow", "mob" ]
|
||||
},
|
||||
"minecraft:mark_variant": {
|
||||
"value": -1
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"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": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.105, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"wheat"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "lightning" },
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 0 }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:become_brown"
|
||||
},
|
||||
"deals_damage": false,
|
||||
"on_damage_sound_event": "convert_mooshroom"
|
||||
},
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "lightning" },
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1 }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:become_red"
|
||||
},
|
||||
"deals_damage": false,
|
||||
"on_damage_sound_event": "convert_mooshroom"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"become_cow": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_become_cow"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult",
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby",
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:flowerless": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_allium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_allium"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_cornflower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_cornflower"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_lily": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_lily_of_the_valley"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_rose": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_wither_rose"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_orchid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_blue_orchid"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_daisy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_oxeye_daisy"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_tulip": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_tulips"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_bluet": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_azure_bluet"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_poppy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_poppy"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_dandelion": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_dandelion"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_red": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_brown": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_brown_adult": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:cow_adult",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_red_adult": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red",
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
440
servers/bedrock/behavior_packs/vanilla_1.16/entities/mule.json
vendored
Normal file
440
servers/bedrock/behavior_packs/vanilla_1.16/entities/mule.json
vendored
Normal file
@ -0,0 +1,440 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:mule",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:mule_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale_by_age": {
|
||||
"start_scale": 0.5,
|
||||
"end_scale": 1.0
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"growth": 0.016667
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"growth": 0.025
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"growth": 0.15
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"growth": 0.05
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"growth": 0.2
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"growth": 0.2
|
||||
}
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/horse.json"
|
||||
},
|
||||
"minecraft:behavior.run_around_like_crazy": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_wild": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player",
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.mount",
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.975, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:tamemount": {
|
||||
"min_temper": 0,
|
||||
"max_temper": 100,
|
||||
"feed_text": "action.interact.feed",
|
||||
"ride_text": "action.interact.mount",
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"temper_mod": 5
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"temper_mod": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"temper_mod": 10
|
||||
}
|
||||
],
|
||||
"auto_reject_items": [
|
||||
{
|
||||
"item": "horsearmorleather"
|
||||
},
|
||||
{
|
||||
"item": "horsearmoriron"
|
||||
},
|
||||
{
|
||||
"item": "horsearmorgold"
|
||||
},
|
||||
{
|
||||
"item": "horsearmordiamond"
|
||||
},
|
||||
{
|
||||
"item": "saddle"
|
||||
}
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_tamed": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:equippable": {
|
||||
"slots": [
|
||||
{
|
||||
"slot": 0,
|
||||
"item": "saddle",
|
||||
"accepted_items": [ "saddle" ],
|
||||
"on_equip": {
|
||||
"event": "minecraft:mule_saddled"
|
||||
},
|
||||
"on_unequip": {
|
||||
"event": "minecraft:mule_unsaddled"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.975, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 16,
|
||||
"container_type": "horse"
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"apple",
|
||||
"carrot",
|
||||
"golden_apple",
|
||||
"appleEnchanted",
|
||||
"golden_carrot",
|
||||
"carrotOnAStick",
|
||||
"hay_block",
|
||||
"sugar",
|
||||
"bread",
|
||||
"wheat"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_unchested": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"play_sounds": "armor.equip_generic",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "chest"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_chest",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"interact_text": "action.interact.attachchest"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_chested": {
|
||||
"minecraft:is_chested": {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:input_ground_controlled": {
|
||||
},
|
||||
"minecraft:can_power_jump": {
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "mule", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 1.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": {
|
||||
"range_min": 15,
|
||||
"range_max": 30
|
||||
}
|
||||
},
|
||||
"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.175
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:horse.jump_strength": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "sugar",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"heal_amount": 20
|
||||
},
|
||||
{
|
||||
"item": "apple",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "golden_carrot",
|
||||
"heal_amount": 4
|
||||
},
|
||||
{
|
||||
"item": "golden_apple",
|
||||
"heal_amount": 10
|
||||
},
|
||||
{
|
||||
"item": "appleEnchanted",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_adult",
|
||||
"minecraft:mule_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_tamed",
|
||||
"minecraft:mule_unchested"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_adult",
|
||||
"minecraft:mule_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_chest": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_unchested"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_chested"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mule_saddled": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:mule_unsaddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mule_saddled"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
389
servers/bedrock/behavior_packs/vanilla_1.16/entities/ocelot.json
vendored
Normal file
389
servers/bedrock/behavior_packs/vanilla_1.16/entities/ocelot.json
vendored
Normal file
@ -0,0 +1,389 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ocelot",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:ocelot_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ocelot_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/ocelot.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:ocelot_wild": {
|
||||
"minecraft:trusting": {
|
||||
"probability": 0.33,
|
||||
"trust_items": [ "fish", "salmon" ],
|
||||
"trust_event": {
|
||||
"event": "minecraft:on_trust",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"can_get_scared": true,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.35, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ocelot_trusting": {
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:ocelot",
|
||||
"baby_type": "minecraft:ocelot",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "fish", "salmon" ]
|
||||
}
|
||||
},
|
||||
// minecraft:ocelot_tame is only here for backwards compatibility purposes, ocelots are no longer tameable in Vanilla Minecraft
|
||||
"minecraft:ocelot_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.ocelot_sit_on_block": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack_damage": {
|
||||
"value": 3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "ocelot", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"reselect_targets": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "chicken"
|
||||
},
|
||||
"max_dist": 8
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 3,
|
||||
"target_dist": 0.3
|
||||
},
|
||||
"minecraft:behavior.ocelotattack": {
|
||||
"priority": 4,
|
||||
"cooldown_time": 1.0,
|
||||
"x_max_rotation": 30.0,
|
||||
"y_max_head_rotation": 30.0,
|
||||
"max_distance": 15.0,
|
||||
"max_sneak_range": 15.0,
|
||||
"max_sprint_range": 4.0,
|
||||
"reach_multiplier": 2.0,
|
||||
"sneak_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"walk_speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"on_leash": {
|
||||
"event": "minecraft:on_leash",
|
||||
"target": "self"
|
||||
},
|
||||
"on_unleash": {
|
||||
"event": "minecraft:on_unleash",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_adult",
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born_wild": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_trust": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// Leashing and unleashing are only here for backwards compatibility purposes, ocelots are no longer leashable in Vanilla Minecraft
|
||||
"minecraft:on_leash": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_leashed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_unleash": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_leashed"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
693
servers/bedrock/behavior_packs/vanilla_1.16/entities/panda.json
vendored
Normal file
693
servers/bedrock/behavior_packs/vanilla_1.16/entities/panda.json
vendored
Normal file
@ -0,0 +1,693 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:panda",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:panda_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "bamboo",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.0016
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 13,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.0001666,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/panda.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"blend_attributes": false,
|
||||
"environment_requirements": {
|
||||
"blocks": "bamboo",
|
||||
"count": 8,
|
||||
"radius": 5
|
||||
},
|
||||
"breed_items": "bamboo",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:panda",
|
||||
"baby_type": "minecraft:panda",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"mutation_factor": {
|
||||
"variant": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"attack_once": true,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:panda_lazy": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.lay_down": {
|
||||
"priority": 5,
|
||||
"interval": 400,
|
||||
"random_stop_interval": 2000
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 6,
|
||||
"start_chance": 0.02,
|
||||
"stop_chance": 0.2,
|
||||
"cooldown": 25,
|
||||
"min_sit_time": 15
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 3,
|
||||
"snacking_cooldown": 17.5,
|
||||
"snacking_cooldown_min": 10,
|
||||
"snacking_stop_chance": 0.0011,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
// Lazy panda's move half the speed, so double their multiplier when they panic
|
||||
// Otherwise, they don't actually look like they're panicking
|
||||
"speed_multiplier": 2.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.07
|
||||
}
|
||||
},
|
||||
"minecraft:panda_worried": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:behavior.scared": {
|
||||
"priority": 1,
|
||||
"sound_interval": 20
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"max_dist": 16,
|
||||
"max_flee": 20,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"operator": "!=",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
"max_dist": 16,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_playful": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.013
|
||||
}
|
||||
},
|
||||
"minecraft:panda_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:panda_weak": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
}
|
||||
},
|
||||
"minecraft:panda_sneezing": {
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.002,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_aggressive": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "panda" , "panda_aggressive", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
// Aggressive pandas don't panic from mob damage
|
||||
"ignore_mob_damage": true
|
||||
}
|
||||
},
|
||||
"minecraft:panda_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
}
|
||||
},
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "panda" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_float": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:giveable": {
|
||||
"triggers": {
|
||||
"cooldown": 3.0,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
],
|
||||
"on_give": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 1,
|
||||
"private": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.7,
|
||||
"height": 1.5
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"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:movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 5,
|
||||
"start_chance": 0.01,
|
||||
"stop_chance": 0.3,
|
||||
"cooldown": 30,
|
||||
"min_sit_time": 10
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 2,
|
||||
"snacking_cooldown": 22.5,
|
||||
"snacking_cooldown_min": 20,
|
||||
"snacking_stop_chance": 0.001334,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"bamboo"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 14,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 1.5
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.105, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:genetics": {
|
||||
"mutation_rate": 0.03125,
|
||||
"genes": [
|
||||
{
|
||||
"name": "panda_variant",
|
||||
"allele_range": {
|
||||
"range_min": 0,
|
||||
"range_max": 15
|
||||
},
|
||||
"genetic_variants": [
|
||||
{
|
||||
"main_allele": 0,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_lazy",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 1,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_worried",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 2,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_playful",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 3,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_aggressive",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"both_allele": {
|
||||
"range_min": 4,
|
||||
"range_max": 7
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_weak",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"both_allele": {
|
||||
"range_min": 8,
|
||||
"range_max": 9
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_brown",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 3
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_playful"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 6
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:panda_lazy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_lazy"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_worried": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_worried"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_playful": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_playful"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_brown": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_weak": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_weak"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "==",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_sneezing"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:panda_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_aggressive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_scared": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:baby_on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_angry"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
256
servers/bedrock/behavior_packs/vanilla_1.16/entities/parrot.json
vendored
Normal file
256
servers/bedrock/behavior_packs/vanilla_1.16/entities/parrot.json
vendored
Normal file
@ -0,0 +1,256 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:parrot",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:parrot_red": {
|
||||
"minecraft:variant": { "value": 0 }
|
||||
},
|
||||
"minecraft:parrot_blue": {
|
||||
"minecraft:variant": { "value": 1 }
|
||||
},
|
||||
"minecraft:parrot_green": {
|
||||
"minecraft:variant": { "value": 2 }
|
||||
},
|
||||
"minecraft:parrot_cyan": {
|
||||
"minecraft:variant": { "value": 3 }
|
||||
},
|
||||
"minecraft:parrot_silver": {
|
||||
"minecraft:variant": { "value": 4 }
|
||||
},
|
||||
|
||||
"minecraft:parrot_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/parrot.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:parrot_wild": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "parrot_wild", "mob" ]
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": [
|
||||
"wheat_seeds",
|
||||
"pumpkin_seeds",
|
||||
"melon_seeds",
|
||||
"beetroot_seeds"
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_fly": {
|
||||
"priority": 2,
|
||||
"xz_dist": 15,
|
||||
"y_dist": 1,
|
||||
"y_offset": 0,
|
||||
"speed_multiplier": 1.0,
|
||||
"can_land_on_trees": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:behavior.follow_mob": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"stop_distance": 3,
|
||||
"search_range": 20
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:parrot_tame": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "parrot_tame", "mob" ]
|
||||
},
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 5,
|
||||
"stop_distance": 1
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.find_mount": {
|
||||
"priority": 3,
|
||||
"within_radius": 16,
|
||||
"avoid_water": true,
|
||||
"start_delay": 100,
|
||||
"target_needed": false,
|
||||
"mount_distance": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 1
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"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.4
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"minecraft:navigation.fly": {
|
||||
"can_path_over_water": true,
|
||||
"can_path_from_air": true
|
||||
},
|
||||
"minecraft:movement.fly": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 0,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 1,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"force_use": true,
|
||||
"filters": { "test": "is_riding", "operator": "!=", "value": true },
|
||||
"items": [
|
||||
{
|
||||
"item": "cookie",
|
||||
"heal_amount": 0,
|
||||
"effects": [
|
||||
{
|
||||
"name": "fatal_poison",
|
||||
"chance": 1.0,
|
||||
"duration": 1000,
|
||||
"amplifier": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_red",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_blue",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_green",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_cyan",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_silver",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
127
servers/bedrock/behavior_packs/vanilla_1.16/entities/phantom.json
vendored
Normal file
127
servers/bedrock/behavior_packs/vanilla_1.16/entities/phantom.json
vendored
Normal file
@ -0,0 +1,127 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
|
||||
"description": {
|
||||
"identifier": "minecraft:phantom",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "phantom", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/phantom.json"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"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:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": false
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 1.8
|
||||
},
|
||||
"minecraft:movement.glide": {
|
||||
"start_speed": 0.1,
|
||||
"speed_when_turning": 0.2
|
||||
},
|
||||
"minecraft:burns_in_daylight": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64,
|
||||
"max": 64
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 0,
|
||||
"max_dist": 16.0,
|
||||
"ignore_visibility": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "ocelot" },
|
||||
{ "test": "is_family", "subject": "other", "value": "cat" }
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"reselect_targets": true,
|
||||
"scan_interval": 20,
|
||||
"within_radius": 64.0,
|
||||
"must_see_forget_duration": 0.5,
|
||||
"target_search_height": 80.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "player" },
|
||||
"max_dist": 64
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.swoop_attack": {
|
||||
"priority": 2,
|
||||
"damage_reach": 0.2,
|
||||
"speed_multiplier": 1.0,
|
||||
"delay_range": [ 10.0, 20.0 ]
|
||||
},
|
||||
"minecraft:behavior.circle_around_anchor": {
|
||||
"priority": 3,
|
||||
"radius_change": 1.0,
|
||||
"radius_adjustment_chance": 0.004,
|
||||
"height_adjustment_chance": 0.002857,
|
||||
"goal_radius": 1.0,
|
||||
"angle_change": 15.0,
|
||||
"radius_range": [ 5.0, 15.0 ],
|
||||
"height_offset_range": [ -4.0, 5.0 ],
|
||||
"height_above_target_range": [ 20.0, 40.0 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
308
servers/bedrock/behavior_packs/vanilla_1.16/entities/pig.json
vendored
Normal file
308
servers/bedrock/behavior_packs/vanilla_1.16/entities/pig.json
vendored
Normal file
@ -0,0 +1,308 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pig",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:pig_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "carrot", "beetroot", "potato" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_transform": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:pig_zombie",
|
||||
"delay": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pig.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:pig",
|
||||
"baby_type": "minecraft:pig",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "carrot", "beetroot", "potato" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_unsaddled": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||
"event": "minecraft:on_saddled"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "saddle",
|
||||
"interact_text": "action.interact.saddle"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.63, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pig_saddled.json"
|
||||
},
|
||||
"minecraft:boostable": {
|
||||
"speed_multiplier": 2.0,
|
||||
"duration": 3.0,
|
||||
"boost_items": [
|
||||
{
|
||||
"item": "carrotOnAStick",
|
||||
"damage": 2,
|
||||
"replace_item": "fishing_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"interact_text": "action.interact.mount",
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.63, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:item_controllable": {
|
||||
"control_items": "carrotOnAStick"
|
||||
},
|
||||
"minecraft:behavior.controlled_by_player": {
|
||||
"priority": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning"},
|
||||
"event": "become_zombie"
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pig", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"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": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.75
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"potato",
|
||||
"carrot",
|
||||
"beetroot",
|
||||
"carrotOnAStick"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"become_zombie": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_transform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_adult",
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_adult",
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_saddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_saddled"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1113
servers/bedrock/behavior_packs/vanilla_1.16/entities/piglin.json
vendored
Normal file
1113
servers/bedrock/behavior_packs/vanilla_1.16/entities/piglin.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
387
servers/bedrock/behavior_packs/vanilla_1.16/entities/piglin_brute.json
vendored
Normal file
387
servers/bedrock/behavior_packs/vanilla_1.16/entities/piglin_brute.json
vendored
Normal file
@ -0,0 +1,387 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:piglin_brute",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"zombification_sensor": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "start_zombification_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"start_zombification": {
|
||||
"minecraft:is_shaking": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "stop_zombification_event"
|
||||
}
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 15,
|
||||
"time_down_event": {
|
||||
"event": "become_zombie_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"become_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie_pigman",
|
||||
"transformation_sound" : "converted_to_zombified",
|
||||
"keep_level": true
|
||||
}
|
||||
},
|
||||
|
||||
"melee_unit": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 7
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/piglin_brute_gear.json"
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
|
||||
"angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 30,
|
||||
"broadcast_anger": false,
|
||||
"broadcast_anger_on_attack": false,
|
||||
"broadcast_anger_on_being_attacked": true,
|
||||
"broadcast_range": 16,
|
||||
"broadcast_targets": [
|
||||
"piglin" // we want to broadcast to both normal piglins and piglin_brute
|
||||
],
|
||||
"calm_event": {
|
||||
"event": "become_calm_event",
|
||||
"target": "self"
|
||||
},
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "piglin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"angry_sound": "angry",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"alert_for_attack_targets": {
|
||||
"minecraft:behavior.nearest_prioritized_attackable_target": {
|
||||
"priority": 3,
|
||||
"within_radius": 12.0,
|
||||
"persist_time": 2.0,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wither"
|
||||
},
|
||||
"max_dist": 12,
|
||||
"priority": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"take_target_as_response_to_block_break": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"go_back_to_spawn": {
|
||||
"minecraft:behavior.go_home": {
|
||||
"priority": 6,
|
||||
"interval": 200,
|
||||
"speed_multiplier": 0.6,
|
||||
"goal_radius": 4.0,
|
||||
"on_failed": {
|
||||
"event": "go_back_to_spawn_failed",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [
|
||||
"piglin",
|
||||
"adult_piglin",
|
||||
"piglin_brute",
|
||||
"monster"
|
||||
]
|
||||
},
|
||||
"minecraft:home": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 10 : 0"
|
||||
},
|
||||
"minecraft:block_sensor": {
|
||||
"sensor_radius": 16,
|
||||
"on_break": [
|
||||
{
|
||||
"block_list": [
|
||||
"minecraft:gold_block",
|
||||
"minecraft:chest",
|
||||
"minecraft:ender_chest",
|
||||
"minecraft:barrel",
|
||||
"minecraft:shulker_box",
|
||||
"minecraft:undyed_shulker_box"
|
||||
],
|
||||
"on_block_broken": "important_block_destroyed_event"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "become_angry_event",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 50,
|
||||
"max": 50
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/piglin.json"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_open_doors": true
|
||||
},
|
||||
"minecraft:annotation.open_door": {
|
||||
},
|
||||
"minecraft:movement.basic": {},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:despawn": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 54
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "inactivity_timer",
|
||||
"subject": "self",
|
||||
"value": 30
|
||||
},
|
||||
{
|
||||
"test": "random_chance",
|
||||
"value": 800
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 32
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zombification_sensor",
|
||||
"alert_for_attack_targets",
|
||||
"melee_unit",
|
||||
"go_back_to_spawn"
|
||||
]
|
||||
}
|
||||
},
|
||||
"stop_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
}
|
||||
},
|
||||
"start_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_angry_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_calm_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry",
|
||||
"take_target_as_response_to_block_break"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"alert_for_attack_targets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_zombie_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_zombie"
|
||||
]
|
||||
}
|
||||
},
|
||||
"important_block_destroyed_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"alert_for_attack_targets"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"take_target_as_response_to_block_break"
|
||||
]
|
||||
}
|
||||
},
|
||||
"go_back_to_spawn_failed": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"go_back_to_spawn"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
482
servers/bedrock/behavior_packs/vanilla_1.16/entities/pillager.json
vendored
Normal file
482
servers/bedrock/behavior_packs/vanilla_1.16/entities/pillager.json
vendored
Normal file
@ -0,0 +1,482 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pillager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ranged_attack": {
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 4,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 1.0,
|
||||
"attack_radius": 8.0
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:melee_attack": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:ranged_mode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pillager_raid.json"
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:illager_squad_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.hold_ground": {
|
||||
"priority": 5,
|
||||
"min_radius": 10,
|
||||
"broadcast": true,
|
||||
"broadcast_range": 8,
|
||||
"within_radius_event": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_random_block": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.55,
|
||||
"within_radius": 8,
|
||||
"block_distance": 512
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_follower": {
|
||||
"minecraft:behavior.follow_target_captain": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.8,
|
||||
"within_radius": 64,
|
||||
"follow_distance": 5
|
||||
},
|
||||
"minecraft:behavior.hold_ground": {
|
||||
"priority": 6,
|
||||
"min_radius": 10,
|
||||
"broadcast": true,
|
||||
"broadcast_range": 8,
|
||||
"within_radius_event": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pillager", "monster", "illager", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 24,
|
||||
"max": 24
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pillager.json"
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:banner:15",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_gear.json"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "illager"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wandering_trader"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "villager"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 7,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.charge_held_item": {
|
||||
"priority": 3,
|
||||
"items": [
|
||||
"minecraft:arrow"
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack",
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_patrol_follower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack",
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_patrol_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:melee_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:melee_attack" ] }
|
||||
},
|
||||
"minecraft:ranged_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:calm": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack", "minecraft:ranged_attack" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
194
servers/bedrock/behavior_packs/vanilla_1.16/entities/player.json
vendored
Normal file
194
servers/bedrock/behavior_packs/vanilla_1.16/entities/player.json
vendored
Normal file
@ -0,0 +1,194 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"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,
|
||||
"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:player.saturation": {
|
||||
"value": 20
|
||||
},
|
||||
"minecraft:player.exhaustion": {
|
||||
"value": 0,
|
||||
"max": 4
|
||||
},
|
||||
"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": {
|
||||
},
|
||||
"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:scaffolding_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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
303
servers/bedrock/behavior_packs/vanilla_1.16/entities/polar_bear.json
vendored
Normal file
303
servers/bedrock/behavior_packs/vanilla_1.16/entities/polar_bear.json
vendored
Normal file
@ -0,0 +1,303 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:polar_bear",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/polar_bear.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "fox"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": false
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_hostile": {
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": false,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.stomp_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"stomp_range_multiplier": 2.0,
|
||||
"no_damage_range_multiplier": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "polarbear", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 30
|
||||
},
|
||||
"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": 1.3,
|
||||
"height": 1.4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 2.0
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult",
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild",
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult",
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_hostile"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_anger": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_scared": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
297
servers/bedrock/behavior_packs/vanilla_1.16/entities/pufferfish.json
vendored
Normal file
297
servers/bedrock/behavior_packs/vanilla_1.16/entities/pufferfish.json
vendored
Normal file
@ -0,0 +1,297 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"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,
|
||||
"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: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": 6,
|
||||
"max": 6
|
||||
},
|
||||
"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: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
|
||||
}
|
||||
},
|
||||
|
||||
"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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
324
servers/bedrock/behavior_packs/vanilla_1.16/entities/rabbit.json
vendored
Normal file
324
servers/bedrock/behavior_packs/vanilla_1.16/entities/rabbit.json
vendored
Normal file
@ -0,0 +1,324 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:rabbit",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"golden_carrot",
|
||||
"carrot",
|
||||
"yellow_flower"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/rabbit.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"breed_items": [
|
||||
"golden_carrot",
|
||||
"carrot",
|
||||
"yellow_flower"
|
||||
],
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:rabbit",
|
||||
"baby_type": "minecraft:rabbit"
|
||||
},
|
||||
"require_tame": false,
|
||||
"mutation_factor": {
|
||||
"variant": 0.2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"coat_brown": {
|
||||
"minecraft:variant": { "value": 0 }
|
||||
},
|
||||
"coat_white": {
|
||||
"minecraft:variant": { "value": 1 }
|
||||
},
|
||||
"coat_black": {
|
||||
"minecraft:variant": { "value": 2 }
|
||||
},
|
||||
"coat_splotched": {
|
||||
"minecraft:variant": { "value": 3 }
|
||||
},
|
||||
"coat_desert": {
|
||||
"minecraft:variant": { "value": 4 }
|
||||
},
|
||||
"coat_salt": {
|
||||
"minecraft:variant": { "value": 5 }
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family":["rabbit", "mob"]
|
||||
},
|
||||
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
"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:collision_box": {
|
||||
"width": 0.67,
|
||||
"height": 0.67
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.skip": {
|
||||
},
|
||||
"minecraft:jump.dynamic": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.4
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic" : {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 2.2
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 4,
|
||||
"entity_types":[
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 1.8
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "wolf"},
|
||||
"max_dist": 4,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 1.8
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||
"max_dist": 4,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"items": [
|
||||
"golden_carrot",
|
||||
"carrot",
|
||||
"yellow_flower"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.raid_garden": {
|
||||
"priority": 5,
|
||||
"blocks": [
|
||||
"carrots"
|
||||
],
|
||||
"search_range": 16,
|
||||
"goal_radius": 0.8
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.6,
|
||||
"xz_dist": 2,
|
||||
"y_dist": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
|
||||
"in_desert": { "add": { "component_groups": [ "coat_desert" ] } },
|
||||
|
||||
"in_snow": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"add": { "component_groups": [ "coat_white" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "coat_splotched" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 50,
|
||||
"add": { "component_groups": [ "coat_brown" ] }
|
||||
},
|
||||
{
|
||||
"weight": 40,
|
||||
"add": { "component_groups": [ "coat_black" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "coat_salt" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_biome", "value": "desert" },
|
||||
"add": { "component_groups": [ "coat_desert" ] }
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_snow_covered", "value": true },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"add": { "component_groups": [ "coat_white" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "coat_splotched" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{ "add": { "component_groups": [ "baby" ] } },
|
||||
{
|
||||
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 50,
|
||||
"add": { "component_groups": [ "coat_brown" ] }
|
||||
},
|
||||
{
|
||||
"weight": 40,
|
||||
"add": { "component_groups": [ "coat_black" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "coat_salt" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_biome", "value": "desert" },
|
||||
"add": { "component_groups": [ "coat_desert" ] }
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_snow_covered", "value": true },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"add": { "component_groups": [ "coat_white" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "coat_splotched" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"grow_up": {
|
||||
"remove": { "component_groups": [ "baby" ] },
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
465
servers/bedrock/behavior_packs/vanilla_1.16/entities/ravager.json
vendored
Normal file
465
servers/bedrock/behavior_packs/vanilla_1.16/entities/ravager.json
vendored
Normal file
@ -0,0 +1,465 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ravager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:pillager_rider": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:pillager"
|
||||
}
|
||||
},
|
||||
"minecraft:pillager_rider_for_raid": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:pillager",
|
||||
"spawn_event": "minecraft:spawn_for_raid"
|
||||
}
|
||||
},
|
||||
"minecraft:evoker_rider_for_raid": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:evocation_illager",
|
||||
"spawn_event": "minecraft:spawn_for_raid"
|
||||
}
|
||||
},
|
||||
"minecraft:pillager_captain_rider": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:pillager",
|
||||
"spawn_event": "minecraft:spawn_as_illager_captain"
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_rider": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:vindicator"
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_captain_rider": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:vindicator",
|
||||
"spawn_event": "minecraft:spawn_as_illager_captain"
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 4.0,
|
||||
"range": 8.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:hostile": {
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:behavior.delayed_attack": {
|
||||
"priority": 4,
|
||||
"attack_once": false,
|
||||
"track_target": true,
|
||||
"require_complete_path": false,
|
||||
"random_stop_interval": 0,
|
||||
"reach_multiplier": 1.5,
|
||||
"speed_multiplier": 1.0,
|
||||
"attack_duration": 0.75,
|
||||
"hit_delay_pct": 0.5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.4
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6,
|
||||
"angle_of_view_horizontal": 45,
|
||||
"probability": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_entity": {
|
||||
"priority": 10,
|
||||
"look_distance": 8,
|
||||
"angle_of_view_horizontal": 45,
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "mob"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "illager"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"must_see": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "villager"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
"stunned": {
|
||||
"minecraft:is_stunned": {
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:start_roar"
|
||||
}
|
||||
}
|
||||
},
|
||||
"roaring": {
|
||||
"minecraft:behavior.knockback_roar": {
|
||||
"priority": 1,
|
||||
"duration": 1,
|
||||
"attack_time": 0.5,
|
||||
"knockback_damage": 6,
|
||||
"knockback_strength": 3,
|
||||
"knockback_range": 4,
|
||||
"knockback_filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "ravager"
|
||||
},
|
||||
"damage_filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "illager"
|
||||
},
|
||||
"on_roar_end": {
|
||||
"event": "minecraft:end_roar"
|
||||
},
|
||||
"cooldown_time": 0.1
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 20 : 0"
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:ravager_blocked": {
|
||||
"knockback_strength": 3.0,
|
||||
"reaction_choices": [
|
||||
{
|
||||
"weight": 1,
|
||||
"value": {
|
||||
"event": "minecraft:become_stunned",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
// Default, large knockback case
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 12.0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"suffocate_time": 0,
|
||||
"total_supply": 15
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"height": 1.9,
|
||||
"width": 1.2
|
||||
},
|
||||
"minecraft:health": {
|
||||
"max": 100,
|
||||
"value": 100
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/ravager.json"
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.0
|
||||
},
|
||||
"minecraft:movement.basic": {},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:navigation.walk": {
|
||||
"avoid_damage_blocks": true,
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:break_blocks": {
|
||||
"breakable_blocks": [
|
||||
"bamboo",
|
||||
"bamboo_sapling",
|
||||
"beetroot",
|
||||
"brown_mushroom",
|
||||
"carrots",
|
||||
"carved_pumpkin",
|
||||
"chorus_flower",
|
||||
"chorus_plant",
|
||||
"deadbush",
|
||||
"double_plant",
|
||||
"leaves",
|
||||
"leaves2",
|
||||
"lit_pumpkin",
|
||||
"melon_block",
|
||||
"melon_stem",
|
||||
"potatoes",
|
||||
"pumpkin",
|
||||
"pumpkin_stem",
|
||||
"red_flower",
|
||||
"red_mushroom",
|
||||
"crimson_fungus",
|
||||
"warped_fungus",
|
||||
"reeds",
|
||||
"sapling",
|
||||
"snow_layer",
|
||||
"sweet_berry_bush",
|
||||
"tallgrass",
|
||||
"turtle_egg",
|
||||
"vine",
|
||||
"waterlily",
|
||||
"wheat",
|
||||
"yellow_flower"
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"pillager",
|
||||
"vindicator",
|
||||
"evocation_illager"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 2.1, -0.3 ]
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [
|
||||
"monster",
|
||||
"illager",
|
||||
"ravager",
|
||||
"mob"
|
||||
]
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid_with_evoker_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:evoker_rider_for_raid",
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid_with_pillager_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:pillager_rider_for_raid",
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_with_pillager_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:pillager_rider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_with_pillager_captain_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:pillager_captain_rider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_with_vindicator_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:vindicator_rider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_with_vindicator_captain_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:vindicator_captain_rider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_stunned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"stunned"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_roar": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"roaring"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"stunned"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:end_roar": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"roaring"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
195
servers/bedrock/behavior_packs/vanilla_1.16/entities/salmon.json
vendored
Normal file
195
servers/bedrock/behavior_packs/vanilla_1.16/entities/salmon.json
vendored
Normal file
@ -0,0 +1,195 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:salmon",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"scale_small": {
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_normal.json"
|
||||
}
|
||||
},
|
||||
"scale_normal": {
|
||||
"minecraft:scale": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_normal.json"
|
||||
}
|
||||
},
|
||||
|
||||
"scale_large": {
|
||||
"minecraft:scale": {
|
||||
"value": 1.5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_large.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "salmon", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"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.12
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.12
|
||||
},
|
||||
"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:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 3,
|
||||
"max_flee": 10,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.swim_idle": {
|
||||
"priority": 5,
|
||||
"idle_time": 5.0,
|
||||
"success_rate": 0.1
|
||||
},
|
||||
|
||||
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
|
||||
"speed_multiplier": 1.0,
|
||||
"priority": 3,
|
||||
"xz_dist": 16,
|
||||
"y_dist": 4,
|
||||
"interval": 0
|
||||
},
|
||||
|
||||
"minecraft:behavior.swim_wander": {
|
||||
"priority": 4,
|
||||
"interval": 0.0166,
|
||||
"look_ahead": 5.0,
|
||||
"speed_multiplier": 0.014,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": false,
|
||||
"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": 0.65,
|
||||
"separation_threshold": 0.15,
|
||||
"cohesion_weight": 2.25,
|
||||
"cohesion_threshold": 1.5,
|
||||
"innner_cohesion_threshold": 1.5,
|
||||
"min_height": 4.0,
|
||||
"max_height": 4.0,
|
||||
"block_distance": 1.0,
|
||||
"block_weight": 0.75
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 30,
|
||||
"add": {
|
||||
"component_groups": [ "adult", "scale_small" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 50,
|
||||
"add": {
|
||||
"component_groups": [ "adult", "scale_normal" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [ "adult", "scale_large" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
437
servers/bedrock/behavior_packs/vanilla_1.16/entities/sheep.json
vendored
Normal file
437
servers/bedrock/behavior_packs/vanilla_1.16/entities/sheep.json
vendored
Normal file
@ -0,0 +1,437 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:sheep",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:loot_sheared": {
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/sheep_sheared.json"
|
||||
}
|
||||
},
|
||||
"minecraft:loot_wooly": {
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/sheep.json"
|
||||
}
|
||||
},
|
||||
"minecraft:rideable_sheared": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.9, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:rideable_wooly": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.975, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "wheat",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:sheep_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": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:sheep",
|
||||
"baby_type": "minecraft:sheep"
|
||||
},
|
||||
"breed_items": "wheat"
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_dyeable": {
|
||||
"minecraft:is_dyeable": {
|
||||
"interact_text": "action.interact.dye"
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_sheared": {
|
||||
"minecraft:is_sheared": {
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_white": {
|
||||
"minecraft:color": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_brown": {
|
||||
"minecraft:color": {
|
||||
"value": 12
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_black": {
|
||||
"minecraft:color": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_gray": {
|
||||
"minecraft:color": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_light_gray": {
|
||||
"minecraft:color": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_pink": {
|
||||
"minecraft:color": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
"minecraft:sheep_red": {
|
||||
"minecraft:color": {
|
||||
"value": 14
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "sheep", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 8,
|
||||
"max": 8
|
||||
},
|
||||
"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": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"cooldown": 2.5,
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"spawn_items": { "table": "loot_tables/entities/sheep_shear.json" },
|
||||
"play_sounds": "shear",
|
||||
"interact_text": "action.interact.shear",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:is_baby"},
|
||||
{ "test" : "has_component", "value" : "minecraft:is_dyeable"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_sheared",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.75
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"wheat"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.eat_block": {
|
||||
"priority": 6,
|
||||
"success_chance": "query.is_baby ? 0.02 : 0.001",
|
||||
"time_until_eat": 1.8,
|
||||
"eat_and_replace_block_pairs": [
|
||||
{ "eat_block": "grass", "replace_block": "dirt" },
|
||||
{ "eat_block": "tallgrass", "replace_block": "air" }
|
||||
],
|
||||
"on_eat": {
|
||||
"event": "minecraft:on_eat_block",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"trigger": "spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"trigger": "spawn_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 81836,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5000,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_black"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5000,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_light_gray"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5000,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_gray"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 3000,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 164,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_pink"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_adult",
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:rideable_wooly",
|
||||
"minecraft:loot_wooly"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_baby",
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:rideable_sheared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_baby",
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:rideable_sheared"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_adult",
|
||||
"minecraft:rideable_wooly",
|
||||
"minecraft:loot_wooly"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_sheared": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:loot_wooly"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_sheared",
|
||||
"minecraft:rideable_sheared",
|
||||
"minecraft:loot_sheared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_eat_block": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_sheared"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_dyeable"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:rideable_wooly",
|
||||
"minecraft:loot_wooly"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:loot_sheared"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"wololo": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_red"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
531
servers/bedrock/behavior_packs/vanilla_1.16/entities/shulker.json
vendored
Normal file
531
servers/bedrock/behavior_packs/vanilla_1.16/entities/shulker.json
vendored
Normal file
@ -0,0 +1,531 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:shulker",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:shulker_purple": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_black": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_blue": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_cyan": {
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_gray": {
|
||||
"minecraft:variant": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_green": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_light_blue": {
|
||||
"minecraft:variant": {
|
||||
"value": 12
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_lime": {
|
||||
"minecraft:variant": {
|
||||
"value": 10
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_magenta": {
|
||||
"minecraft:variant": {
|
||||
"value": 13
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_orange": {
|
||||
"minecraft:variant": {
|
||||
"value": 14
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_pink": {
|
||||
"minecraft:variant": {
|
||||
"value": 9
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_silver": {
|
||||
"minecraft:variant": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_undyed": {
|
||||
"minecraft:variant": {
|
||||
"value": 16
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:shulker_yellow": {
|
||||
"minecraft:variant": {
|
||||
"value": 11
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "shulker", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 30,
|
||||
"max": 30
|
||||
},
|
||||
"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.0,
|
||||
"max": 0.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/shulker.json"
|
||||
},
|
||||
"minecraft:peek": {
|
||||
"on_open": {
|
||||
"event": "minecraft:on_open"
|
||||
},
|
||||
"on_close": {
|
||||
"event": "minecraft:on_close"
|
||||
},
|
||||
"on_target_open": {
|
||||
"event": "minecraft:on_open"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 1,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:shulker_bullet"
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"attack_interval_min": 1,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 15
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"entity_types": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 16
|
||||
},
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:0"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:16"}
|
||||
]
|
||||
},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_black"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:8"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_gray"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:7"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_silver"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:15"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:19"}
|
||||
]
|
||||
},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_white"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:12"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_light_blue"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:14"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_orange"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:1"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_red"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:4"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:18"}
|
||||
]
|
||||
},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_blue"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:5"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_purple"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:13"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_magenta"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:9"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_pink"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:3"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:17"}
|
||||
]
|
||||
},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_brown"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:11"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_yellow"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:10"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_lime"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:2"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_green"
|
||||
},
|
||||
"use_item": true
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:6"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:turn_cyan"
|
||||
},
|
||||
"use_item": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_undyed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_purple": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_purple"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_black": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_black"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_blue": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_blue"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_brown": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_cyan": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_cyan"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_gray": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_gray"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_green": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_green"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_light_blue": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_light_blue"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_lime": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_lime"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_magenta": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_magenta"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_orange": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_orange"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_pink": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_pink"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_red": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_silver": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_silver"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_white": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:turn_yellow": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:shulker_yellow"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
155
servers/bedrock/behavior_packs/vanilla_1.16/entities/silverfish.json
vendored
Normal file
155
servers/bedrock/behavior_packs/vanilla_1.16/entities/silverfish.json
vendored
Normal file
@ -0,0 +1,155 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:silverfish",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:silverfish_calm": {
|
||||
"minecraft:on_target_acquired" : {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:silverfish_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": -1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.silverfish_wake_up_friends": {
|
||||
"priority": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family":["silverfish", "monster", "mob", "arthropod" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/silverfish.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 8,
|
||||
"max": 8
|
||||
},
|
||||
"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": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.4,
|
||||
"height": 0.3
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.silverfish_merge_with_stone": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"attack_interval": 10,
|
||||
"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": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1,
|
||||
"alert_same_type": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:silverfish_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"minecraft:silverfish_calm": { }
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:silverfish_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"minecraft:silverfish_angry": { }
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:silverfish_calm"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
507
servers/bedrock/behavior_packs/vanilla_1.16/entities/skeleton.json
vendored
Normal file
507
servers/bedrock/behavior_packs/vanilla_1.16/entities/skeleton.json
vendored
Normal file
@ -0,0 +1,507 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:skeleton",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:lightning_immune": {
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": { "filters": { "other_with_families": "lightning" } },
|
||||
"deals_damage": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ranged_attack": {
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 0,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 15.0
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:melee_attack": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ranged_mode"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "skeleton", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
|
||||
"minecraft:burns_in_daylight": {
|
||||
},
|
||||
|
||||
"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:loot": {
|
||||
"table": "loot_tables/entities/skeleton.json"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"avoid_sun": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/skeleton_gear.json"
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:bow",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 0,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 15.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wolf"
|
||||
},
|
||||
"max_dist": 6,
|
||||
"walk_speed_multiplier": 1.2,
|
||||
"sprint_speed_multiplier": 1.2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 5,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spring_trap": {
|
||||
"add": { "component_groups": [ "minecraft:lightning_immune" ] }
|
||||
},
|
||||
|
||||
"minecraft:melee_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:melee_attack" ] }
|
||||
},
|
||||
"minecraft:ranged_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
223
servers/bedrock/behavior_packs/vanilla_1.16/entities/skeleton_horse.json
vendored
Normal file
223
servers/bedrock/behavior_packs/vanilla_1.16/entities/skeleton_horse.json
vendored
Normal file
@ -0,0 +1,223 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:skeleton_horse",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:skeleton_horse_r5_upgrade": {
|
||||
"minecraft:rideable": {
|
||||
}
|
||||
},
|
||||
"minecraft:skeleton_horse_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale_by_age": {
|
||||
"start_scale": 0.5,
|
||||
"end_scale": 1.0
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:skeleton_horse_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/skeleton_horse.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 1.6
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player",
|
||||
"skeleton",
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.2, -0.2 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:skeleton_trap": {
|
||||
"minecraft:behavior.skeleton_horse_trap": {
|
||||
"within_radius": 10.0,
|
||||
"duration": 900.0,
|
||||
"priority": 2
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:lightning_immune": {
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "lightning"
|
||||
}
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "skeletonhorse", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 15,
|
||||
"max": 15
|
||||
},
|
||||
"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.2
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.08
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:horse.jump_strength": {
|
||||
"value": {
|
||||
"range_min": 0.4,
|
||||
"range_max": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player",
|
||||
"skeleton",
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.2, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 4.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
},
|
||||
"minecraft:input_ground_controlled": {
|
||||
},
|
||||
"minecraft:can_power_jump": {
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 36,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:skeleton_horse_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 9,
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:skeleton_horse_r5_upgrade"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:skeleton_horse_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:set_trap": {
|
||||
"add": { "component_groups": [ "minecraft:skeleton_trap", "minecraft:lightning_immune" ] }
|
||||
},
|
||||
|
||||
"minecraft:spring_trap": {
|
||||
"add": { "component_groups": [ "minecraft:skeleton_horse_adult", "minecraft:lightning_immune" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
199
servers/bedrock/behavior_packs/vanilla_1.16/entities/slime.json
vendored
Normal file
199
servers/bedrock/behavior_packs/vanilla_1.16/entities/slime.json
vendored
Normal file
@ -0,0 +1,199 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:slime",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"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:slime_medium": {
|
||||
"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:slime_small": {
|
||||
"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: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
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
163
servers/bedrock/behavior_packs/vanilla_1.16/entities/snow_golem.json
vendored
Normal file
163
servers/bedrock/behavior_packs/vanilla_1.16/entities/snow_golem.json
vendored
Normal file
@ -0,0 +1,163 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:snow_golem",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:snowman_sheared": {
|
||||
"minecraft:is_sheared": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "snowgolem", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.4,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/snowman.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"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
|
||||
},
|
||||
{
|
||||
"filters": { "test": "is_temperature_value", "operator": ">", "value": 1.0 },
|
||||
"cause": "temperature",
|
||||
"damage_per_tick": 1
|
||||
},
|
||||
{
|
||||
"filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"cooldown": 2.5,
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"interact_text": "action.interact.shear",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test": "is_family", "subject": "other", "value": "player"},
|
||||
{ "test": "has_component", "operator": "!=", "value": "minecraft:is_sheared"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_sheared",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"attack_interval": 1,
|
||||
"attack_radius": 10
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:snowball"
|
||||
},
|
||||
"minecraft:trail": {
|
||||
"block_type": "minecraft:snow_layer",
|
||||
"spawn_filter": { "test": "is_temperature_value", "operator": "<", "value": 0.81 }
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 3,
|
||||
"look_distance": 6.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||
"within_default": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:on_sheared": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:snowman_sheared"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
servers/bedrock/behavior_packs/vanilla_1.16/entities/snowball.json
vendored
Normal file
44
servers/bedrock/behavior_packs/vanilla_1.16/entities/snowball.json
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:snowball",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"filter": "blaze",
|
||||
"damage": 3,
|
||||
"knockback": true
|
||||
},
|
||||
"remove_on_hit": { },
|
||||
"particle_on_hit": {
|
||||
"particle_type": "snowballpoof",
|
||||
"num_particles": 6,
|
||||
"on_entity_hit": true,
|
||||
"on_other_hit": true
|
||||
}
|
||||
},
|
||||
"anchor": 1,
|
||||
"power": 1.5,
|
||||
"gravity": 0.03,
|
||||
"angle_offset": 0.0,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
357
servers/bedrock/behavior_packs/vanilla_1.16/entities/spider.json
vendored
Normal file
357
servers/bedrock/behavior_packs/vanilla_1.16/entities/spider.json
vendored
Normal file
@ -0,0 +1,357 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:spider",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:spider_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.54, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_stray_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton.stray"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.54, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_wither_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:skeleton.wither"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"skeleton"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.54, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_neutral": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_brightness",
|
||||
"operator": "<",
|
||||
"value": 0.49
|
||||
},
|
||||
"event": "minecraft:become_hostile"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_hostile": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_brightness",
|
||||
"operator": ">",
|
||||
"value": 0.49
|
||||
},
|
||||
"event": "minecraft:become_neutral"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"attack_interval": 5,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spider_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 10,
|
||||
"duration_delta": 3,
|
||||
"calm_event": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"yd": 0.4,
|
||||
"must_be_on_ground": false
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 0.8
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "spider", "monster", "mob", "arthropod" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/spider.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"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:navigation.climb": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.54, -0.1 ]
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 80,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "is_snow_covered",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "is_underground",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_stray_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 80,
|
||||
"filters": {
|
||||
"test": "is_biome",
|
||||
"value": "the_nether"
|
||||
},
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_wither_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "is_underground",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_jockey",
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"weight": 99,
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_hostile": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_neutral": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_hostile"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_neutral"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:spider_angry"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
125
servers/bedrock/behavior_packs/vanilla_1.16/entities/squid.json
vendored
Normal file
125
servers/bedrock/behavior_packs/vanilla_1.16/entities/squid.json
vendored
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:squid",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups":{
|
||||
"minecraft:squid_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components":{
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family":["squid", "mob"]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.95,
|
||||
"height": 0.95
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/squid.json"
|
||||
},
|
||||
"minecraft:breathable":{
|
||||
"total_supply":15,
|
||||
"suffocate_time":0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.squid_move_away_from_ground": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.squid_flee": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_idle": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_dive": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_out_of_water": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events":{
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:squid_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
536
servers/bedrock/behavior_packs/vanilla_1.16/entities/stray.json
vendored
Normal file
536
servers/bedrock/behavior_packs/vanilla_1.16/entities/stray.json
vendored
Normal file
@ -0,0 +1,536 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:stray",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:revert_to_skeleton": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:skeleton",
|
||||
"delay": 0.5
|
||||
}
|
||||
},
|
||||
"minecraft:ranged_attack": {
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 0,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 15.0
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow",
|
||||
"aux_val": 19
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:melee_attack": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3,
|
||||
"effect_name": "slowness",
|
||||
"effect_duration": 10
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ranged_mode"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:burns_in_daylight": {},
|
||||
"minecraft:nameable": {},
|
||||
"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:loot": {
|
||||
"table": "loot_tables/entities/stray.json"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"avoid_sun": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/skeleton_gear.json"
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow",
|
||||
"aux_val": 19
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_ranged_weapon",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:bow",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 0,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 15.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wolf"
|
||||
},
|
||||
"max_dist": 6,
|
||||
"walk_speed_multiplier": 1.2,
|
||||
"sprint_speed_multiplier": 1.2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 5,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "stray", "skeleton", "monster", "mob", "undead" ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack"
|
||||
]
|
||||
}
|
||||
},
|
||||
"change_to_skeleton": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underground",
|
||||
"value": true
|
||||
},
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:revert_to_skeleton"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 20,
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:revert_to_skeleton" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 80,
|
||||
"remove": {},
|
||||
"add": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:melee_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:melee_attack" ] }
|
||||
},
|
||||
"minecraft:ranged_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
439
servers/bedrock/behavior_packs/vanilla_1.16/entities/strider.json
vendored
Normal file
439
servers/bedrock/behavior_packs/vanilla_1.16/entities/strider.json
vendored
Normal file
@ -0,0 +1,439 @@
|
||||
{
|
||||
"format_version": "1.14.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:strider",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:strider_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/strider_saddled.json"
|
||||
},
|
||||
"minecraft:boostable": {
|
||||
"speed_multiplier": 2.0,
|
||||
"duration": 16.0,
|
||||
"boost_items": [
|
||||
{
|
||||
"item": "warped_fungus_on_a_stick",
|
||||
"damage": 1,
|
||||
"replace_item": "fishing_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"priority": 0,
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.strider",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.6, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:item_controllable": {
|
||||
"control_items": "warped_fungus_on_a_stick"
|
||||
},
|
||||
"minecraft:behavior.controlled_by_player": {
|
||||
"priority": 0,
|
||||
"mount_speed_multiplier": 1.45
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strider_unsaddled": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||
"event": "minecraft:on_saddled"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "saddle",
|
||||
"interact_text": "action.interact.saddle"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strider_piglin_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:zombie_pigman",
|
||||
"spawn_event": "spawn_zombified_piglin_rider"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"priority": 0,
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player", "zombie_pigman"
|
||||
],
|
||||
"interact_text": "action.interact.ride.strider",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.8, -0.2 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:strider_parent_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:strider",
|
||||
"spawn_event": "spawn_baby"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"strider"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.6, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:zombified_piglin_rider": {
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/zombified_piglin_rider_gear.json"
|
||||
}
|
||||
},
|
||||
"minecraft:strider_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "strider_baby", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "warped_fungus" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
"minecraft:strider_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "strider_adult", "mob" ]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/strider.json"
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:strider",
|
||||
"baby_type": "minecraft:strider",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "warped_fungus" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:start_suffocating": {
|
||||
"minecraft:is_shaking": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "stop_suffocating"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:detect_suffocating": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "start_suffocating"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.7
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water_or_rain",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.16
|
||||
},
|
||||
"minecraft:lava_movement": {
|
||||
"value": 0.32
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_lava": true,
|
||||
"avoid_water": true,
|
||||
"can_sink": false,
|
||||
"can_walk_in_lava": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 15,
|
||||
"max": 15
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:behavior.rise_to_liquid_level": {
|
||||
"priority": 0,
|
||||
"liquid_y_offset": 0.25,
|
||||
"rise_delta": 0.01,
|
||||
"sink_delta": 0.01
|
||||
},
|
||||
"minecraft:behavior.move_to_lava": {
|
||||
"priority": 7,
|
||||
"search_range": 16,
|
||||
"search_height": 10,
|
||||
"goal_radius": 0.9,
|
||||
"search_count": 30
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.1,
|
||||
"panic_sound": "panic",
|
||||
"sound_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"warped_fungus",
|
||||
"warped_fungus_on_a_stick"
|
||||
],
|
||||
"tempt_sound": "tempt",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 40,
|
||||
"trigger": "spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"trigger": "spawn_adult_piglin_jockey"
|
||||
},
|
||||
{
|
||||
"weight": 8,
|
||||
"trigger": "spawn_adult_parent_jockey"
|
||||
},
|
||||
{
|
||||
"weight": 50,
|
||||
"trigger": "spawn_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"trigger": "spawn_baby"
|
||||
},
|
||||
"spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_unsaddled",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_parent_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_parent_jockey",
|
||||
"minecraft:strider_unsaddled",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_piglin_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_saddled",
|
||||
"minecraft:strider_piglin_jockey",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_zombified_piglin_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombified_piglin_rider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_baby",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_unsaddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_saddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_unsaddled"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"start_suffocating": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:start_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"stop_suffocating": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:start_suffocating"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1044
servers/bedrock/behavior_packs/vanilla_1.16/entities/tropicalfish.json
vendored
Normal file
1044
servers/bedrock/behavior_packs/vanilla_1.16/entities/tropicalfish.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
297
servers/bedrock/behavior_packs/vanilla_1.16/entities/turtle.json
vendored
Normal file
297
servers/bedrock/behavior_packs/vanilla_1.16/entities/turtle.json
vendored
Normal file
@ -0,0 +1,297 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:turtle",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "turtle", "baby_turtle", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.2
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.06
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.16
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 1,
|
||||
"search_range": 15,
|
||||
"search_height": 5,
|
||||
"goal_radius": 0.1
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"seagrass"
|
||||
],
|
||||
"drop_items": [
|
||||
"turtle_shell_piece"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "turtle", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.2,
|
||||
"height": 0.4
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.12
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/sea_turtle.json"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"causes_pregnancy": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:turtle",
|
||||
"baby_type": "minecraft:turtle",
|
||||
"breed_event": {
|
||||
"event": "minecraft:become_pregnant",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"seagrass"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.move_to_land": {
|
||||
"priority": 6,
|
||||
"search_range": 16,
|
||||
"search_height": 5,
|
||||
"goal_radius": 0.5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"interval": 100
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pregnant": {
|
||||
"minecraft:behavior.go_home": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 700,
|
||||
"goal_radius": 4.0,
|
||||
"on_home": {
|
||||
"event": "minecraft:go_lay_egg",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wants_to_lay_egg": {
|
||||
"minecraft:behavior.lay_egg": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.0,
|
||||
"search_range": 16,
|
||||
"search_height": 4,
|
||||
"goal_radius": 1.5,
|
||||
"on_lay": {
|
||||
"event": "minecraft:laid_egg",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true,
|
||||
"breathes_air": true,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 30
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "lightning",
|
||||
"deals_damage": true,
|
||||
"damage_multiplier": 2000.0
|
||||
}
|
||||
},
|
||||
"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.1
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.9
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_sink": false,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.amphibious": {
|
||||
"max_turn": 5.0
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:home": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 1024
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 0,
|
||||
"prefer_water": true,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.1,
|
||||
"items": [
|
||||
"seagrass"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 4,
|
||||
"search_range": 16,
|
||||
"search_height": 5,
|
||||
"search_count": 1,
|
||||
"goal_radius": 0.1
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 7,
|
||||
"interval": 0,
|
||||
"xz_dist": 30,
|
||||
"y_dist": 15
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_pregnant": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pregnant"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:go_lay_egg": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wants_to_lay_egg"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pregnant"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:laid_egg": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wants_to_lay_egg"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
103
servers/bedrock/behavior_packs/vanilla_1.16/entities/vex.json
vendored
Normal file
103
servers/bedrock/behavior_packs/vanilla_1.16/entities/vex.json
vendored
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:vex",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "vex", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vex_gear.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 14,
|
||||
"max": 14
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.4,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.charge_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 2.0
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of" : [
|
||||
{"test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{"test" : "is_family", "subject" : "other", "value" : "irongolem"},
|
||||
{"test" : "is_family", "subject" : "other", "value" : "wandering_trader"}
|
||||
]
|
||||
},
|
||||
"max_dist": 70
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
|
||||
]
|
||||
},
|
||||
"max_dist": 70
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.look_at_entity": {
|
||||
"priority": 9,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02,
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "mob"}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false,
|
||||
"has_collision": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
823
servers/bedrock/behavior_packs/vanilla_1.16/entities/villager.json
vendored
Normal file
823
servers/bedrock/behavior_packs/vanilla_1.16/entities/villager.json
vendored
Normal file
@ -0,0 +1,823 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:villager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"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
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot_seeds",
|
||||
"want_amount": 64,
|
||||
"surplus_amount": 64,
|
||||
"stored_in_inventory": 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
|
||||
},
|
||||
"minecraft:behavior.play": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.32
|
||||
}
|
||||
},
|
||||
|
||||
"adult": {
|
||||
"minecraft:behavior.make_love": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.receive_love":{
|
||||
"priority": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"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" : "zombie_pigman"},
|
||||
{ "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.move_towards_restriction": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2387
servers/bedrock/behavior_packs/vanilla_1.16/entities/villager_v2.json
vendored
Normal file
2387
servers/bedrock/behavior_packs/vanilla_1.16/entities/villager_v2.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
416
servers/bedrock/behavior_packs/vanilla_1.16/entities/vindicator.json
vendored
Normal file
416
servers/bedrock/behavior_packs/vanilla_1.16/entities/vindicator.json
vendored
Normal file
@ -0,0 +1,416 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:vindicator",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_aggro": {
|
||||
"minecraft:angry": {
|
||||
"duration": -1,
|
||||
"broadcast_anger": false,
|
||||
"calm_event": {
|
||||
"event": "minecraft:stop_aggro",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_johnny": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 40.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:default_targeting": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 40.0,
|
||||
|
||||
"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" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/vindicator_raid.json"
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_break_doors": true
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
"break_time": 30,
|
||||
"min_difficulty": "normal"
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:illager_squad_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_random_block": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.55,
|
||||
"within_radius": 8,
|
||||
"block_distance": 512
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_follower": {
|
||||
"minecraft:behavior.follow_target_captain": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.8,
|
||||
"within_radius": 64,
|
||||
"follow_distance": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"default_trigger": {
|
||||
"event": "minecraft:stop_johnny",
|
||||
"target": "self"
|
||||
},
|
||||
"name_actions": [
|
||||
{
|
||||
"name_filter": "Johnny",
|
||||
"on_named": {
|
||||
"event": "minecraft:start_johnny",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// vindicator Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "vindicator", "monster", "illager", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 24,
|
||||
"max": 24
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 8
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/vindication_illager.json"
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_gear.json"
|
||||
},
|
||||
|
||||
// vindicator Behaviors
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 10,
|
||||
"look_distance": 8,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggro",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:stop_aggro",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_patrol_follower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting",
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggro": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_aggro"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_aggro": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_aggro"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_johnny": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_johnny"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_johnny": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_johnny"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting",
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_patrol_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
293
servers/bedrock/behavior_packs/vanilla_1.16/entities/wandering_trader.json
vendored
Normal file
293
servers/bedrock/behavior_packs/vanilla_1.16/entities/wandering_trader.json
vendored
Normal file
@ -0,0 +1,293 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:wandering_trader",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"managed": {
|
||||
"minecraft:managed_wandering_trader": {}
|
||||
},
|
||||
"despawning": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wandering_trader", "wandering_trader_despawning", "mob" ]
|
||||
}
|
||||
},
|
||||
"minecraft:scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 5,
|
||||
"broadcastAnger": true,
|
||||
"broadcastRange": 10,
|
||||
"broadcast_targets": [
|
||||
"llama"
|
||||
],
|
||||
"broadcast_filters": { "test": "is_leashed_to", "subject": "other", "value": true },
|
||||
"calm_event": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wandering_trader", "mob" ]
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"random_time_choices": [
|
||||
{ "weight": 50, "value": 2400 },
|
||||
{ "weight": 50, "value": 3600 }
|
||||
],
|
||||
"time_down_event": {
|
||||
"event": "minecraft:start_despawn",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_entity": {
|
||||
"entities": [
|
||||
{
|
||||
"min_wait_time": 0,
|
||||
"max_wait_time": 0,
|
||||
"spawn_entity": "llama",
|
||||
"spawn_event": "minecraft:from_wandering_trader",
|
||||
"single_use": true,
|
||||
"num_to_spawn": 2,
|
||||
"should_leash": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:economy_trade_table": {
|
||||
"display_name": "entity.wandering_trader.name",
|
||||
"table": "trading/economy_trades/wandering_trader_trades.json",
|
||||
"new_screen": true
|
||||
},
|
||||
"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:movement": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"remove_child_entities": true,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "self", "value": "wandering_trader_despawning" },
|
||||
{ "test": "has_trade_supply", "subject": "self", "value": false }
|
||||
]
|
||||
},
|
||||
{ "test": "distance_to_nearest_player", "operator": ">", "value": 24 }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"cause": "entity_attack",
|
||||
"deals_damage": true,
|
||||
"on_damage": {
|
||||
"event": "minecraft:become_scared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cause": "projectile",
|
||||
"deals_damage": true,
|
||||
"on_damage": {
|
||||
"event": "minecraft:become_scared"
|
||||
}
|
||||
},
|
||||
{
|
||||
"cause": "magic",
|
||||
"deals_damage": true,
|
||||
"on_damage": {
|
||||
"event": "minecraft:become_scared"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.trade_with_player": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.trade_interest": {
|
||||
"priority": 3,
|
||||
"within_radius": 6.0,
|
||||
"interest_time": 45.0,
|
||||
"remove_item_time": 1.0,
|
||||
"carried_item_switch_time": 2.0,
|
||||
"cooldown": 2.0
|
||||
},
|
||||
"minecraft:behavior.look_at_trading_player": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.drink_potion": {
|
||||
"priority": 1,
|
||||
"speed_modifier": -0.2,
|
||||
"potions": [
|
||||
{
|
||||
"id": 7, // Short invisibility
|
||||
"chance": 1.0,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "hourly_clock_time", "operator": ">=", "value": 18000 },
|
||||
{ "test": "hourly_clock_time", "operator": "<", "value": 12000 }
|
||||
]
|
||||
},
|
||||
{ "test": "is_visible", "subject": "self", "value": true },
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_avoiding_mobs", "subject": "self", "value": true },
|
||||
{
|
||||
"all_of": [
|
||||
{ "test": "has_component", "subject": "self", "value": "minecraft:angry" },
|
||||
{ "test": "is_family", "subject": "target", "operator": "!=", "value": "player" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8, // Long invisibility
|
||||
"chance": 1.0,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "hourly_clock_time", "operator": ">=", "value": 12000 },
|
||||
{ "test": "hourly_clock_time", "operator": "<", "value": 18000 },
|
||||
{ "test": "is_visible", "subject": "self", "value": true },
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_avoiding_mobs", "subject": "self", "value": true },
|
||||
{ "test": "has_component", "subject": "self", "value": "minecraft:angry" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 2,
|
||||
"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": "zombie_pigman" },
|
||||
{ "test": "is_family", "subject": "other", "value": "illager" },
|
||||
{ "test": "is_family", "subject": "other", "value": "vex" }
|
||||
]
|
||||
},
|
||||
"walk_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 0.6
|
||||
}
|
||||
],
|
||||
"max_dist": 6
|
||||
},
|
||||
"minecraft:behavior.restrict_open_door": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.open_door": {
|
||||
"priority": 6,
|
||||
"close_door_after": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 8,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:scheduled": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"managed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_despawn": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"despawning"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_scared": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:scared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:scared"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
180
servers/bedrock/behavior_packs/vanilla_1.16/entities/witch.json
vendored
Normal file
180
servers/bedrock/behavior_packs/vanilla_1.16/entities/witch.json
vendored
Normal file
@ -0,0 +1,180 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:witch",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.2,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/witch.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 26,
|
||||
"max": 26
|
||||
},
|
||||
"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": true,
|
||||
"avoid_water": false
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"attack_interval_min": 3,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 10.0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"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": 10
|
||||
}
|
||||
],
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "witch", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:raid_configuration"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
140
servers/bedrock/behavior_packs/vanilla_1.16/entities/wither.json
vendored
Normal file
140
servers/bedrock/behavior_packs/vanilla_1.16/entities/wither.json
vendored
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:wither",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "50"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:boss": {
|
||||
"should_darken_sky": true,
|
||||
"hud_range": 55
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "undead"
|
||||
}
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 600,
|
||||
"max": 600
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1,
|
||||
"height": 3
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/wither_boss.json"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
"max_turn": 180.0
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.wither_random_attack_pos_goal": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.wither_target_highest_damage": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 70
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "undead"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "inanimate"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 70
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_target": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wither", "skeleton", "monster", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
504
servers/bedrock/behavior_packs/vanilla_1.16/entities/wither_skeleton.json
vendored
Normal file
504
servers/bedrock/behavior_packs/vanilla_1.16/entities/wither_skeleton.json
vendored
Normal file
@ -0,0 +1,504 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:wither_skeleton",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.72,
|
||||
"height": 2.01
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4,
|
||||
"effect_name": "wither",
|
||||
"effect_duration": 10
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/wither_skeleton.json"
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/wither_skeleton_gear.json"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"avoid_sun": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_shovel",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_pickaxe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_axe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_hoe",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.2
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"reselect_targets": true,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 5,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wither", "monster", "undead", "skeleton", "mob" ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
528
servers/bedrock/behavior_packs/vanilla_1.16/entities/wolf.json
vendored
Normal file
528
servers/bedrock/behavior_packs/vanilla_1.16/entities/wolf.json
vendored
Normal file
@ -0,0 +1,528 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:wolf",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:wolf_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"chicken",
|
||||
"cooked_chicken",
|
||||
"beef",
|
||||
"cooked_beef",
|
||||
"muttonRaw",
|
||||
"muttonCooked",
|
||||
"porkchop",
|
||||
"cooked_porkchop",
|
||||
"rabbit",
|
||||
"cooked_rabbit",
|
||||
"rotten_flesh"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/wolf.json"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"require_full_health": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:wolf",
|
||||
"baby_type": "minecraft:wolf",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"chicken",
|
||||
"cooked_chicken",
|
||||
"beef",
|
||||
"cooked_beef",
|
||||
"muttonRaw",
|
||||
"muttonCooked",
|
||||
"porkchop",
|
||||
"cooked_porkchop",
|
||||
"rabbit",
|
||||
"cooked_rabbit",
|
||||
"rotten_flesh"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.675, -0.1 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_wild": {
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "llama" },
|
||||
"max_dist": 24,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
],
|
||||
"probability_per_strength": 0.14
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": "bone",
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"reselect_targets": true,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "skeleton"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "rabbit"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "fox"}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "skeleton"
|
||||
},
|
||||
{
|
||||
"test": "is_underwater",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.675, -0.1 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:color": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
|
||||
"minecraft:behavior.owner_hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.owner_hurt_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "skeleton"},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:is_dyeable": {
|
||||
"interact_text": "action.interact.dye"
|
||||
},
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"on_leash": {
|
||||
"event": "minecraft:on_leash",
|
||||
"target": "self"
|
||||
},
|
||||
"on_unleash": {
|
||||
"event": "minecraft:on_unleash",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wolf", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 8,
|
||||
"max": 8
|
||||
},
|
||||
"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:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "porkchop",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_porkchop",
|
||||
"heal_amount": 8
|
||||
},
|
||||
{
|
||||
"item": "fish",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "salmon",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "clownfish",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "pufferfish",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "cooked_fish",
|
||||
"heal_amount": 5
|
||||
},
|
||||
{
|
||||
"item": "cooked_salmon",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "beef",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_beef",
|
||||
"heal_amount": 8
|
||||
},
|
||||
{
|
||||
"item": "chicken",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "cooked_chicken",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "muttonRaw",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "muttonCooked",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "rotten_flesh",
|
||||
"heal_amount": 4
|
||||
},
|
||||
{
|
||||
"item": "rabbit",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_rabbit",
|
||||
"heal_amount": 5
|
||||
},
|
||||
{
|
||||
"item": "rabbit_stew",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"target_dist": 0.4
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.beg": {
|
||||
"priority": 9,
|
||||
"look_distance": 8,
|
||||
"look_time": [ 2, 4 ],
|
||||
"items": [ "bone", "porkchop", "cooked_porkchop", "chicken", "cooked_chicken",
|
||||
"beef", "cooked_beef", "rotten_flesh", "muttonraw", "muttoncooked", "rabbit", "cooked_rabbit" ]
|
||||
},
|
||||
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult",
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby",
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby",
|
||||
"minecraft:wolf_tame"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_set_baby": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_tame"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
27
servers/bedrock/behavior_packs/vanilla_1.16/entities/xp_orb.json
vendored
Normal file
27
servers/bedrock/behavior_packs/vanilla_1.16/entities/xp_orb.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:xp_orb",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 5,
|
||||
"max": 5
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
267
servers/bedrock/behavior_packs/vanilla_1.16/entities/zoglin.json
vendored
Normal file
267
servers/bedrock/behavior_packs/vanilla_1.16/entities/zoglin.json
vendored
Normal file
@ -0,0 +1,267 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zoglin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"zoglin_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zoglin", "zoglin_baby", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.85,
|
||||
"height": 0.85
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 1.0,
|
||||
"height": 0.85,
|
||||
"pivot": [ 0, 0.5, 0 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"zoglin_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zoglin", "zoglin_adult", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 2.0,
|
||||
"height": 1.75,
|
||||
"pivot": [ 0, 1, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zoglin.json"
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": [ 3, 8 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "zoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "creeper"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.4,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 54
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "inactivity_timer",
|
||||
"subject": "self",
|
||||
"value": 30
|
||||
},
|
||||
{
|
||||
"test": "random_chance",
|
||||
"value": 800
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 32
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:as_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:as_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
591
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie.json
vendored
Normal file
591
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie.json
vendored
Normal file
@ -0,0 +1,591 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zombie",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:look_to_start_drowned_transformation": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater", "subject": "self", "operator": "==", "value": true
|
||||
},
|
||||
"event": "minecraft:start_transforming"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:start_drowned_transformation": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater", "subject": "self", "operator": "==", "value": false
|
||||
},
|
||||
"event": "minecraft:stop_transforming"
|
||||
}
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 30,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:convert_to_drowned"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:convert_to_drowned": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:drowned<minecraft:as_adult>",
|
||||
"transformation_sound": "convert_to_drowned",
|
||||
"drop_equipment": true,
|
||||
"delay": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:is_shaking": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:convert_to_baby_drowned": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:drowned<minecraft:as_baby>",
|
||||
"transformation_sound": "convert_to_drowned",
|
||||
"drop_equipment": true,
|
||||
"delay": {
|
||||
"value": 15
|
||||
}
|
||||
},
|
||||
"minecraft:is_shaking": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_baby": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.35 ],
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:zombie_jockey": {
|
||||
"minecraft:behavior.find_mount": {
|
||||
"priority": 1,
|
||||
"within_radius": 16,
|
||||
"start_delay": 15,
|
||||
"max_failed_attempts": 20
|
||||
}
|
||||
},
|
||||
"minecraft:can_have_equipment": {
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/zombie_equipment.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
// Zombie Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:burns_in_daylight": {
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_pass_doors": true,
|
||||
"can_walk": true,
|
||||
"can_break_doors": true
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"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:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zombie.json"
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:start_transforming"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
|
||||
// Zombie Behaviors
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 6,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 25.0,
|
||||
"must_see_forget_duration": 17.0,
|
||||
"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": 35
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
"max_dist": 35,
|
||||
"must_see": false
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
|
||||
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
|
||||
]
|
||||
},
|
||||
"max_dist": 35
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 380,
|
||||
"remove": {},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_adult",
|
||||
"minecraft:can_have_equipment"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 17,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_baby",
|
||||
"minecraft:can_have_equipment"
|
||||
]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_baby",
|
||||
"minecraft:zombie_jockey",
|
||||
"minecraft:can_have_equipment"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:as_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:as_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:zombie_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_transforming": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:start_drowned_transformation"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:look_to_start_drowned_transformation" ]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_transforming": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:look_to_start_drowned_transformation"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:start_drowned_transformation"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:convert_to_drowned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:convert_to_drowned" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:start_drowned_transformation" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:convert_to_baby_drowned" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:start_drowned_transformation" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
176
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_horse.json
vendored
Normal file
176
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_horse.json
vendored
Normal file
@ -0,0 +1,176 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zombie_horse",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:horse_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale_by_age": {
|
||||
"start_scale": 0.5,
|
||||
"end_scale": 1.0
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:horse_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zombie_horse.json"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.2, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zombiehorse", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 1.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 15,
|
||||
"max": 15
|
||||
},
|
||||
"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.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:horse.jump_strength": {
|
||||
"value": {
|
||||
"range_min": 0.4,
|
||||
"range_max": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 36,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 9,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:horse_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
458
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_pigman.json
vendored
Normal file
458
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_pigman.json
vendored
Normal file
@ -0,0 +1,458 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zombie_pigman",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:pig_zombie_baby": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_zombie_adult": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.35 ],
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
}
|
||||
},
|
||||
"minecraft:pig_zombie_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:pig_zombie_calm": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"avoid_water": true,
|
||||
"avoid_portals": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zombie_pigman", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zombie_pigman.json"
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/zombie_pigman_gear.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 5
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.5
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 6,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
// Transform baby pig to baby zombie pigman
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_baby",
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
// Transform adult pig to adult zombie pigman
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_adult",
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_adult",
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_baby",
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_calm"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_zombie_angry"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
912
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_villager.json
vendored
Normal file
912
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_villager.json
vendored
Normal file
@ -0,0 +1,912 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zombie_villager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"become_zombie_villager_v2": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie_villager_v2",
|
||||
"keep_level": false
|
||||
}
|
||||
},
|
||||
"baby": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
}
|
||||
},
|
||||
|
||||
"adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.1, -0.35 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
|
||||
"jockey": {
|
||||
"minecraft:behavior.find_mount": {
|
||||
"priority": 1,
|
||||
"within_radius": 16
|
||||
}
|
||||
},
|
||||
|
||||
"from_abandoned_village": {
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"avoid_water": true,
|
||||
"avoid_sun": true
|
||||
},
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1
|
||||
}
|
||||
},
|
||||
|
||||
"to_villager": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:villager",
|
||||
"begin_transform_sound": "remedy",
|
||||
"transformation_sound": "unfect",
|
||||
"delay": {
|
||||
"value": 100,
|
||||
"block_assist_chance": 0.01,
|
||||
"block_radius": 4,
|
||||
"block_chance": 0.3,
|
||||
"block_types": [
|
||||
"minecraft:bed",
|
||||
"minecraft:iron_bars"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spell_effects": {
|
||||
"add_effects": [
|
||||
{
|
||||
"effect": "strength",
|
||||
"duration": 100
|
||||
},
|
||||
{
|
||||
"effect": "heal",
|
||||
"duration": 100
|
||||
}
|
||||
],
|
||||
"remove_effects": "weakness"
|
||||
},
|
||||
"minecraft:is_shaking": {
|
||||
}
|
||||
},
|
||||
|
||||
"farmer": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"fisherman": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "fisherman", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"shepherd": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "shepherd", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"fletcher": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "fletcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
|
||||
"librarian": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "librarian", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
|
||||
"cartographer": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cartographer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
|
||||
"cleric": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cleric", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
|
||||
"armorer": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "armorer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"weaponsmith": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "weaponsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"toolsmith": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "toolsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
|
||||
"butcher": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "butcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"leatherworker": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "leatherworker", "zombie_villager", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
// Zombie_villager Components
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_pass_doors": true,
|
||||
"can_break_doors": true,
|
||||
"avoid_sun": false
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zombie.json"
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:burns_in_daylight": {},
|
||||
|
||||
"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:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:interact": {
|
||||
"interactions": {
|
||||
// Curing the villager
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "hand",
|
||||
"subject": "other",
|
||||
"value": "golden_apple"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"value": "minecraft:effect.weakness"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "villager_converted",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"interact_text": "action.interact.cure"
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
// Zombie_villager Behaviors
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 8,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 10,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"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": 35
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "villager"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wandering_trader"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 35,
|
||||
"must_see": false
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 35
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"villager_converted": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"to_villager"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9500,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 425,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"baby"
|
||||
]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 75,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"baby",
|
||||
"jockey"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant"
|
||||
},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_transformed": {
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"sequence": [
|
||||
// Transform baby villager to baby zombie
|
||||
{
|
||||
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
// Transform adult villager to adult zombie
|
||||
{
|
||||
"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" ] }
|
||||
},
|
||||
// Transform fisherman zombie to fisherman villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fisherman" },
|
||||
"add": { "component_groups": [ "fisherman" ] }
|
||||
},
|
||||
// Transform shepherd zombie to shepherd villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
|
||||
"add": { "component_groups": [ "shepherd" ] }
|
||||
},
|
||||
// Transform fletcher zombie to fletcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
|
||||
"add": { "component_groups": [ "fletcher" ] }
|
||||
},
|
||||
// Transform librarian zombie to librarian villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
|
||||
"add": { "component_groups": [ "librarian" ] }
|
||||
},
|
||||
// Transform cartographer zombie to cartographer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
|
||||
"add": { "component_groups": [ "cartographer" ] }
|
||||
},
|
||||
// Transform cleric zombie to cleric villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
|
||||
"add": { "component_groups": [ "cleric" ] }
|
||||
},
|
||||
// Transform armorer zombie to armorer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
|
||||
"add": { "component_groups": [ "armorer" ] }
|
||||
},
|
||||
// Transform weaponsmith zombie to weaponsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
|
||||
"add": { "component_groups": [ "weaponsmith" ] }
|
||||
},
|
||||
// Transform toolsmith zombie to toolsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
|
||||
"add": { "component_groups": [ "toolsmith" ] }
|
||||
},
|
||||
// Transform butcher zombie to butcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
|
||||
"add": { "component_groups": [ "butcher" ] }
|
||||
},
|
||||
// Transform leatherworker zombie to leatherworker villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
|
||||
"add": { "component_groups": [ "leatherworker" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_cleric": {
|
||||
"add": { "component_groups": [ "cleric" ] }
|
||||
},
|
||||
|
||||
"from_village": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:variant"
|
||||
},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9500,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 425,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"baby"
|
||||
]
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 75,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"baby",
|
||||
"jockey"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:variant"
|
||||
},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "add": { "component_groups": [ "from_abandoned_village" ] } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1107
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_villager_v2.json
vendored
Normal file
1107
servers/bedrock/behavior_packs/vanilla_1.16/entities/zombie_villager_v2.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
270
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_bridge.json
vendored
Normal file
270
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_bridge.json
vendored
Normal file
@ -0,0 +1,270 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:lodestone"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": {
|
||||
"min": 1,
|
||||
"max": 2
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.1,
|
||||
"max": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crossbow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 12
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gilded_blackstone",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 3,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crying_obsidian",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_block",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_sword",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_chestplate",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_helmet",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_leggings",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_boots",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": {
|
||||
"min": 2,
|
||||
"max": 4
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:string",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:leather",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 17
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_nugget",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_nugget",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
267
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_hoglin_stable.json
vendored
Normal file
267
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_hoglin_stable.json
vendored
Normal file
@ -0,0 +1,267 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.15,
|
||||
"max": 0.45
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_shovel"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 2,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:netherite_scrap"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 3,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ancient_debris"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:saddle"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 25,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_block"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 15,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_hoe"
|
||||
},
|
||||
{
|
||||
"type": "empty",
|
||||
"weight": 45
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": {
|
||||
"min": 3,
|
||||
"max": 4
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:glowstone",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gilded_blackstone",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 7
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:soul_sand",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 7
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crimson_nylium",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_nugget",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:leather",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 17
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 3,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:string",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:porkchop",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:cooked_porkchop",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 7
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crimson_fungus",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 7
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crimson_roots",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
396
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_other.json
vendored
Normal file
396
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_other.json
vendored
Normal file
@ -0,0 +1,396 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 12,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.1,
|
||||
"max": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crossbow"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 2,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ancient_debris"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 2,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:netherite_scrap"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 16,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 15
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "set_data",
|
||||
"data": 6
|
||||
}
|
||||
],
|
||||
"name": "minecraft:banner_pattern"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 3,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:record_pigstep"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "specific_enchants",
|
||||
"enchants": [
|
||||
{
|
||||
"id": "soul_speed",
|
||||
"level": [
|
||||
1,
|
||||
3
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "minecraft:book"
|
||||
},
|
||||
{
|
||||
"type": "empty",
|
||||
"weight": 50
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 2,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"function": "specific_enchants",
|
||||
"enchants": [
|
||||
{
|
||||
"id": "soul_speed",
|
||||
"level": [
|
||||
1,
|
||||
3
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_boots",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_block",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crossbow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_sword",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_chestplate",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_helmet",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_leggings",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:golden_boots",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "empty",
|
||||
"weight": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": {
|
||||
"min": 3,
|
||||
"max": 5
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crying_obsidian",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gilded_blackstone",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:chain",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:magma_cream",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 3,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:bone_block",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_nugget",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:obsidian",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_nugget",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:string",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 2,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 17
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
359
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_treasure.json
vendored
Normal file
359
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/bastion_treasure.json
vendored
Normal file
@ -0,0 +1,359 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": {
|
||||
"min": 1,
|
||||
"max": 2
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:netherite_ingot"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 14,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ancient_debris"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"name": "minecraft:netherite_scrap"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 2
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ancient_debris",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_sword"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 6,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_chestplate"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 6,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_helmet"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 6,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_leggings"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 6,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_boots"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 6,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_sword"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_chestplate"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_helmet"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_boots"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"min": 0.2,
|
||||
"max": 0.65
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond_leggings"
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:diamond"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": {
|
||||
"min": 2,
|
||||
"max": 4
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 21
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:arrow",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_block",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 3,
|
||||
"max": 9
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gold_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 3,
|
||||
"max": 9
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_ingot",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crying_obsidian",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 8,
|
||||
"max": 23
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:quartz",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gilded_blackstone",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:magma_cream",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 8,
|
||||
"max": 16
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_nugget",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
245
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/ruined_portal.json
vendored
Normal file
245
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/chests/ruined_portal.json
vendored
Normal file
@ -0,0 +1,245 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": {
|
||||
"min": 4,
|
||||
"max": 8
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:obsidian",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:flint",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:iron_nugget",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 9,
|
||||
"max": 18
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:flint_and_steel",
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:fireball",
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_apple",
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:gold_nugget",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 24
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_sword",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_axe",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_hoe",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_shovel",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_pickaxe",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_boots",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_chestplate",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_helmet",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_leggings",
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_randomly"
|
||||
}
|
||||
],
|
||||
"weight": 15
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:speckled_melon",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:horsearmorgold",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:light_weighted_pressure_plate",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_carrot",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 12
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:clock",
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:gold_ingot",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 5
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:bell",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:appleEnchanted",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:gold_block",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
68
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/hoglin.json
vendored
Normal file
68
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/hoglin.json
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:porkchop",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "furnace_smelt",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "entity_properties",
|
||||
"entity": "this",
|
||||
"properties": {
|
||||
"on_fire": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:leather",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
241
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_barter.json
vendored
Normal file
241
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_barter.json
vendored
Normal file
@ -0,0 +1,241 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:netherite_hoe",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:book",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "specific_enchants",
|
||||
"enchants": [
|
||||
{
|
||||
"id": "soul_speed",
|
||||
"level": [1, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:iron_boots",
|
||||
"weight": 8,
|
||||
"functions": [
|
||||
{
|
||||
"function": "specific_enchants",
|
||||
"enchants": [
|
||||
{
|
||||
"id": "soul_speed",
|
||||
"level": [1, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:potion",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_data",
|
||||
"data": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:splash_potion",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_data",
|
||||
"data": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:iron_nugget",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 9,
|
||||
"max": 36
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:quartz",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 8,
|
||||
"max": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:glowstone_dust",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 5,
|
||||
"max": 12
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:magma_cream",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 6
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:ender_pearl",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 8
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:string",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 8,
|
||||
"max": 24
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:fireball",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:gravel",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 8,
|
||||
"max": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:leather",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:nether_brick",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:obsidian",
|
||||
"weight": 40
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:crying_obsidian",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 3
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:soul_sand",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 4,
|
||||
"max": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
27
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_brute_gear.json
vendored
Normal file
27
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_brute_gear.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_axe",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_random_gear",
|
||||
"chance": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
50
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_melee.json
vendored
Normal file
50
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_melee.json
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:golden_sword",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_random_gear",
|
||||
"chance": 0.10
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "random_difficulty_chance",
|
||||
"default_chance": 1.0,
|
||||
"peaceful": 0,
|
||||
"easy": 0
|
||||
},
|
||||
{
|
||||
"condition": "random_regional_difficulty_chance",
|
||||
"max_chance": 0.15
|
||||
}
|
||||
],
|
||||
"tiers": {
|
||||
"initial_range": 1
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "loot_table",
|
||||
"name": "loot_tables/entities/armor_set_gold.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
50
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_ranged.json
vendored
Normal file
50
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/piglin_gear_ranged.json
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:crossbow",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "enchant_random_gear",
|
||||
"chance": 0.10
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "random_difficulty_chance",
|
||||
"default_chance": 1.0,
|
||||
"peaceful": 0,
|
||||
"easy": 0
|
||||
},
|
||||
{
|
||||
"condition": "random_regional_difficulty_chance",
|
||||
"max_chance": 0.15
|
||||
}
|
||||
],
|
||||
"tiers": {
|
||||
"initial_range": 1
|
||||
},
|
||||
"entries": [
|
||||
{
|
||||
"type": "loot_table",
|
||||
"name": "loot_tables/entities/armor_set_gold.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
23
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/strider.json
vendored
Normal file
23
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/strider.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:string",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
42
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/strider_saddled.json
vendored
Normal file
42
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/strider_saddled.json
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:string",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 2,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:saddle",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
30
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/zoglin.json
vendored
Normal file
30
servers/bedrock/behavior_packs/vanilla_1.16/loot_tables/entities/zoglin.json
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:rotten_flesh",
|
||||
"weight": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": {
|
||||
"min": 1,
|
||||
"max": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "looting_enchant",
|
||||
"count": {
|
||||
"min": 0,
|
||||
"max": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:warped_fungus_on_a_stick",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
30
servers/bedrock/behavior_packs/vanilla_1.16/manifest.json
vendored
Normal file
30
servers/bedrock/behavior_packs/vanilla_1.16/manifest.json
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"format_version": 2,
|
||||
"header": {
|
||||
"description": "resourcePack.vanilla_server.description",
|
||||
"name": "resourcePack.vanilla_server.name",
|
||||
"uuid": "fe9f8597-5454-481a-8730-8d070a8e2e58",
|
||||
"version": [
|
||||
1,
|
||||
16,
|
||||
0
|
||||
],
|
||||
"min_engine_version": [
|
||||
1,
|
||||
16,
|
||||
0
|
||||
]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"description": "resourcePack.vanilla_server.description",
|
||||
"type": "data",
|
||||
"uuid": "79fccc3b-7bad-4f4f-aa97-d98108e6aa33",
|
||||
"version": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/barrel_from_crimson_slab.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/barrel_from_crimson_slab.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:barrel_from_crimson_slab"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"ABA",
|
||||
"A A",
|
||||
"ABA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "minecraft:stick"
|
||||
},
|
||||
"B": {
|
||||
"item": "crimson_slab"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:barrel",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/barrel_from_warped_slab.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/barrel_from_warped_slab.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:barrel_from_warped_slab"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"ABA",
|
||||
"A A",
|
||||
"ABA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "minecraft:stick"
|
||||
},
|
||||
"B": {
|
||||
"item": "warped_slab"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:barrel",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/beehive_from_crimson_planks.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/beehive_from_crimson_planks.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:beehive_from_crimson_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"AAA",
|
||||
"BBB",
|
||||
"AAA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "crimson_planks"
|
||||
},
|
||||
"B": {
|
||||
"item": "honeycomb"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "beehive",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/beehive_from_warped_planks.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/beehive_from_warped_planks.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:beehive_from_warped_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"AAA",
|
||||
"BBB",
|
||||
"AAA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "warped_planks"
|
||||
},
|
||||
"B": {
|
||||
"item": "honeycomb"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "beehive",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
21
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_slab.json
vendored
Normal file
21
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_slab.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:blackstone_slab"
|
||||
},
|
||||
"tags": [ "crafting_table" ],
|
||||
"pattern": [
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "minecraft:blackstone"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:blackstone_slab",
|
||||
"count": 6
|
||||
}
|
||||
}
|
||||
}
|
23
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_stairs.json
vendored
Normal file
23
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_stairs.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:blackstone_stairs"
|
||||
},
|
||||
"tags": [ "crafting_table" ],
|
||||
"pattern": [
|
||||
"# ",
|
||||
"## ",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "minecraft:blackstone"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:blackstone_stairs",
|
||||
"count": 4
|
||||
}
|
||||
}
|
||||
}
|
22
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_wall.json
vendored
Normal file
22
servers/bedrock/behavior_packs/vanilla_1.16/recipes/blackstone_wall.json
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:blackstone_wall"
|
||||
},
|
||||
"tags": [ "crafting_table" ],
|
||||
"pattern": [
|
||||
"###",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "minecraft:blackstone"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:blackstone_wall",
|
||||
"count": 6
|
||||
}
|
||||
}
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bookshelf_from_crimson_planks.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bookshelf_from_crimson_planks.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bookshelf_from_crimson_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"AAA",
|
||||
"BBB",
|
||||
"AAA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "crimson_planks"
|
||||
},
|
||||
"B": {
|
||||
"item": "book"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "bookshelf",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bookshelf_from_warped_planks.json
vendored
Normal file
29
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bookshelf_from_warped_planks.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bookshelf_from_warped_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"AAA",
|
||||
"BBB",
|
||||
"AAA"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "warped_planks"
|
||||
},
|
||||
"B": {
|
||||
"item": "book"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "bookshelf",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
25
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bowl_from_crimson_planks.json
vendored
Normal file
25
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bowl_from_crimson_planks.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bowl_from_crimson_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"A A",
|
||||
" A "
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "crimson_planks"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "bowl",
|
||||
"count": 4
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
25
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bowl_from_warped_planks.json
vendored
Normal file
25
servers/bedrock/behavior_packs/vanilla_1.16/recipes/bowl_from_warped_planks.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bowl_from_warped_planks"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
"A A",
|
||||
" A "
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "warped_planks"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "bowl",
|
||||
"count": 4
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
31
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire.json
vendored
Normal file
31
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire.json
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:campfire"
|
||||
},
|
||||
|
||||
|
||||
"tags": [ "crafting_table" ],
|
||||
"pattern": [
|
||||
" | ",
|
||||
"|C|",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"|": {
|
||||
"item": "minecraft:stick"
|
||||
},
|
||||
"#": {
|
||||
"item": "minecraft:log"
|
||||
},
|
||||
"C": {
|
||||
"item": "minecraft:coal"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:campfire"
|
||||
},
|
||||
"priority": 1
|
||||
}
|
||||
}
|
32
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire_from_crimson_stem.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire_from_crimson_stem.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:campfire_from_crimson_stem"
|
||||
},
|
||||
"tags": [
|
||||
"crafting_table"
|
||||
],
|
||||
"pattern": [
|
||||
" A ",
|
||||
"ABA",
|
||||
"CCC"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "stick"
|
||||
},
|
||||
"B": {
|
||||
"item": "coal"
|
||||
},
|
||||
"C": {
|
||||
"item": "crimson_stem"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "campfire",
|
||||
"count": 1
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
31
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire_from_log2.json
vendored
Normal file
31
servers/bedrock/behavior_packs/vanilla_1.16/recipes/campfire_from_log2.json
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "minecraft:campfire_from_log2"
|
||||
},
|
||||
|
||||
|
||||
"tags": [ "crafting_table" ],
|
||||
"pattern": [
|
||||
" | ",
|
||||
"|C|",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"|": {
|
||||
"item": "minecraft:stick"
|
||||
},
|
||||
"#": {
|
||||
"item": "minecraft:log2"
|
||||
},
|
||||
"C": {
|
||||
"item": "minecraft:coal"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "minecraft:campfire"
|
||||
},
|
||||
"priority": 2
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user