Add minecraft bedrock server

This commit is contained in:
2024-09-09 13:28:08 -03:00
parent 54e5f3000c
commit 236b4b2960
4640 changed files with 688839 additions and 66 deletions

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "attack",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:attack": {
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View File

@ -0,0 +1,19 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "break_nearby_block",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:find_block": {
}
},
{
"minecraft:break_block": {
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "interact",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:interact": {
}
}
]
}
}
}
}

View File

@ -0,0 +1,19 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "interact_with_at",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:look_at": {
}
},
{
"minecraft:interact": {
}
}
]
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "look_at_entity",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:look_at_entity": {
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View File

@ -0,0 +1,19 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "place_block_at",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:look_at": {
}
},
{
"minecraft:place_block": {
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "use_entity",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:use_entity": {
}
}
]
}
}
}
}

View File

@ -0,0 +1,16 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "wait_one_second",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:wait": {
"wait_duration": 1
}
}
]
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "wait_seconds",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:wait": {
}
}
]
}
}
}
}

View File

@ -0,0 +1,15 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "wait_ticks",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:wait_ticks": {
}
}
]
}
}
}
}

View File

@ -0,0 +1,16 @@
{
"minecraft:behavior_tree": {
"minecraft:name": "wait_two_seconds",
"minecraft:root": {
"minecraft:sequence": {
"children": [
{
"minecraft:wait": {
"wait_duration": 2
}
}
]
}
}
}
}

View 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
}
}
]
}
}
}
}