mirror of
https://github.com/guilhermewerner/tcc
synced 2025-06-16 23:15:08 +00:00
Add minecraft bedrock server
This commit is contained in:
287
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/boat.json
vendored
Normal file
287
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/boat.json
vendored
Normal file
@ -0,0 +1,287 @@
|
||||
{
|
||||
"format_version": "1.19.80",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:floating": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_down": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:sink",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_up": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 60.0,
|
||||
"max_dropped_ticks": 20,
|
||||
"use_motion_prediction_hints": true
|
||||
},
|
||||
"conditional_values": [
|
||||
{
|
||||
"max_optimized_distance": 0.0,
|
||||
"max_dropped_ticks": 0,
|
||||
"use_motion_prediction_hints": true,
|
||||
"conditional_values": [
|
||||
{
|
||||
"test": "is_moving",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:inside_block_notifier": {
|
||||
"block_list": [
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": true
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_down",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": false
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_up",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entered_bubble_column_down": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entered_bubble_column_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_bubble_column": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:sink": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride",
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
262
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/chest_boat.json
vendored
Normal file
262
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/chest_boat.json
vendored
Normal file
@ -0,0 +1,262 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:chest_boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:floating": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_down": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:sink",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_up": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"container_type": "chest_boat",
|
||||
"inventory_size": 27,
|
||||
"can_be_siphoned_from": true
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 60.0,
|
||||
"max_dropped_ticks": 20,
|
||||
"use_motion_prediction_hints": true
|
||||
},
|
||||
"conditional_values": [
|
||||
{
|
||||
"max_optimized_distance": 0.0,
|
||||
"max_dropped_ticks": 0,
|
||||
"use_motion_prediction_hints": true,
|
||||
"conditional_values": [
|
||||
{
|
||||
"test": "is_moving",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:inside_block_notifier": {
|
||||
"block_list": [
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": true
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_down",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": false
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_up",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entered_bubble_column_down": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entered_bubble_column_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_bubble_column": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:sink": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride",
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
696
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/panda.json
vendored
Normal file
696
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/panda.json
vendored
Normal file
@ -0,0 +1,696 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:panda",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:panda_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "bamboo",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.0016
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 13,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.0001666,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/panda.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"blend_attributes": false,
|
||||
"environment_requirements": {
|
||||
"blocks": "bamboo",
|
||||
"count": 8,
|
||||
"radius": 5
|
||||
},
|
||||
"breed_items": "bamboo",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:panda",
|
||||
"baby_type": "minecraft:panda",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"mutation_factor": {
|
||||
"variant": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"attack_once": true,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:panda_lazy": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.lay_down": {
|
||||
"priority": 5,
|
||||
"interval": 400,
|
||||
"random_stop_interval": 2000
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 6,
|
||||
"start_chance": 0.02,
|
||||
"stop_chance": 0.2,
|
||||
"cooldown": 25,
|
||||
"min_sit_time": 15
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 3,
|
||||
"snacking_cooldown": 17.5,
|
||||
"snacking_cooldown_min": 10,
|
||||
"snacking_stop_chance": 0.0011,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
// Lazy panda's move half the speed, so double their multiplier when they panic
|
||||
// Otherwise, they don't actually look like they're panicking
|
||||
"speed_multiplier": 2.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.07
|
||||
}
|
||||
},
|
||||
"minecraft:panda_worried": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:behavior.scared": {
|
||||
"priority": 1,
|
||||
"sound_interval": 20
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"max_dist": 16,
|
||||
"max_flee": 20,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"operator": "!=",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
"max_dist": 16,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_playful": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.013
|
||||
}
|
||||
},
|
||||
"minecraft:panda_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:panda_weak": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
}
|
||||
},
|
||||
"minecraft:panda_sneezing": {
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.002,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_aggressive": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "panda" , "panda_aggressive", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
// Aggressive pandas don't panic from mob damage
|
||||
"ignore_mob_damage": true
|
||||
}
|
||||
},
|
||||
"minecraft:panda_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
}
|
||||
},
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"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.3,
|
||||
"height": 1.25
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 5,
|
||||
"start_chance": 0.01,
|
||||
"stop_chance": 0.3,
|
||||
"cooldown": 30,
|
||||
"min_sit_time": 10
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 2,
|
||||
"snacking_cooldown": 22.5,
|
||||
"snacking_cooldown_min": 20,
|
||||
"snacking_stop_chance": 0.001334,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"bamboo"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 14,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"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:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
305
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/polar_bear.json
vendored
Normal file
305
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/polar_bear.json
vendored
Normal file
@ -0,0 +1,305 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:polar_bear",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/polar_bear.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "fox"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": false
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_hostile": {
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": false,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.stomp_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"stomp_range_multiplier": 2.0,
|
||||
"no_damage_range_multiplier": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"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.4,
|
||||
"height": 1.4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
321
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/witch.json
vendored
Normal file
321
servers/bedrock/behavior_packs/vanilla_1.19.80/entities/witch.json
vendored
Normal file
@ -0,0 +1,321 @@
|
||||
{
|
||||
"format_version": "1.19.60",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:witch",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.2,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:damage_sensor": { },
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/witch.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 26,
|
||||
"max": 26
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": false
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"attack_interval_min": 3,
|
||||
"attack_interval_max": 3,
|
||||
"attack_radius": 10.0
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"power" : 0.75,
|
||||
"def": "minecraft:splash_potion",
|
||||
"aux_val" : 23, // harming
|
||||
"sound" : "throw",
|
||||
"projectiles" : [
|
||||
{
|
||||
"def" : "minecraft:splash_potion",
|
||||
"aux_val" : 17, // slowness
|
||||
"filters" : {
|
||||
"all_of" : [
|
||||
{ "test" : "target_distance", "subject" : "self", "value" : 8.0, "operator" : ">="},
|
||||
{
|
||||
"none_of":[
|
||||
{ "test": "has_mob_effect", "subject": "other", "value": "slowness" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"def" : "minecraft:splash_potion",
|
||||
"aux_val" : 25, // poison
|
||||
"filters" : {
|
||||
"all_of" : [
|
||||
{ "test" : "actor_health", "subject" : "other", "value" : 8, "operator" : ">="},
|
||||
{
|
||||
"none_of": [
|
||||
{ "test": "has_mob_effect", "subject": "other", "value": "poison" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"def" : "minecraft:splash_potion",
|
||||
"aux_val" : 34, // weakness
|
||||
"filters" : {
|
||||
"all_of" : [
|
||||
{ "test" : "target_distance", "subject" : "self", "value" : 3, "operator" : "<="},
|
||||
{
|
||||
"none_of":[
|
||||
{ "test": "has_mob_effect", "subject": "other", "value": "weakness" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"chance" : 0.25
|
||||
}
|
||||
],
|
||||
"magic" : true
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.drink_potion": {
|
||||
"priority": 1,
|
||||
"speed_modifier": -0.25,
|
||||
"potions": [
|
||||
{
|
||||
"id": 19, // Water breathing
|
||||
"chance": 0.15,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_underwater", "subject": "self", "value": true },
|
||||
{
|
||||
"none_of": [
|
||||
{ "test": "has_mob_effect", "subject": "self", "value": "water_breathing" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 12, // Fire resistance
|
||||
"chance": 0.15,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "on_fire", "subject": "self", "value": true },
|
||||
{ "test": "on_hot_block", "subject": "self", "value": true },
|
||||
{ "test": "taking_fire_damage", "subject": "self", "value": true }
|
||||
]
|
||||
},
|
||||
{
|
||||
"none_of": [
|
||||
{ "test": "has_mob_effect", "subject": "self", "value": "fire_resistance" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 21, // Healing
|
||||
"chance": 0.05,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_missing_health", "subject": "self", "value": true }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 14, // Swiftness
|
||||
"chance": 0.25,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_target", "subject": "self", "value": true },
|
||||
{
|
||||
"none_of": [
|
||||
{ "test": "has_mob_effect", "subject": "self", "value": "speed" }
|
||||
]
|
||||
},
|
||||
{ "test": "target_distance", "subject": "self", "value": 11.0, "operator": ">=" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "snowgolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "witch", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"sequence": [
|
||||
{
|
||||
"add": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
{
|
||||
"filters": { "test": "has_nametag", "value": false },
|
||||
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
},
|
||||
"minecraft:raid_expired": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": { "test": "has_nametag", "value": false },
|
||||
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user