mirror of
https://github.com/guilhermewerner/tcc
synced 2025-06-16 15:05:42 +00:00
Add minecraft bedrock server
This commit is contained in:
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "attack",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:attack": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
25
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack_mob_test.json
vendored
Normal file
25
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack_mob_test.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "attack_mob_test",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
"block_pos": [-1, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:shoot_bow": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
21
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack_mob_test2.json
vendored
Normal file
21
servers/bedrock/behavior_packs/vanilla/behavior_trees/attack_mob_test2.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "attack_mob_test2",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
"block_pos": [-1, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:attack": {
|
||||
"num_of_ticks": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/break_nearby_block.json
vendored
Normal file
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/break_nearby_block.json
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "break_nearby_block",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:find_block": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:break_block": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
40
servers/bedrock/behavior_packs/vanilla/behavior_trees/chop_wood.json
vendored
Normal file
40
servers/bedrock/behavior_packs/vanilla/behavior_trees/chop_wood.json
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "chop_wood",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:find_block": {
|
||||
"block_name": "log"
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:break_block": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:find_entity": {
|
||||
"entity_name": "item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:move_to": {
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
27
servers/bedrock/behavior_packs/vanilla/behavior_trees/collect_items.json
vendored
Normal file
27
servers/bedrock/behavior_packs/vanilla/behavior_trees/collect_items.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "collect_items",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:find_entity": {
|
||||
"entity_name": "item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:move_to": {
|
||||
"block_pos_id": "target_pos",
|
||||
"distance_epsilon": 1.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
20
servers/bedrock/behavior_packs/vanilla/behavior_trees/consume_item.json
vendored
Normal file
20
servers/bedrock/behavior_packs/vanilla/behavior_trees/consume_item.json
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "consume_item",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:consume_item": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
servers/bedrock/behavior_packs/vanilla/behavior_trees/cooked_chicken_test.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla/behavior_trees/cooked_chicken_test.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "cooked_chicken_test",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
"block_pos": [1, 4, 1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:activate_tool": {
|
||||
"block_pos": [1, 4, 1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:break_block": {
|
||||
"block_pos": [1, 4, 1],
|
||||
"num_of_ticks": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/interact.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/interact.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "interact",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:interact": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/interact_with_at.json
vendored
Normal file
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/interact_with_at.json
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "interact_with_at",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:interact": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/look_at_entity.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/look_at_entity.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "look_at_entity",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at_entity": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
26
servers/bedrock/behavior_packs/vanilla/behavior_trees/mine_block_at_origin.json
vendored
Normal file
26
servers/bedrock/behavior_packs/vanilla/behavior_trees/mine_block_at_origin.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "mine_block_at_origin",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
"block_pos": [0, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:break_block": {
|
||||
"block_pos": [0, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
25
servers/bedrock/behavior_packs/vanilla/behavior_trees/pickup_nearby_item.json
vendored
Normal file
25
servers/bedrock/behavior_packs/vanilla/behavior_trees/pickup_nearby_item.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "pickup_nearby_item",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:find_entity": {
|
||||
"entity_name": "item"
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:move_to": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/place_block_at.json
vendored
Normal file
19
servers/bedrock/behavior_packs/vanilla/behavior_trees/place_block_at.json
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "place_block_at",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:place_block": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
26
servers/bedrock/behavior_packs/vanilla/behavior_trees/silk_touch_test.json
vendored
Normal file
26
servers/bedrock/behavior_packs/vanilla/behavior_trees/silk_touch_test.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "silk_touch_test",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:look_at": {
|
||||
"block_pos": [0, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:break_block": {
|
||||
"block_pos": [0, 4, 0]
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
27
servers/bedrock/behavior_packs/vanilla/behavior_trees/test_nether_portal.json
vendored
Normal file
27
servers/bedrock/behavior_packs/vanilla/behavior_trees/test_nether_portal.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "test_nether_portal",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:move": {
|
||||
"max_number_of_ticks": 100,
|
||||
"desired_direction": "forward"
|
||||
}
|
||||
},
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/use_entity.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/use_entity.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "use_entity",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:use_entity": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_one_second.json
vendored
Normal file
16
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_one_second.json
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "wait_one_second",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_seconds.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_seconds.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "wait_seconds",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:wait": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_ticks.json
vendored
Normal file
15
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_ticks.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "wait_ticks",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:wait_ticks": {
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_two_seconds.json
vendored
Normal file
16
servers/bedrock/behavior_packs/vanilla/behavior_trees/wait_two_seconds.json
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "wait_two_seconds",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:wait": {
|
||||
"wait_duration": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
17
servers/bedrock/behavior_packs/vanilla/behavior_trees/walk_forward.json
vendored
Normal file
17
servers/bedrock/behavior_packs/vanilla/behavior_trees/walk_forward.json
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"minecraft:behavior_tree": {
|
||||
"minecraft:name": "walk_forward",
|
||||
"minecraft:root": {
|
||||
"minecraft:sequence": {
|
||||
"children": [
|
||||
{
|
||||
"minecraft:move": {
|
||||
"desired_direction": "forward",
|
||||
"max_number_of_ticks": 30
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
67
servers/bedrock/behavior_packs/vanilla/entities/agent.json
vendored
Normal file
67
servers/bedrock/behavior_packs/vanilla/entities/agent.json
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:agent",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:tick_world": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "all",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:fire_immune": true,
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 27,
|
||||
"container_type": "container",
|
||||
"restrict_to_owner": true
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":1.0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.93
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"always_show": true,
|
||||
"allow_name_tag_renaming": false
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_entity": {
|
||||
"priority": 2,
|
||||
"look_distance": 6.0,
|
||||
"probability": 1.0,
|
||||
"angle_of_view_vertical": 135,
|
||||
"angle_of_view_horizontal": 170,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "is_owner", "subject" : "other", "value" : true}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
17
servers/bedrock/behavior_packs/vanilla/entities/area_effect_cloud.json
vendored
Normal file
17
servers/bedrock/behavior_packs/vanilla/entities/area_effect_cloud.json
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:area_effect_cloud",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:physics": {
|
||||
"has_collision": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
49
servers/bedrock/behavior_packs/vanilla/entities/armor_stand.json
vendored
Normal file
49
servers/bedrock/behavior_packs/vanilla/entities/armor_stand.json
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:armor_stand",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "armor_stand", "inanimate", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 1.975
|
||||
},
|
||||
"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/armor_stand.json"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
164
servers/bedrock/behavior_packs/vanilla/entities/arrow.json
vendored
Normal file
164
servers/bedrock/behavior_packs/vanilla/entities/arrow.json
vendored
Normal file
@ -0,0 +1,164 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:arrow",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:hard_arrow": {
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": [ 1, 5 ],
|
||||
"knockback": true,
|
||||
"semi_random_diff_damage": false,
|
||||
"destroy_on_hit": true
|
||||
},
|
||||
"stick_in_ground": {
|
||||
"shake_time" : 0.35
|
||||
},
|
||||
"arrow_effect": {
|
||||
}
|
||||
},
|
||||
"hit_sound": "bow.hit",
|
||||
"power": 1.6,
|
||||
"gravity": 0.05,
|
||||
"uncertainty_base": 16,
|
||||
"uncertainty_multiplier": 4,
|
||||
"anchor": 1,
|
||||
"should_bounce": true,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:player_arrow": {
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 1,
|
||||
"knockback": true,
|
||||
"semi_random_diff_damage": true,
|
||||
"destroy_on_hit": true,
|
||||
"max_critical_damage": 10,
|
||||
"min_critical_damage": 9,
|
||||
"power_multiplier": 0.97
|
||||
},
|
||||
"stick_in_ground": {
|
||||
"shake_time" : 0.35
|
||||
},
|
||||
"arrow_effect": {
|
||||
}
|
||||
},
|
||||
"hit_sound": "bow.hit",
|
||||
"power": 5.0,
|
||||
"gravity": 0.05,
|
||||
"uncertainty_base": 1,
|
||||
"uncertainty_multiplier": 0,
|
||||
"anchor": 1,
|
||||
"should_bounce": true,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pillager_arrow": {
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": [ 3, 6 ],
|
||||
"knockback": true,
|
||||
"semi_random_diff_damage": false,
|
||||
"destroy_on_hit": true
|
||||
},
|
||||
"stick_in_ground": {
|
||||
"shake_time": 0.35
|
||||
},
|
||||
"arrow_effect": {
|
||||
}
|
||||
},
|
||||
"hit_sound": "bow.hit",
|
||||
"power": 1.6,
|
||||
"gravity": 0.05,
|
||||
"uncertainty_base": 16,
|
||||
"uncertainty_multiplier": 4,
|
||||
"anchor": 1,
|
||||
"should_bounce": true,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": [ 1, 4 ],
|
||||
"knockback": true,
|
||||
"semi_random_diff_damage": false,
|
||||
"destroy_on_hit": true
|
||||
},
|
||||
"stick_in_ground": {
|
||||
"shake_time" : 0.35
|
||||
},
|
||||
"arrow_effect": {
|
||||
}
|
||||
},
|
||||
"hit_sound": "bow.hit",
|
||||
"power": 1.6,
|
||||
"gravity": 0.05,
|
||||
"uncertainty_base": 16,
|
||||
"uncertainty_multiplier": 4,
|
||||
"anchor": 1,
|
||||
"should_bounce": true,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {"test": "is_difficulty", "value": "hard"},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:hard_arrow" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {"test": "is_family", "subject": "other", "value": "player"},
|
||||
"add": {
|
||||
"component_groups" : [ "minecraft:player_arrow" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {"test": "is_family", "subject": "other", "value": "pillager"},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:pillager_arrow" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
75
servers/bedrock/behavior_packs/vanilla/entities/bat.json
vendored
Normal file
75
servers/bedrock/behavior_packs/vanilla/entities/bat.json
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"format_version": "1.13.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: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": {
|
||||
}
|
||||
}
|
||||
}
|
129
servers/bedrock/behavior_packs/vanilla/entities/blaze.json
vendored
Normal file
129
servers/bedrock/behavior_packs/vanilla/entities/blaze.json
vendored
Normal file
@ -0,0 +1,129 @@
|
||||
{
|
||||
"format_version": "1.13.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
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"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": true,
|
||||
"minecraft:nameable": {
|
||||
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"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": 48
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"max_dist": 3,
|
||||
"speed_multiplier": 1,
|
||||
"random_stop_interval": 2.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"type": "smallfireball",
|
||||
"def": "minecraft:small_fireball"
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 4,
|
||||
"attack_interval_min": 3,
|
||||
"attack_interval_max": 5,
|
||||
"charge_charged_trigger": 0.0,
|
||||
"charge_shoot_trigger": 4.0,
|
||||
"attack_radius": 16,
|
||||
"burst_shots": 3,
|
||||
"burst_interval": 0.3
|
||||
},
|
||||
"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/entities/boat.json
vendored
Normal file
77
servers/bedrock/behavior_packs/vanilla/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": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
701
servers/bedrock/behavior_packs/vanilla/entities/cat.json
vendored
Normal file
701
servers/bedrock/behavior_packs/vanilla/entities/cat.json
vendored
Normal file
@ -0,0 +1,701 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"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,
|
||||
"attack_interval": 10,
|
||||
"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: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,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"sneak_speed_multiplier": 0.6
|
||||
},
|
||||
"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/entities/cave_spider.json
vendored
Normal file
440
servers/bedrock/behavior_packs/vanilla/entities/cave_spider.json
vendored
Normal file
@ -0,0 +1,440 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"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,
|
||||
"attack_interval": 5
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"yd": 0.4,
|
||||
"must_be_on_ground": false
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"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,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"attack_interval": 10,
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"yd": 0.4,
|
||||
"must_be_on_ground": false
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
37
servers/bedrock/behavior_packs/vanilla/entities/chest_minecart.json
vendored
Normal file
37
servers/bedrock/behavior_packs/vanilla/entities/chest_minecart.json
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:chest_minecart",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "minecart", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:rail_movement": {
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"container_type": "minecart_chest",
|
||||
"inventory_size": 27,
|
||||
"can_be_siphoned_from": true
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
"value": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
239
servers/bedrock/behavior_packs/vanilla/entities/chicken.json
vendored
Normal file
239
servers/bedrock/behavior_packs/vanilla/entities/chicken.json
vendored
Normal file
@ -0,0 +1,239 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"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.6
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
92
servers/bedrock/behavior_packs/vanilla/entities/command_block_minecart.json
vendored
Normal file
92
servers/bedrock/behavior_packs/vanilla/entities/command_block_minecart.json
vendored
Normal file
@ -0,0 +1,92 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:command_block_minecart",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:command_block_active": {
|
||||
"minecraft:rail_sensor": {
|
||||
"check_block_types": true,
|
||||
"eject_on_activate": false,
|
||||
"eject_on_deactivate": false,
|
||||
"tick_command_block_on_activate": true,
|
||||
"tick_command_block_on_deactivate": false,
|
||||
"on_deactivate": {
|
||||
"event": "minecraft:command_block_deactivate"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:command_block_inactive": {
|
||||
"minecraft:rail_sensor": {
|
||||
"check_block_types": false,
|
||||
"eject_on_activate": false,
|
||||
"eject_on_deactivate": false,
|
||||
"tick_command_block_on_activate": true,
|
||||
"tick_command_block_on_deactivate": false,
|
||||
"on_activate": {
|
||||
"event": "minecraft:command_block_activate"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "minecart", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:rail_movement": {
|
||||
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:command_block_inactive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:command_block_activate": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:command_block_inactive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:command_block_active"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:command_block_deactivate": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:command_block_active"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:command_block_inactive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
237
servers/bedrock/behavior_packs/vanilla/entities/cow.json
vendored
Normal file
237
servers/bedrock/behavior_packs/vanilla/entities/cow.json
vendored
Normal file
@ -0,0 +1,237 @@
|
||||
{
|
||||
"format_version": "1.13.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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
319
servers/bedrock/behavior_packs/vanilla/entities/creeper.json
vendored
Normal file
319
servers/bedrock/behavior_packs/vanilla/entities/creeper.json
vendored
Normal file
@ -0,0 +1,319 @@
|
||||
{
|
||||
"format_version": "1.13.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: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,
|
||||
"walk_speed_multiplier": 1,
|
||||
"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,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true,
|
||||
"must_see_forget_duration": 0.0
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
408
servers/bedrock/behavior_packs/vanilla/entities/dolphin.json
vendored
Normal file
408
servers/bedrock/behavior_packs/vanilla/entities/dolphin.json
vendored
Normal file
@ -0,0 +1,408 @@
|
||||
{
|
||||
"format_version": "1.13.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,4) : 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.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
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
471
servers/bedrock/behavior_packs/vanilla/entities/donkey.json
vendored
Normal file
471
servers/bedrock/behavior_packs/vanilla/entities/donkey.json
vendored
Normal file
@ -0,0 +1,471 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"priority": 0,
|
||||
"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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
47
servers/bedrock/behavior_packs/vanilla/entities/dragon_fireball.json
vendored
Normal file
47
servers/bedrock/behavior_packs/vanilla/entities/dragon_fireball.json
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:dragon_fireball",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.31,
|
||||
"height": 0.31
|
||||
},
|
||||
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"spawn_aoe_cloud": {
|
||||
"radius": 6.0,
|
||||
"radius_on_use": 0,
|
||||
"potion": 23,
|
||||
"particle": "dragonbreath",
|
||||
"duration": 120,
|
||||
"color": [ 220, 0, 239 ],
|
||||
"affect_owner": false
|
||||
},
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 1.3,
|
||||
"gravity": 0.00,
|
||||
"inertia": 1,
|
||||
"anchor": 2,
|
||||
"offset": [ 0, 0.5, 0 ],
|
||||
"semi_random_diff_damage": true,
|
||||
"uncertainty_base": 10.0,
|
||||
"reflect_on_hurt": true,
|
||||
"hit_sound": "explode"
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
389
servers/bedrock/behavior_packs/vanilla/entities/drowned.json
vendored
Normal file
389
servers/bedrock/behavior_packs/vanilla/entities/drowned.json
vendored
Normal file
@ -0,0 +1,389 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 10
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:melee_mode": {
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": false
|
||||
},
|
||||
"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: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:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 3,
|
||||
"goal_radius": 1.14,
|
||||
"search_count": 4,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"within_radius": 12,
|
||||
"reselect_targets": true,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true,
|
||||
"must_see_forget_duration": 17.0,
|
||||
"persist_time": 0.5
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
50
servers/bedrock/behavior_packs/vanilla/entities/egg.json
vendored
Normal file
50
servers/bedrock/behavior_packs/vanilla/entities/egg.json
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:egg",
|
||||
"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": {
|
||||
"damage": 0,
|
||||
"knockback": true,
|
||||
"destroy_on_hit": true
|
||||
},
|
||||
"spawn_chance": {
|
||||
"first_spawn_chance": 8,
|
||||
"second_spawn_chance": 32,
|
||||
"first_spawn_count": 1,
|
||||
"second_spawn_count": 4,
|
||||
"spawn_definition": "minecraft:chicken",
|
||||
"spawn_baby": true
|
||||
},
|
||||
"remove_on_hit": {},
|
||||
"particle_on_hit": {
|
||||
"particle_type": "iconcrack",
|
||||
"num_particles": 6,
|
||||
"on_entity_hit": true,
|
||||
"on_other_hit": true
|
||||
}
|
||||
},
|
||||
"power": 1.5,
|
||||
"gravity": 0.03,
|
||||
"angle_offset": 0.0
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
110
servers/bedrock/behavior_packs/vanilla/entities/elder_guardian.json
vendored
Normal file
110
servers/bedrock/behavior_packs/vanilla/entities/elder_guardian.json
vendored
Normal file
@ -0,0 +1,110 @@
|
||||
{
|
||||
"format_version": "1.13.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_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.5
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
58
servers/bedrock/behavior_packs/vanilla/entities/ender_crystal.json
vendored
Normal file
58
servers/bedrock/behavior_packs/vanilla/entities/ender_crystal.json
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ender_crystal",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"crystal_exploding": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 0,
|
||||
"fuse_lit": true,
|
||||
"power": 6,
|
||||
"causes_fire": false,
|
||||
"destroy_affected_by_griefing": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.98
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:fire_immune": true,
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:crystal_explode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:crystal_explode": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"crystal_exploding"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
153
servers/bedrock/behavior_packs/vanilla/entities/ender_dragon.json
vendored
Normal file
153
servers/bedrock/behavior_packs/vanilla/entities/ender_dragon.json
vendored
Normal file
@ -0,0 +1,153 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ender_dragon",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"dragon_sitting": {
|
||||
"minecraft:behavior.dragonlanding": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.dragonflaming": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.dragonscanning": {
|
||||
"priority": 2
|
||||
}
|
||||
},
|
||||
"dragon_flying": {
|
||||
"minecraft:behavior.dragontakeoff": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.dragonchargeplayer": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.dragonstrafeplayer": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.dragonholdingpattern": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"type": "dragonfireball",
|
||||
"def": "minecraft:dragon_fireball"
|
||||
}
|
||||
},
|
||||
"dragon_death": {
|
||||
"minecraft:behavior.dragondeath": {
|
||||
"priority": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "dragon", "mob" ]
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 200,
|
||||
"max": 200
|
||||
},
|
||||
"minecraft:boss": {
|
||||
"should_darken_sky": false,
|
||||
"hud_range": 125
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 13,
|
||||
"height": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:fire_immune": true,
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 100,
|
||||
"max": 100
|
||||
},
|
||||
"minecraft:flying_speed": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:on_start_landing": {
|
||||
"event": "minecraft:start_land",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_start_takeoff": {
|
||||
"event": "minecraft:start_fly",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_death": {
|
||||
"event": "minecraft:start_death",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false,
|
||||
"has_collision": false
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dragon_flying"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_land": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dragon_flying"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dragon_sitting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_fly": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dragon_sitting"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dragon_flying"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_death": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dragon_sitting",
|
||||
"dragon_flying"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dragon_death"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
68
servers/bedrock/behavior_packs/vanilla/entities/ender_pearl.json
vendored
Normal file
68
servers/bedrock/behavior_packs/vanilla/entities/ender_pearl.json
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ender_pearl",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:no_spawn": {
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"teleport_owner": { },
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 1.5,
|
||||
"gravity": 0.025,
|
||||
"angle_offset": 0.0,
|
||||
"inertia": 1,
|
||||
"liquid_inertia": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"teleport_owner": { },
|
||||
"spawn_chance": {
|
||||
"first_spawn_percent_chance": 5.0,
|
||||
"first_spawn_count": 1,
|
||||
"spawn_definition": "minecraft:endermite"
|
||||
},
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 1.5,
|
||||
"gravity": 0.025,
|
||||
"angle_offset": 0.0,
|
||||
"inertia": 1,
|
||||
"liquid_inertia": 1
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {"test": "is_game_rule", "domain": "domobspawning", "value": false},
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:no_spawn" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
208
servers/bedrock/behavior_packs/vanilla/entities/enderman.json
vendored
Normal file
208
servers/bedrock/behavior_packs/vanilla/entities/enderman.json
vendored
Normal file
@ -0,0 +1,208 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"speed_multiplier": 1.0,
|
||||
"track_target": false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"attack_interval": 10,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "endermite"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
106
servers/bedrock/behavior_packs/vanilla/entities/endermite.json
vendored
Normal file
106
servers/bedrock/behavior_packs/vanilla/entities/endermite.json
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
{
|
||||
"format_version": "1.13.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:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true
|
||||
},
|
||||
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"within_radius": 16,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "enderman"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"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/entities/evocation_illager.json
vendored
Normal file
289
servers/bedrock/behavior_packs/vanilla/entities/evocation_illager.json
vendored
Normal file
@ -0,0 +1,289 @@
|
||||
{
|
||||
"format_version": "1.13.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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
23
servers/bedrock/behavior_packs/vanilla/entities/eye_of_ender_signal.json
vendored
Normal file
23
servers/bedrock/behavior_packs/vanilla/entities/eye_of_ender_signal.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:eye_of_ender_signal",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
68
servers/bedrock/behavior_packs/vanilla/entities/fireball.json
vendored
Normal file
68
servers/bedrock/behavior_packs/vanilla/entities/fireball.json
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:fireball",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:exploding": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 0,
|
||||
"fuse_lit": true,
|
||||
"power": 1,
|
||||
"causes_fire": true,
|
||||
"fire_affected_by_griefing": true,
|
||||
"destroy_affected_by_griefing": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.31,
|
||||
"height": 0.31
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
|
||||
"on_hit": {
|
||||
"definition_event": {
|
||||
"affect_projectile": true,
|
||||
"event_trigger": {
|
||||
"event": "minecraft:explode",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"power": 1.6,
|
||||
"gravity": 0.00,
|
||||
"inertia": 1,
|
||||
"liquid_inertia": 1,
|
||||
"uncertainty_base": 0,
|
||||
"uncertainty_multiplier": 0,
|
||||
"anchor": 1,
|
||||
"offset": [ 0, -0.1, 0 ],
|
||||
"reflect_on_hurt": true,
|
||||
"catch_fire": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:explode": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:exploding"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
23
servers/bedrock/behavior_packs/vanilla/entities/fireworks_rocket.json
vendored
Normal file
23
servers/bedrock/behavior_packs/vanilla/entities/fireworks_rocket.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:fireworks_rocket",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
125
servers/bedrock/behavior_packs/vanilla/entities/fish.json
vendored
Normal file
125
servers/bedrock/behavior_packs/vanilla/entities/fish.json
vendored
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"format_version": "1.13.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:behavior.swim_idle": {
|
||||
"priority": 5
|
||||
},
|
||||
"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,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 10,
|
||||
"look_ahead": 2.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": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
52
servers/bedrock/behavior_packs/vanilla/entities/fishing_hook.json
vendored
Normal file
52
servers/bedrock/behavior_packs/vanilla/entities/fishing_hook.json
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:fishing_hook",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"loot_jungle": {
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/gameplay/jungle_fishing.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.15,
|
||||
"height": 0.15
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": { "stick_in_ground": {} }
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/gameplay/fishing.json"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_biome",
|
||||
"value": "jungle"
|
||||
},
|
||||
"add": { "component_groups": [ "loot_jungle" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
869
servers/bedrock/behavior_packs/vanilla/entities/fox.json
vendored
Normal file
869
servers/bedrock/behavior_packs/vanilla/entities/fox.json
vendored
Normal file
@ -0,0 +1,869 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"target_dist": 1.2,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"reach_multiplier": 1.5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:defending_fox": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 1,
|
||||
"target_dist": 1.2,
|
||||
"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": "is_weather", "operator": "!=", "value": "thunderstorm" },
|
||||
{ "test": "is_daytime", "value": true }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:fox_configure_day"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_weather", "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" : "is_weather", "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": "is_weather",
|
||||
"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" : "is_weather", "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: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:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"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": {
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
98
servers/bedrock/behavior_packs/vanilla/entities/ghast.json
vendored
Normal file
98
servers/bedrock/behavior_packs/vanilla/entities/ghast.json
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
{
|
||||
"format_version": "1.13.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": true,
|
||||
"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": {
|
||||
"type": "largefireball",
|
||||
"def": "minecraft:fireball"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "ghast", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
201
servers/bedrock/behavior_packs/vanilla/entities/guardian.json
vendored
Normal file
201
servers/bedrock/behavior_packs/vanilla/entities/guardian.json
vendored
Normal file
@ -0,0 +1,201 @@
|
||||
{
|
||||
"format_version": "1.13.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: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_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 80
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
92
servers/bedrock/behavior_packs/vanilla/entities/hopper_minecart.json
vendored
Normal file
92
servers/bedrock/behavior_packs/vanilla/entities/hopper_minecart.json
vendored
Normal file
@ -0,0 +1,92 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:hopper_minecart",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:hopper_active": {
|
||||
"minecraft:item_hopper": {
|
||||
|
||||
},
|
||||
"minecraft:rail_sensor": {
|
||||
"on_activate": {
|
||||
"event": "minecraft:hopper_deactivate"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:hopper_inactive": {
|
||||
"minecraft:rail_sensor": {
|
||||
"on_deactivate": {
|
||||
"event": "minecraft:hopper_activate"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "minecart", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:rail_movement": {
|
||||
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"container_type": "minecart_hopper",
|
||||
"inventory_size": 5,
|
||||
"can_be_siphoned_from": true
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hopper_active"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:hopper_activate": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hopper_inactive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hopper_active"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:hopper_deactivate": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hopper_active"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hopper_inactive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
627
servers/bedrock/behavior_packs/vanilla/entities/horse.json
vendored
Normal file
627
servers/bedrock/behavior_packs/vanilla/entities/horse.json
vendored
Normal file
@ -0,0 +1,627 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"priority": 0,
|
||||
"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": [
|
||||
"apple",
|
||||
"carrot",
|
||||
"golden_apple",
|
||||
"appleEnchanted",
|
||||
"golden_carrot",
|
||||
"hay_block",
|
||||
"sugar",
|
||||
"bread",
|
||||
"wheat"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"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: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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
359
servers/bedrock/behavior_packs/vanilla/entities/husk.json
vendored
Normal file
359
servers/bedrock/behavior_packs/vanilla/entities/husk.json
vendored
Normal file
@ -0,0 +1,359 @@
|
||||
{
|
||||
"format_version": "1.13.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: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:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:start_transforming"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// Zombie_husk Behaviors
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": false
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 3,
|
||||
"goal_radius": 1.14,
|
||||
"search_count": 4,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"within_radius": 25,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"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" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
288
servers/bedrock/behavior_packs/vanilla/entities/iron_golem.json
vendored
Normal file
288
servers/bedrock/behavior_packs/vanilla/entities/iron_golem.json
vendored
Normal file
@ -0,0 +1,288 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:iron_golem",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:player_created": {
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:village_created": {
|
||||
"minecraft:behavior.defend_village_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "defender",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "irongolem", "mob" ]
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 2.9
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/iron_golem.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 100,
|
||||
"max": 100
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": {
|
||||
"range_min": 7,
|
||||
"range_max": 21
|
||||
}
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:preferred_path" : {
|
||||
"max_fall_blocks" : 1,
|
||||
"jump_cost" : 5,
|
||||
"default_block_cost" : 1.5,
|
||||
"preferred_path_blocks" : [
|
||||
{
|
||||
"cost" : 0,
|
||||
"blocks" : [
|
||||
"grass_path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost" : 1,
|
||||
"blocks" : [
|
||||
"cobblestone",
|
||||
"stone",
|
||||
"stonebrick",
|
||||
"sandstone",
|
||||
"mossy_cobblestone",
|
||||
"stone_slab",
|
||||
"stone_slab2",
|
||||
"stone_slab3",
|
||||
"stone_slab4",
|
||||
"double_stone_slab",
|
||||
"double_stone_slab2",
|
||||
"double_stone_slab3",
|
||||
"double_stone_slab4",
|
||||
"wooden_slab",
|
||||
"double_wooden_slab",
|
||||
"planks",
|
||||
"brick_block",
|
||||
"nether_brick",
|
||||
"red_nether_brick",
|
||||
"end_bricks",
|
||||
"red_sandstone",
|
||||
"stained_glass",
|
||||
"glass",
|
||||
"glowstone",
|
||||
"prismarine",
|
||||
"emerald_block",
|
||||
"diamond_block",
|
||||
"lapis_block",
|
||||
"gold_block",
|
||||
"redstone_block",
|
||||
"purple_glazed_terracotta",
|
||||
"white_glazed_terracotta",
|
||||
"orange_glazed_terracotta",
|
||||
"magenta_glazed_terracotta",
|
||||
"light_blue_glazed_terracotta",
|
||||
"yellow_glazed_terracotta",
|
||||
"lime_glazed_terracotta",
|
||||
"pink_glazed_terracotta",
|
||||
"gray_glazed_terracotta",
|
||||
"silver_glazed_terracotta",
|
||||
"cyan_glazed_terracotta",
|
||||
"blue_glazed_terracotta",
|
||||
"brown_glazed_terracotta",
|
||||
"green_glazed_terracotta",
|
||||
"red_glazed_terracotta",
|
||||
"black_glazed_terracotta"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost" : 50,
|
||||
"blocks" : [
|
||||
"bed",
|
||||
"lectern",
|
||||
"composter",
|
||||
"grindstone",
|
||||
"blast_furnace",
|
||||
"smoker",
|
||||
"fletching_table",
|
||||
"cartography_table",
|
||||
"brewing_stand",
|
||||
"smithing_table",
|
||||
"cauldron",
|
||||
"barrel",
|
||||
"loom",
|
||||
"stonecutter"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.target_when_pushed": {
|
||||
"priority": 1,
|
||||
"percent_chance": 5.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "monster" },
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 1,
|
||||
"target_dist": 1.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_target": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.9,
|
||||
"within_radius": 32
|
||||
},
|
||||
"minecraft:behavior.move_through_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6,
|
||||
"only_at_night": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_restriction": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.offer_flower": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1,
|
||||
"xz_dist": 16
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "monster"},
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||
]
|
||||
},
|
||||
"within_default": 10
|
||||
}
|
||||
],
|
||||
"must_see": true,
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "creeper" }
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:from_player": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:player_created"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:from_village": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:village_created"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
23
servers/bedrock/behavior_packs/vanilla/entities/lightning_bolt.json
vendored
Normal file
23
servers/bedrock/behavior_packs/vanilla/entities/lightning_bolt.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lightning_bolt",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family":["lightning"]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
}
|
||||
}
|
||||
}
|
39
servers/bedrock/behavior_packs/vanilla/entities/lingering_potion.json
vendored
Normal file
39
servers/bedrock/behavior_packs/vanilla/entities/lingering_potion.json
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lingering_potion",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"douse_fire": { },
|
||||
"spawn_aoe_cloud": {
|
||||
"radius": 3.0,
|
||||
"radius_on_use": -0.5,
|
||||
"duration": 30,
|
||||
"reapplication_delay": 40
|
||||
},
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 0.5,
|
||||
"gravity": 0.05,
|
||||
"angle_offset": -20.0,
|
||||
"hit_sound": "glass"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
784
servers/bedrock/behavior_packs/vanilla/entities/llama.json
vendored
Normal file
784
servers/bedrock/behavior_packs/vanilla/entities/llama.json
vendored
Normal file
@ -0,0 +1,784 @@
|
||||
{
|
||||
"format_version": "1.13.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: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": {
|
||||
"priority": 0,
|
||||
"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": {
|
||||
"type": "llamaspit",
|
||||
"def": "minecraft:llama_spit"
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
41
servers/bedrock/behavior_packs/vanilla/entities/llama_spit.json
vendored
Normal file
41
servers/bedrock/behavior_packs/vanilla/entities/llama_spit.json
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:llama_spit",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.31,
|
||||
"height": 0.31
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 1,
|
||||
"knockback": false
|
||||
},
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 1.5,
|
||||
"gravity": 0.06,
|
||||
"inertia": 1,
|
||||
"uncertainty_base": 10,
|
||||
"uncertainty_multiplier": 4,
|
||||
"anchor": 1,
|
||||
"offset": [ 0, -0.1, 0 ],
|
||||
"reflect_on_hurt": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
180
servers/bedrock/behavior_packs/vanilla/entities/magma_cube.json
vendored
Normal file
180
servers/bedrock/behavior_packs/vanilla/entities/magma_cube.json
vendored
Normal file
@ -0,0 +1,180 @@
|
||||
{
|
||||
"format_version": "1.13.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": true,
|
||||
"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:behavior.slime_float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
43
servers/bedrock/behavior_packs/vanilla/entities/minecart.json
vendored
Normal file
43
servers/bedrock/behavior_packs/vanilla/entities/minecart.json
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:minecart",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "minecart", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:rail_movement": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"interact_text": "action.interact.ride.minecart",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": {
|
||||
"position": [ 0.0, -0.2, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:rail_sensor": {
|
||||
"eject_on_activate": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
754
servers/bedrock/behavior_packs/vanilla/entities/mooshroom.json
vendored
Normal file
754
servers/bedrock/behavior_packs/vanilla/entities/mooshroom.json
vendored
Normal file
@ -0,0 +1,754 @@
|
||||
{
|
||||
"format_version": "1.13.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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
439
servers/bedrock/behavior_packs/vanilla/entities/mule.json
vendored
Normal file
439
servers/bedrock/behavior_packs/vanilla/entities/mule.json
vendored
Normal file
@ -0,0 +1,439 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"priority": 0,
|
||||
"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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
241
servers/bedrock/behavior_packs/vanilla/entities/npc.json
vendored
Normal file
241
servers/bedrock/behavior_packs/vanilla/entities/npc.json
vendored
Normal file
@ -0,0 +1,241 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:npc",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "all",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "npc", "mob" ]
|
||||
},
|
||||
"minecraft:fire_immune": true,
|
||||
"minecraft:movement": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/empty.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 2.1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 0,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:npc": {
|
||||
"npc_data": {
|
||||
"portrait_offsets": {
|
||||
"translate": [-7, 50, 0],
|
||||
"scale": [1.75, 1.75, 1.75]
|
||||
},
|
||||
"picker_offsets": {
|
||||
"translate": [0, 20, 0],
|
||||
"scale": [1.7, 1.7, 1.7]
|
||||
},
|
||||
"skin_list": [
|
||||
{
|
||||
"variant": 0
|
||||
},
|
||||
{
|
||||
"variant": 1
|
||||
},
|
||||
{
|
||||
"variant": 2
|
||||
},
|
||||
{
|
||||
"variant": 3
|
||||
},
|
||||
{
|
||||
"variant": 4
|
||||
},
|
||||
{
|
||||
"variant": 5
|
||||
},
|
||||
{
|
||||
"variant": 6
|
||||
},
|
||||
{
|
||||
"variant": 7
|
||||
},
|
||||
{
|
||||
"variant": 8
|
||||
},
|
||||
{
|
||||
"variant": 9
|
||||
},
|
||||
{
|
||||
"variant": 10
|
||||
},
|
||||
{
|
||||
"variant": 11
|
||||
},
|
||||
{
|
||||
"variant": 12
|
||||
},
|
||||
{
|
||||
"variant": 13
|
||||
},
|
||||
{
|
||||
"variant": 14
|
||||
},
|
||||
{
|
||||
"variant": 15
|
||||
},
|
||||
{
|
||||
"variant": 16
|
||||
},
|
||||
{
|
||||
"variant": 17
|
||||
},
|
||||
{
|
||||
"variant": 18
|
||||
},
|
||||
{
|
||||
"variant": 19
|
||||
},
|
||||
{
|
||||
"variant": 25
|
||||
},
|
||||
{
|
||||
"variant": 26
|
||||
},
|
||||
{
|
||||
"variant": 27
|
||||
},
|
||||
{
|
||||
"variant": 28
|
||||
},
|
||||
{
|
||||
"variant": 29
|
||||
},
|
||||
{
|
||||
"variant": 30
|
||||
},
|
||||
{
|
||||
"variant": 31
|
||||
},
|
||||
{
|
||||
"variant": 32
|
||||
},
|
||||
{
|
||||
"variant": 33
|
||||
},
|
||||
{
|
||||
"variant": 34
|
||||
},
|
||||
{
|
||||
"variant": 20
|
||||
},
|
||||
{
|
||||
"variant": 21
|
||||
},
|
||||
{
|
||||
"variant": 22
|
||||
},
|
||||
{
|
||||
"variant": 23
|
||||
},
|
||||
{
|
||||
"variant": 24
|
||||
},
|
||||
{
|
||||
"variant": 35
|
||||
},
|
||||
{
|
||||
"variant": 36
|
||||
},
|
||||
{
|
||||
"variant": 37
|
||||
},
|
||||
{
|
||||
"variant": 38
|
||||
},
|
||||
{
|
||||
"variant": 39
|
||||
},
|
||||
{
|
||||
"variant": 40
|
||||
},
|
||||
{
|
||||
"variant": 41
|
||||
},
|
||||
{
|
||||
"variant": 42
|
||||
},
|
||||
{
|
||||
"variant": 43
|
||||
},
|
||||
{
|
||||
"variant": 44
|
||||
},
|
||||
{
|
||||
"variant": 50
|
||||
},
|
||||
{
|
||||
"variant": 51
|
||||
},
|
||||
{
|
||||
"variant": 52
|
||||
},
|
||||
{
|
||||
"variant": 53
|
||||
},
|
||||
{
|
||||
"variant": 54
|
||||
},
|
||||
{
|
||||
"variant": 45
|
||||
},
|
||||
{
|
||||
"variant": 46
|
||||
},
|
||||
{
|
||||
"variant": 47
|
||||
},
|
||||
{
|
||||
"variant": 48
|
||||
},
|
||||
{
|
||||
"variant": 49
|
||||
},
|
||||
{
|
||||
"variant": 55
|
||||
},
|
||||
{
|
||||
"variant": 56
|
||||
},
|
||||
{
|
||||
"variant": 57
|
||||
},
|
||||
{
|
||||
"variant": 58
|
||||
},
|
||||
{
|
||||
"variant": 59
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"always_show": true,
|
||||
"allow_name_tag_renaming": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
380
servers/bedrock/behavior_packs/vanilla/entities/ocelot.json
vendored
Normal file
380
servers/bedrock/behavior_packs/vanilla/entities/ocelot.json
vendored
Normal file
@ -0,0 +1,380 @@
|
||||
{
|
||||
"format_version": "1.13.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: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: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:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"attack_interval": 10,
|
||||
"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,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"sneak_speed_multiplier": 0.6
|
||||
},
|
||||
"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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
692
servers/bedrock/behavior_packs/vanilla/entities/panda.json
vendored
Normal file
692
servers/bedrock/behavior_packs/vanilla/entities/panda.json
vendored
Normal file
@ -0,0 +1,692 @@
|
||||
{
|
||||
"format_version": "1.13.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,4) : 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,
|
||||
"target_dist": 1.2,
|
||||
"track_target": true,
|
||||
"attack_once": 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,
|
||||
"walk_speed_multiplier": 1.0,
|
||||
"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,
|
||||
"target_dist": 1.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: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": {
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
247
servers/bedrock/behavior_packs/vanilla/entities/parrot.json
vendored
Normal file
247
servers/bedrock/behavior_packs/vanilla/entities/parrot.json
vendored
Normal file
@ -0,0 +1,247 @@
|
||||
{
|
||||
"format_version": "1.13.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
|
||||
},
|
||||
"minecraft:movement.fly": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
126
servers/bedrock/behavior_packs/vanilla/entities/phantom.json
vendored
Normal file
126
servers/bedrock/behavior_packs/vanilla/entities/phantom.json
vendored
Normal file
@ -0,0 +1,126 @@
|
||||
{
|
||||
"format_version": "1.13.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: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,
|
||||
"walk_speed_multiplier": 1,
|
||||
"sprint_speed_multiplier": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"within_radius": 64,
|
||||
"reselect_targets": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
],
|
||||
"must_see": false,
|
||||
"must_see_forget_duration": 0.5,
|
||||
"scan_interval": 20,
|
||||
"target_search_height": 80.0
|
||||
},
|
||||
"minecraft:behavior.swoop_attack": {
|
||||
"priority": 2,
|
||||
"delay_range": [ 10.0, 20.0 ]
|
||||
},
|
||||
"minecraft:behavior.circle_around_anchor": {
|
||||
"priority": 3,
|
||||
"radius_range": [ 5.0, 15.0 ],
|
||||
"radius_change_chance": 250,
|
||||
"height_above_target_range": [ 20.0, 40.0 ],
|
||||
"height_offset_range": [ -4.0, 5.0 ],
|
||||
"height_change_chance": 350,
|
||||
"goal_radius": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
305
servers/bedrock/behavior_packs/vanilla/entities/pig.json
vendored
Normal file
305
servers/bedrock/behavior_packs/vanilla/entities/pig.json
vendored
Normal file
@ -0,0 +1,305 @@
|
||||
{
|
||||
"format_version": "1.13.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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
426
servers/bedrock/behavior_packs/vanilla/entities/pillager.json
vendored
Normal file
426
servers/bedrock/behavior_packs/vanilla/entities/pillager.json
vendored
Normal file
@ -0,0 +1,426 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"attack_interval_max": 1,
|
||||
"attack_radius": 8
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"type": "Arrow",
|
||||
"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,
|
||||
"target_dist": 1.2,
|
||||
"speed_multiplier": 1,
|
||||
"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: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: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: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: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,
|
||||
"within_radius": 16.0,
|
||||
"reselect_targets": true,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"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: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/entities/player.json
vendored
Normal file
194
servers/bedrock/behavior_packs/vanilla/entities/player.json
vendored
Normal file
@ -0,0 +1,194 @@
|
||||
{
|
||||
"format_version": "1.13.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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
295
servers/bedrock/behavior_packs/vanilla/entities/polar_bear.json
vendored
Normal file
295
servers/bedrock/behavior_packs/vanilla/entities/polar_bear.json
vendored
Normal file
@ -0,0 +1,295 @@
|
||||
{
|
||||
"format_version": "1.13.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
|
||||
}
|
||||
],
|
||||
"must_see": false
|
||||
}
|
||||
},
|
||||
|
||||
"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,4) : 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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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: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
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
245
servers/bedrock/behavior_packs/vanilla/entities/pufferfish.json
vendored
Normal file
245
servers/bedrock/behavior_packs/vanilla/entities/pufferfish.json
vendored
Normal file
@ -0,0 +1,245 @@
|
||||
{
|
||||
"format_version": "1.13.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": 1.5,
|
||||
"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:to_full_puff"
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_inflate": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 0.05,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_full_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_deflate": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 1,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_normal_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:start_deflate": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 10,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_deflate"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 10,
|
||||
"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" }
|
||||
}
|
||||
]}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:from_full_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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: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,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 0,
|
||||
"look_ahead": 2.0
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": true,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 3.0,
|
||||
"breach_influence": 7.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 0.95,
|
||||
"cohesion_weight": 2.0,
|
||||
"cohesion_threshold": 1.95,
|
||||
"innner_cohesion_threshold": 1.25,
|
||||
"min_height": 1.5,
|
||||
"max_height": 6.0,
|
||||
"block_distance": 2.0,
|
||||
"block_weight": 0.85
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:normal_puff" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:to_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_inflate" ] },
|
||||
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_inflate" ] }
|
||||
},
|
||||
|
||||
"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_deflate" ] },
|
||||
"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_deflate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
321
servers/bedrock/behavior_packs/vanilla/entities/rabbit.json
vendored
Normal file
321
servers/bedrock/behavior_packs/vanilla/entities/rabbit.json
vendored
Normal file
@ -0,0 +1,321 @@
|
||||
{
|
||||
"format_version": "1.13.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.75
|
||||
},
|
||||
"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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
457
servers/bedrock/behavior_packs/vanilla/entities/ravager.json
vendored
Normal file
457
servers/bedrock/behavior_packs/vanilla/entities/ravager.json
vendored
Normal file
@ -0,0 +1,457 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"reach_multiplier": 1.5,
|
||||
"attack_duration": 0.75,
|
||||
"hit_delay_pct": 0.5,
|
||||
"track_target": true,
|
||||
"sound_event": "attack.strong"
|
||||
},
|
||||
"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": {
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true,
|
||||
"priority": 3,
|
||||
"within_radius": 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: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",
|
||||
"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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
185
servers/bedrock/behavior_packs/vanilla/entities/salmon.json
vendored
Normal file
185
servers/bedrock/behavior_packs/vanilla/entities/salmon.json
vendored
Normal file
@ -0,0 +1,185 @@
|
||||
{
|
||||
"format_version": "1.13.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: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
|
||||
},
|
||||
|
||||
"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,
|
||||
"speed_multiplier": 0.014,
|
||||
"interval": 60
|
||||
},
|
||||
"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" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
419
servers/bedrock/behavior_packs/vanilla/entities/sheep.json
vendored
Normal file
419
servers/bedrock/behavior_packs/vanilla/entities/sheep.json
vendored
Normal file
@ -0,0 +1,419 @@
|
||||
{
|
||||
"format_version": "1.13.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: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,
|
||||
"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": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_adult",
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:rideable_wooly",
|
||||
"minecraft:loot_wooly"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:sheep_baby",
|
||||
"minecraft:sheep_dyeable",
|
||||
"minecraft:rideable_sheared"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
532
servers/bedrock/behavior_packs/vanilla/entities/shulker.json
vendored
Normal file
532
servers/bedrock/behavior_packs/vanilla/entities/shulker.json
vendored
Normal file
@ -0,0 +1,532 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"type": "ShulkerBullet",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
53
servers/bedrock/behavior_packs/vanilla/entities/shulker_bullet.json
vendored
Normal file
53
servers/bedrock/behavior_packs/vanilla/entities/shulker_bullet.json
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:shulker_bullet",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.625,
|
||||
"height": 0.625
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 4,
|
||||
"knockback": true,
|
||||
"should_bounce": true
|
||||
},
|
||||
"mob_effect": {
|
||||
"effect": "levitation",
|
||||
"durationeasy": 200,
|
||||
"durationnormal": 200,
|
||||
"durationhard": 200,
|
||||
"amplifier": 1
|
||||
},
|
||||
"remove_on_hit": {
|
||||
},
|
||||
"particle_on_hit": {
|
||||
"particle_type": "largeexplode",
|
||||
"on_other_hit": true
|
||||
}
|
||||
},
|
||||
"hit_sound": "bullet.hit",
|
||||
"destroyOnHurt": true,
|
||||
"crit_particle_on_hurt": true,
|
||||
"power": 1.6,
|
||||
"gravity": 0.05,
|
||||
"uncertainty_base": 16,
|
||||
"uncertainty_multiplier": 4,
|
||||
"anchor": 1,
|
||||
"offset": [ 0, -0.1, 0 ],
|
||||
"homing": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_collision": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
154
servers/bedrock/behavior_packs/vanilla/entities/silverfish.json
vendored
Normal file
154
servers/bedrock/behavior_packs/vanilla/entities/silverfish.json
vendored
Normal file
@ -0,0 +1,154 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"speed_multiplier": 1.0,
|
||||
"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:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.silverfish_merge_with_stone": {
|
||||
"priority": 5
|
||||
},
|
||||
"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": 8,
|
||||
"attack_interval": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
244
servers/bedrock/behavior_packs/vanilla/entities/skeleton.json
vendored
Normal file
244
servers/bedrock/behavior_packs/vanilla/entities/skeleton.json
vendored
Normal file
@ -0,0 +1,244 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"attack_interval_min": 1,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 15
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"type": "Arrow",
|
||||
"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,
|
||||
"target_dist": 1.2,
|
||||
"speed_multiplier": 1.25,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"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: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": {
|
||||
"type": "Arrow",
|
||||
"def": "minecraft:arrow"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"attack_interval_min": 1,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 15
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"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.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: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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
220
servers/bedrock/behavior_packs/vanilla/entities/skeleton_horse.json
vendored
Normal file
220
servers/bedrock/behavior_packs/vanilla/entities/skeleton_horse.json
vendored
Normal file
@ -0,0 +1,220 @@
|
||||
{
|
||||
"format_version": "1.13.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: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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
190
servers/bedrock/behavior_packs/vanilla/entities/slime.json
vendored
Normal file
190
servers/bedrock/behavior_packs/vanilla/entities/slime.json
vendored
Normal file
@ -0,0 +1,190 @@
|
||||
{
|
||||
"format_version": "1.13.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:behavior.slime_float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
47
servers/bedrock/behavior_packs/vanilla/entities/small_fireball.json
vendored
Normal file
47
servers/bedrock/behavior_packs/vanilla/entities/small_fireball.json
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:small_fireball",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.31,
|
||||
"height": 0.31
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 5,
|
||||
"knockback": false,
|
||||
"catch_fire": true,
|
||||
"semi_random_diff_damage": false
|
||||
},
|
||||
"catch_fire": {
|
||||
"fire_affected_by_griefing": true
|
||||
},
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 1.3,
|
||||
"gravity": 0.00,
|
||||
"inertia": 1,
|
||||
"liquid_inertia": 1,
|
||||
"anchor": 2,
|
||||
"offset": [ 0, 0.5, 0 ],
|
||||
"semi_random_diff_damage": true,
|
||||
"uncertainty_base": 10.0,
|
||||
"reflect_on_hurt": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
164
servers/bedrock/behavior_packs/vanilla/entities/snow_golem.json
vendored
Normal file
164
servers/bedrock/behavior_packs/vanilla/entities/snow_golem.json
vendored
Normal file
@ -0,0 +1,164 @@
|
||||
{
|
||||
"format_version": "1.13.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
|
||||
}
|
||||
],
|
||||
"must_reach": true
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
servers/bedrock/behavior_packs/vanilla/entities/snowball.json
vendored
Normal file
42
servers/bedrock/behavior_packs/vanilla/entities/snowball.json
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"format_version": "1.12.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
|
||||
}
|
||||
},
|
||||
"power": 1.5,
|
||||
"gravity": 0.03,
|
||||
"angle_offset": 0.0
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
355
servers/bedrock/behavior_packs/vanilla/entities/spider.json
vendored
Normal file
355
servers/bedrock/behavior_packs/vanilla/entities/spider.json
vendored
Normal file
@ -0,0 +1,355 @@
|
||||
{
|
||||
"format_version": "1.13.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,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"attack_interval": 5,
|
||||
"must_see": true
|
||||
}
|
||||
},
|
||||
|
||||
"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,
|
||||
"speed_multiplier": 1.0,
|
||||
"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: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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
35
servers/bedrock/behavior_packs/vanilla/entities/splash_potion.json
vendored
Normal file
35
servers/bedrock/behavior_packs/vanilla/entities/splash_potion.json
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:splash_potion",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"douse_fire": { },
|
||||
"thrown_potion_effect": { },
|
||||
"remove_on_hit": { }
|
||||
},
|
||||
"power": 0.5,
|
||||
"gravity": 0.05,
|
||||
"angle_offset": -20.0,
|
||||
"hit_sound": "glass"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
124
servers/bedrock/behavior_packs/vanilla/entities/squid.json
vendored
Normal file
124
servers/bedrock/behavior_packs/vanilla/entities/squid.json
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
{
|
||||
"format_version": "1.13.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:balloonable": {
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
257
servers/bedrock/behavior_packs/vanilla/entities/stray.json
vendored
Normal file
257
servers/bedrock/behavior_packs/vanilla/entities/stray.json
vendored
Normal file
@ -0,0 +1,257 @@
|
||||
{
|
||||
"format_version": "1.13.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": {
|
||||
"attack_interval_min": 1,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 15
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"type": "Arrow",
|
||||
"def": "minecraft:arrow",
|
||||
"aux_val": 19
|
||||
},
|
||||
"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,
|
||||
"target_dist": 1.2,
|
||||
"speed_multiplier": 1.25,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3,
|
||||
"effect_name": "slowness",
|
||||
"effect_duration": 10
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": { "test": "in_water", "subject": "self", "operator": "==", "value": false },
|
||||
"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: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": {
|
||||
"type": "Arrow",
|
||||
"def": "minecraft:arrow",
|
||||
"aux_val": 19
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": { "test": "is_underwater", "subject": "self", "operator": "==", "value": true },
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"attack_interval_min": 1,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 15
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"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.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: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" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
49
servers/bedrock/behavior_packs/vanilla/entities/thrown_trident.json
vendored
Normal file
49
servers/bedrock/behavior_packs/vanilla/entities/thrown_trident.json
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:thrown_trident",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.35
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 8,
|
||||
"knockback": true,
|
||||
"semi_random_diff_damage": false,
|
||||
"destroy_on_hit": false
|
||||
},
|
||||
"stick_in_ground": {
|
||||
"shake_time" : 0
|
||||
}
|
||||
},
|
||||
"liquid_inertia": 0.99,
|
||||
"hit_sound": "item.trident.hit",
|
||||
"hit_ground_sound": "item.trident.hit_ground",
|
||||
"power": 4,
|
||||
"gravity": 0.10,
|
||||
"uncertainty_base": 1,
|
||||
"uncertainty_multiplier": 0,
|
||||
"stop_on_hurt": true,
|
||||
"anchor": 1,
|
||||
"should_bounce": true,
|
||||
"multiple_targets": false,
|
||||
"offset": [ 0, -0.1, 0 ]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
58
servers/bedrock/behavior_packs/vanilla/entities/tnt.json
vendored
Normal file
58
servers/bedrock/behavior_packs/vanilla/entities/tnt.json
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:tnt",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"from_explosion": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": {
|
||||
"range_min": 0.5,
|
||||
"range_max": 2.0
|
||||
},
|
||||
"fuse_lit": true,
|
||||
"power": 4,
|
||||
"causes_fire": false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "tnt", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.98
|
||||
},
|
||||
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 4,
|
||||
"fuse_lit": true,
|
||||
"power": 4,
|
||||
"causes_fire": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"from_explosion": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"from_explosion"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
169
servers/bedrock/behavior_packs/vanilla/entities/tnt_minecart.json
vendored
Normal file
169
servers/bedrock/behavior_packs/vanilla/entities/tnt_minecart.json
vendored
Normal file
@ -0,0 +1,169 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:tnt_minecart",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:primed_tnt": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 4,
|
||||
"fuse_lit": true,
|
||||
"power": 3,
|
||||
"causes_fire": false
|
||||
},
|
||||
"minecraft:rail_sensor": {
|
||||
|
||||
|
||||
},
|
||||
"minecraft:is_ignited": {
|
||||
}
|
||||
},
|
||||
"minecraft:instant_explode_tnt": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 0,
|
||||
"fuse_lit": true,
|
||||
"power": 3,
|
||||
"causes_fire": false
|
||||
},
|
||||
"minecraft:rail_sensor": {
|
||||
|
||||
|
||||
},
|
||||
"minecraft:is_ignited": {
|
||||
}
|
||||
},
|
||||
"minecraft:inactive": {
|
||||
"minecraft:rail_sensor": {
|
||||
"on_activate": {
|
||||
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_game_rule",
|
||||
"domain": "tntexplodes",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_prime"
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{"test": "has_equipment", "subject": "other", "domain": "hand", "value": "fireball:0"},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"subject": "other",
|
||||
"domain": "hand",
|
||||
"value": "flint_and_steel"
|
||||
}
|
||||
],
|
||||
"all_of": [
|
||||
{"test": "is_family", "subject": "other", "value": "player"},
|
||||
{"test": "is_game_rule", "domain": "tntexplodes", "operator": "==", "value": true}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_prime",
|
||||
"target": "self"
|
||||
},
|
||||
"swing": true,
|
||||
"play_sounds": "ignite",
|
||||
"interact_text": "action.interact.creeper"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"value": "fire_aspect"
|
||||
}
|
||||
],
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_game_rule",
|
||||
"domain": "tntexplodes",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_prime",
|
||||
"target": "self"
|
||||
},
|
||||
"swing": true,
|
||||
"interact_text": "action.interact.creeper"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "minecart", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.98,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:rail_movement": {
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:inactive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_prime": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:inactive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:primed_tnt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_instant_prime": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:inactive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:instant_explode_tnt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
39
servers/bedrock/behavior_packs/vanilla/entities/tripod_camera.json
vendored
Normal file
39
servers/bedrock/behavior_packs/vanilla/entities/tripod_camera.json
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:tripod_camera",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "tripodcamera", "inanimate", "mob" ]
|
||||
},
|
||||
"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:loot": {
|
||||
"table": "loot_tables/empty.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.75,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1035
servers/bedrock/behavior_packs/vanilla/entities/tropicalfish.json
vendored
Normal file
1035
servers/bedrock/behavior_packs/vanilla/entities/tropicalfish.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user