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:
319
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/evocation_illager.json
vendored
Normal file
319
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/evocation_illager.json
vendored
Normal file
@ -0,0 +1,319 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:evocation_illager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
},
|
||||
"minecraft:raid_despawn": {
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"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
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_despawn",
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
143
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/fish.json
vendored
Normal file
143
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/fish.json
vendored
Normal file
@ -0,0 +1,143 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cod",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cod", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.3
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/fish.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:navigation.generic": { // Allows the mob to go through water
|
||||
"is_amphibious": false,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": false,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
"sway_amplitude": 0.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.swim_idle": {
|
||||
"priority": 5,
|
||||
"idle_time": 5.0,
|
||||
"success_rate": 0.1
|
||||
},
|
||||
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"xz_dist": 16,
|
||||
"y_dist": 4,
|
||||
"interval": 0
|
||||
},
|
||||
"minecraft:behavior.swim_wander": {
|
||||
"priority": 4,
|
||||
"interval": 0.1,
|
||||
"look_ahead": 2.0,
|
||||
"speed_multiplier": 1.0,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "axolotl"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 6,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": true,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 3.0,
|
||||
"breach_influence": 7.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 0.95,
|
||||
"cohesion_weight": 2.0,
|
||||
"cohesion_threshold": 1.95,
|
||||
"innner_cohesion_threshold": 1.25,
|
||||
"min_height": 1.5,
|
||||
"max_height": 6.0,
|
||||
"block_distance": 2.0,
|
||||
"block_weight": 0.85
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
46
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/lingering_potion.json
vendored
Normal file
46
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/lingering_potion.json
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 5,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
722
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/llama.json
vendored
Normal file
722
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/llama.json
vendored
Normal file
@ -0,0 +1,722 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:llama",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:llama_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"growth": 0.1
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"growth": 0.9
|
||||
}
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/llama.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.87
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"inherit_tamed": false,
|
||||
"love_filters": { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1 }, // Wandering Trader Llamas can't fall in love
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:llama",
|
||||
"baby_type": "minecraft:llama",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "hay_block" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_wandering_trader": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:defend_wandering_trader",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
// If this is a Wandering Trader's llama and it was just released from its leash, make it tame
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_leashed", "subject": "self", "value": false },
|
||||
{ "test": "has_component", "subject": "self", "operator": "!=", "value" : "minecraft:is_tamed" }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_tame"
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strength_1": {
|
||||
"minecraft:strength": {
|
||||
"value": 1,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_2": {
|
||||
"minecraft:strength": {
|
||||
"value": 2,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_3": {
|
||||
"minecraft:strength": {
|
||||
"value": 3,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_4": {
|
||||
"minecraft:strength": {
|
||||
"value": 4,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
"minecraft:strength_5": {
|
||||
"minecraft:strength": {
|
||||
"value": 5,
|
||||
"max": 5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_creamy": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:llama_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:llama_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:llama_gray": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:llama_wild": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.mount",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.17, -0.3 ]
|
||||
}
|
||||
|
||||
},
|
||||
"minecraft:tamemount": {
|
||||
"min_temper": 0,
|
||||
"max_temper": 30,
|
||||
"feed_text": "action.interact.feed",
|
||||
"ride_text": "action.interact.mount",
|
||||
"feed_items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"temper_mod": 3
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"temper_mod": 6
|
||||
}
|
||||
],
|
||||
"auto_reject_items": [
|
||||
{
|
||||
"item": "horsearmorleather"
|
||||
},
|
||||
{
|
||||
"item": "horsearmoriron"
|
||||
},
|
||||
{
|
||||
"item": "horsearmorgold"
|
||||
},
|
||||
{
|
||||
"item": "horsearmordiamond"
|
||||
},
|
||||
{
|
||||
"item": "saddle"
|
||||
}
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"minecraft:llama_tamed": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.17, -0.3 ]
|
||||
}
|
||||
|
||||
},
|
||||
"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:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "llama", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:mark_variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": {
|
||||
"range_min": 15,
|
||||
"range_max": 30
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"can_be_stolen": true
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "wheat",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "hay_block",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:llama_spit"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.run_around_like_crazy": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.follow_caravan": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 2.1,
|
||||
"entity_count": 10,
|
||||
"entity_types": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "llama"}
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1,
|
||||
"hurt_owner": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"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,
|
||||
"trigger": "minecraft:spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"trigger": "minecraft:spawn_baby"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:from_wandering_trader": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_adult",
|
||||
"minecraft:llama_wandering_trader"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"trigger": "minecraft:add_attributes"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:add_attributes": {
|
||||
"sequence": [
|
||||
{
|
||||
"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:spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_baby"
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:add_attributes"
|
||||
},
|
||||
|
||||
"minecraft:spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:llama_adult",
|
||||
"minecraft:llama_wild"
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:add_attributes"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
203
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/magma_cube.json
vendored
Normal file
203
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/magma_cube.json
vendored
Normal file
@ -0,0 +1,203 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:magma_cube",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 2.08,
|
||||
"height": 2.08
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.75
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/magma_cube.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_medium": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.04,
|
||||
"height": 1.02
|
||||
},
|
||||
"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:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? query.variant : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "magmacube", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_lava": true
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:burns_in_daylight": false,
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 2.0, 6.0 ]
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggressive",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.slime_float": {
|
||||
"priority": 1,
|
||||
"jump_chance_percentage": 0.8,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4,
|
||||
"add_random_time_range": 3,
|
||||
"turn_range": 360,
|
||||
"min_change_direction_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
506
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/pillager.json
vendored
Normal file
506
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/pillager.json
vendored
Normal file
@ -0,0 +1,506 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pillager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ranged_attack": {
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 4,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 1.0,
|
||||
"attack_radius": 8.0
|
||||
},
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:arrow"
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "is_underwater",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "minecraft:melee_mode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:melee_attack": {
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_water",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "minecraft:ranged_mode"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pillager_raid.json"
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
},
|
||||
"minecraft:illager_squad_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.hold_ground": {
|
||||
"priority": 5,
|
||||
"min_radius": 10,
|
||||
"broadcast": true,
|
||||
"broadcast_range": 8,
|
||||
"within_radius_event": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_random_block": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.55,
|
||||
"within_radius": 8,
|
||||
"block_distance": 512
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_follower": {
|
||||
"minecraft:behavior.follow_target_captain": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.8,
|
||||
"within_radius": 64,
|
||||
"follow_distance": 5
|
||||
},
|
||||
"minecraft:behavior.hold_ground": {
|
||||
"priority": 6,
|
||||
"min_radius": 10,
|
||||
"broadcast": true,
|
||||
"broadcast_range": 8,
|
||||
"within_radius_event": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_hurt": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_hurt_by_player": {
|
||||
"event": "minecraft:ranged_mode",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft: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:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pillager", "monster", "illager", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 24,
|
||||
"max": 24
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pillager.json"
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:banner:15",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/pillager_gear.json"
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "illager"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "wandering_trader"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "villager"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 7,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 8
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.charge_held_item": {
|
||||
"priority": 3,
|
||||
"items": [
|
||||
"minecraft:arrow"
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack",
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_patrol_follower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_attack",
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_patrol_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:melee_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:melee_attack" ] }
|
||||
},
|
||||
"minecraft:ranged_mode": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
|
||||
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:calm": {
|
||||
"remove": { "component_groups": [ "minecraft:melee_attack", "minecraft:ranged_attack" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
321
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/pufferfish.json
vendored
Normal file
321
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/pufferfish.json
vendored
Normal file
@ -0,0 +1,321 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pufferfish",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:normal_puff": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.5,
|
||||
"relative_range": false,
|
||||
"minimum_count": 1,
|
||||
"event_filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:start_half_puff"
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_primary": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_half_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:half_puff_secondary": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.5,
|
||||
"relative_range": false,
|
||||
"minimum_count": 1,
|
||||
"event_filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:start_full_puff"
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_normal_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:full_puff": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:area_attack" : {
|
||||
"damage_range": 0.2,
|
||||
"damage_per_tick": 2,
|
||||
"cause": "contact",
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "monster" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:mob_effect": {
|
||||
"effect_range": 0.2,
|
||||
"mob_effect": "poison",
|
||||
"effect_time": 10,
|
||||
"entity_filter": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "monster" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:deflate_sensor_buffer": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 0.01,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_full_puff"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:deflate_sensor": {
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.9,
|
||||
"relative_range": false,
|
||||
"require_all": true,
|
||||
"event_filters": {
|
||||
"none_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "none_of":
|
||||
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
|
||||
}
|
||||
]}
|
||||
],
|
||||
"test": "distance_to_nearest_player", "operator": ">", "value": 2.9
|
||||
},
|
||||
"event": "minecraft:from_full_puff"
|
||||
}
|
||||
},
|
||||
"minecraft:start_deflate": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"randomInterval": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:on_deflate"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pufferfish", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.8,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pufferfish.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.2
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.13
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.13
|
||||
},
|
||||
"minecraft:navigation.generic": { // Allows the mob to go through water
|
||||
"is_amphibious": false,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": false,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
"sway_amplitude": 0.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"xz_dist": 16,
|
||||
"y_dist": 4,
|
||||
"interval": 0
|
||||
},
|
||||
"minecraft:behavior.swim_wander": {
|
||||
"priority": 5,
|
||||
"interval": 1.0,
|
||||
"look_ahead": 2.0,
|
||||
"speed_multiplier": 1.0,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "axolotl"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 6,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": true,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 3.0,
|
||||
"breach_influence": 7.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 0.95,
|
||||
"cohesion_weight": 2.0,
|
||||
"cohesion_threshold": 1.95,
|
||||
"innner_cohesion_threshold": 1.25,
|
||||
"min_height": 1.5,
|
||||
"max_height": 6.0,
|
||||
"block_distance": 2.0,
|
||||
"block_weight": 0.85
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:normal_puff" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:to_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
|
||||
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_half_puff": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_primary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_half_puff": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_primary" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:deflate_sensor" ] },
|
||||
"remove": { "component_groups": [ "minecraft:deflate_sensor_buffer" ] }
|
||||
},
|
||||
|
||||
"minecraft:from_full_puff": {
|
||||
"add": { "component_groups": [ "minecraft:start_deflate" ] },
|
||||
"remove": { "component_groups": [ "minecraft:deflate_sensor" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_deflate": {
|
||||
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
|
||||
"remove": { "component_groups": [ "minecraft:full_puff", "minecraft:start_deflate" ] }
|
||||
},
|
||||
|
||||
"minecraft:on_normal_puff": {
|
||||
"add": { "component_groups": [ "minecraft:normal_puff" ] },
|
||||
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
492
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/ravager.json
vendored
Normal file
492
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/ravager.json
vendored
Normal file
@ -0,0 +1,492 @@
|
||||
{
|
||||
"format_version": "1.17.20",
|
||||
"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:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
},
|
||||
"minecraft:hostile": {
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:behavior.delayed_attack": {
|
||||
"priority": 4,
|
||||
"attack_once": false,
|
||||
"track_target": true,
|
||||
"require_complete_path": false,
|
||||
"random_stop_interval": 0,
|
||||
"reach_multiplier": 1.5,
|
||||
"speed_multiplier": 1.0,
|
||||
"attack_duration": 0.75,
|
||||
"hit_delay_pct": 0.5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.4
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6,
|
||||
"angle_of_view_horizontal": 45,
|
||||
"probability": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_entity": {
|
||||
"priority": 10,
|
||||
"look_distance": 8,
|
||||
"angle_of_view_horizontal": 45,
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "mob"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "illager"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"must_see": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "villager"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
"stunned": {
|
||||
"minecraft:is_stunned": {
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 2,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:start_roar"
|
||||
}
|
||||
}
|
||||
},
|
||||
"roaring": {
|
||||
"minecraft:behavior.knockback_roar": {
|
||||
"priority": 1,
|
||||
"duration": 1,
|
||||
"attack_time": 0.5,
|
||||
"knockback_damage": 6,
|
||||
"knockback_horizontal_strength": 3,
|
||||
"knockback_vertical_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:is_hidden_when_invisible": {
|
||||
},
|
||||
"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:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:break_blocks": {
|
||||
"breakable_blocks": [
|
||||
"bamboo",
|
||||
"bamboo_sapling",
|
||||
"beetroot",
|
||||
"brown_mushroom",
|
||||
"carrots",
|
||||
"carved_pumpkin",
|
||||
"chorus_flower",
|
||||
"chorus_plant",
|
||||
"deadbush",
|
||||
"double_plant",
|
||||
"leaves",
|
||||
"leaves2",
|
||||
"lit_pumpkin",
|
||||
"melon_block",
|
||||
"melon_stem",
|
||||
"potatoes",
|
||||
"pumpkin",
|
||||
"pumpkin_stem",
|
||||
"red_flower",
|
||||
"red_mushroom",
|
||||
"crimson_fungus",
|
||||
"warped_fungus",
|
||||
"reeds",
|
||||
"sapling",
|
||||
"snow_layer",
|
||||
"sweet_berry_bush",
|
||||
"tallgrass",
|
||||
"turtle_egg",
|
||||
"vine",
|
||||
"waterlily",
|
||||
"wheat",
|
||||
"yellow_flower"
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"pillager",
|
||||
"vindicator",
|
||||
"evocation_illager"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 2.1, -0.3 ]
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [
|
||||
"monster",
|
||||
"illager",
|
||||
"ravager",
|
||||
"mob"
|
||||
]
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid_with_evoker_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:evoker_rider_for_raid",
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid_with_pillager_rider": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hostile",
|
||||
"minecraft:pillager_rider_for_raid",
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
204
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/salmon.json
vendored
Normal file
204
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/salmon.json
vendored
Normal file
@ -0,0 +1,204 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:salmon",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"scale_small": {
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_normal.json"
|
||||
}
|
||||
},
|
||||
"scale_normal": {
|
||||
"minecraft:scale": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_normal.json"
|
||||
}
|
||||
},
|
||||
|
||||
"scale_large": {
|
||||
"minecraft:scale": {
|
||||
"value": 1.5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/salmon_large.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "salmon", "fish" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.12
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.12
|
||||
},
|
||||
"minecraft:navigation.generic": { // Allows the mob to go through water
|
||||
"is_amphibious": false,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": false,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.sway": {
|
||||
"sway_amplitude": 0.0
|
||||
},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {
|
||||
"min_distance": 32,
|
||||
"max_distance": 40
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 1,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family", "subject": "other", "value": "axolotl"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 3,
|
||||
"max_flee": 10,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.swim_idle": {
|
||||
"priority": 5,
|
||||
"idle_time": 5.0,
|
||||
"success_rate": 0.1
|
||||
},
|
||||
|
||||
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
|
||||
"speed_multiplier": 1.0,
|
||||
"priority": 3,
|
||||
"xz_dist": 16,
|
||||
"y_dist": 4,
|
||||
"interval": 0
|
||||
},
|
||||
|
||||
"minecraft:behavior.swim_wander": {
|
||||
"priority": 4,
|
||||
"interval": 0.0166,
|
||||
"look_ahead": 5.0,
|
||||
"speed_multiplier": 0.014,
|
||||
"wander_time": 5.0
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": true,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": false,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 3.0,
|
||||
"breach_influence": 7.0,
|
||||
"separation_weight": 0.65,
|
||||
"separation_threshold": 0.15,
|
||||
"cohesion_weight": 2.25,
|
||||
"cohesion_threshold": 1.5,
|
||||
"innner_cohesion_threshold": 1.5,
|
||||
"min_height": 4.0,
|
||||
"max_height": 4.0,
|
||||
"block_distance": 1.0,
|
||||
"block_weight": 0.75
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"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" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
198
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/slime.json
vendored
Normal file
198
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/slime.json
vendored
Normal file
@ -0,0 +1,198 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:slime",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 2.08,
|
||||
"height": 2.08
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 16,
|
||||
"max": 16
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_medium": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.04,
|
||||
"height": 1.04
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_small": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.52,
|
||||
"height": 0.52
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 1,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/slime.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:slime_calm": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.5, 1.5 ]
|
||||
}
|
||||
},
|
||||
"minecraft:slime_aggressive": {
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.16, 0.5 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? query.variant : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "slime", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement.jump": {
|
||||
"jump_delay": [ 0.5, 1.5 ]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggressive",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:become_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.slime_float": {
|
||||
"priority": 1,
|
||||
"jump_chance_percentage": 0.8,
|
||||
"speed_multiplier": 1.2
|
||||
},
|
||||
"minecraft:behavior.slime_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.slime_random_direction": {
|
||||
"priority": 4,
|
||||
"add_random_time_range": 3,
|
||||
"turn_range": 360,
|
||||
"min_change_direction_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.slime_keep_on_jumping": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/splash_potion.json
vendored
Normal file
42
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/splash_potion.json
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 5,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
65
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/tnt.json
vendored
Normal file
65
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/tnt.json
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 5,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"from_explosion": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"from_explosion"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1053
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/tropicalfish.json
vendored
Normal file
1053
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/tropicalfish.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
446
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/vindicator.json
vendored
Normal file
446
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/vindicator.json
vendored
Normal file
@ -0,0 +1,446 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:vindicator",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_aggro": {
|
||||
"minecraft:angry": {
|
||||
"duration": -1,
|
||||
"broadcast_anger": false,
|
||||
"calm_event": {
|
||||
"event": "minecraft:stop_aggro",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:vindicator_johnny": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 40.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:default_targeting": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 40.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
|
||||
]
|
||||
},
|
||||
"max_dist": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/vindicator_raid.json"
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_break_doors": true
|
||||
},
|
||||
"minecraft:annotation.break_door": {
|
||||
"break_time": 30,
|
||||
"min_difficulty": "normal"
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
},
|
||||
"minecraft:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
},
|
||||
"minecraft:raid_despawn": {
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
}
|
||||
},
|
||||
"minecraft:illager_squad_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_captain": {
|
||||
"minecraft:is_illager_captain": {
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_captain_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.armor.chest",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_damage",
|
||||
"value": "fatal"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:gain_bad_omen",
|
||||
"target": "other"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_random_block": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.55,
|
||||
"within_radius": 8,
|
||||
"block_distance": 512
|
||||
}
|
||||
},
|
||||
"minecraft:patrol_follower": {
|
||||
"minecraft:behavior.follow_target_captain": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.8,
|
||||
"within_radius": 64,
|
||||
"follow_distance": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft: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:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"default_trigger": {
|
||||
"event": "minecraft:stop_johnny",
|
||||
"target": "self"
|
||||
},
|
||||
"name_actions": [
|
||||
{
|
||||
"name_filter": "Johnny",
|
||||
"on_named": {
|
||||
"event": "minecraft:start_johnny",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// vindicator Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "vindicator", "monster", "illager", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 24,
|
||||
"max": 24
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 8
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.35
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/vindication_illager.json"
|
||||
},
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/vindicator_gear.json"
|
||||
},
|
||||
|
||||
// vindicator Behaviors
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 10,
|
||||
"look_distance": 8,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_aggro",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:stop_aggro",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_patrol_follower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting",
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggro": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_aggro"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_aggro": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_aggro"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_johnny": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_johnny"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_johnny": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:vindicator_johnny"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_for_raid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:default_targeting",
|
||||
"minecraft:raid_configuration",
|
||||
"minecraft:raid_persistence",
|
||||
"minecraft:raid_despawn"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_as_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_illager_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:illager_squad_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:promote_to_patrol_captain": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_captain"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:patrol_follower"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
204
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/witch.json
vendored
Normal file
204
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/witch.json
vendored
Normal file
@ -0,0 +1,204 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:witch",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate": {
|
||||
"priority": 5,
|
||||
"celebration_sound": "celebrate",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"jump_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.5
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_configuration": {
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "hostile",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": false,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:behavior.move_to_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.2,
|
||||
"goal_radius": 2.0
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 2.0,
|
||||
"range": 4.0,
|
||||
"event_name": "ambient.in.raid"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:raid_persistence": {
|
||||
"minecraft:persistent": {}
|
||||
},
|
||||
"components": {
|
||||
"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:behavior.random_stroll": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 5,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "snowgolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"must_reach": true
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "witch", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/xp_bottle.json
vendored
Normal file
44
servers/bedrock/behavior_packs/vanilla_1.18.0/entities/xp_bottle.json
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:xp_bottle",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.25,
|
||||
"height": 0.25
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
"on_hit": {
|
||||
"grant_xp": {
|
||||
"minXP": 3,
|
||||
"maxXP": 11
|
||||
},
|
||||
"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
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 5,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user