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:
657
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/drowned.json
vendored
Normal file
657
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/drowned.json
vendored
Normal file
@ -0,0 +1,657 @@
|
||||
{
|
||||
"format_version": "1.17.20",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:drowned",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:baby_drowned": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.08
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_drowned": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/drowned.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mode_switcher": {
|
||||
"minecraft:target_nearby_sensor": {
|
||||
"inside_range": 3.0,
|
||||
"outside_range": 5.0,
|
||||
"on_inside_range": {
|
||||
"event": "minecraft:switch_to_melee",
|
||||
"target": "self"
|
||||
},
|
||||
"on_outside_range": {
|
||||
"event": "minecraft:switch_to_ranged",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ranged_mode": {
|
||||
"minecraft:shooter": {
|
||||
"def": "minecraft:thrown_trident"
|
||||
},
|
||||
"minecraft:behavior.ranged_attack": {
|
||||
"priority": 3,
|
||||
"attack_interval_min": 1.0,
|
||||
"attack_interval_max": 3.0,
|
||||
"attack_radius": 10.0,
|
||||
"swing": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ranged_equipment": {
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/drowned_ranged_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.weapon.offhand",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:melee_mode": {
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": false,
|
||||
"require_complete_path": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:melee_equipment": {
|
||||
"minecraft:equipment": {
|
||||
"table": "loot_tables/entities/drowned_equipment.json",
|
||||
"slot_drop_chance": [
|
||||
{
|
||||
"slot": "slot.weapon.offhand",
|
||||
"drop_chance": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:hunter_mode": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wander_mode": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:can_break_doors": {
|
||||
"minecraft:annotation.break_door": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
|
||||
// Zombie Components
|
||||
"minecraft:type_family": {
|
||||
"family": [ "drowned", "zombie", "undead", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:equip_item": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.06
|
||||
},
|
||||
"minecraft:movement.generic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.23
|
||||
},
|
||||
"minecraft:burns_in_daylight": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_break_doors": true,
|
||||
"can_swim": false,
|
||||
"can_walk": true,
|
||||
"avoid_sun": true
|
||||
},
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:nautilus_shell",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:trident",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:stone_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wooden_sword",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:turtle_helmet",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 6
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:0",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skull:1",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carved_pumpkin",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 7
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_chestplate",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_leggings",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
},
|
||||
{
|
||||
"item": "minecraft:netherite_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 0
|
||||
},
|
||||
{
|
||||
"item": "minecraft:diamond_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 1
|
||||
},
|
||||
{
|
||||
"item": "minecraft:iron_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:chainmail_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 3
|
||||
},
|
||||
{
|
||||
"item": "minecraft:golden_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 4
|
||||
},
|
||||
{
|
||||
"item": "minecraft:leather_boots",
|
||||
"want_amount": 1,
|
||||
"surplus_amount": 1,
|
||||
"priority": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.flee_sun": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.equip_item": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.stomp_turtle_egg": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"search_range": 10,
|
||||
"search_height": 2,
|
||||
"goal_radius": 1.14,
|
||||
"interval": 20
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 6,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"pickup_based_on_chance": true,
|
||||
"can_pickup_any_item": true,
|
||||
"excluded_items": [
|
||||
"minecraft:glow_ink_sac"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"reselect_targets": true,
|
||||
"must_see": true,
|
||||
"within_radius": 12.0,
|
||||
"must_see_forget_duration": 17.0,
|
||||
"persist_time": 0.5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "irongolem" },
|
||||
{ "test": "is_family", "subject": "other", "value": "axolotl" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{ "test": "is_daytime", "value": false }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "villager" },
|
||||
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{ "test": "is_daytime", "value": false }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 20,
|
||||
"must_see": false
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
|
||||
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
|
||||
]
|
||||
},
|
||||
"max_dist": 20
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:has_target",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:lost_target",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mode_switcher",
|
||||
"minecraft:ranged_equipment",
|
||||
"minecraft:ranged_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 85,
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_equipment",
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_equipment",
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:baby_drowned"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 10,
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:can_break_doors" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:as_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_equipment",
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:baby_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:as_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_equipment",
|
||||
"minecraft:melee_mode",
|
||||
"minecraft:adult_drowned"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:switch_to_melee": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:switch_to_ranged": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:melee_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ranged_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:has_target": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wander_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hunter_mode"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:lost_target": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hunter_mode"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wander_mode"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
209
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/player.json
vendored
Normal file
209
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/player.json
vendored
Normal file
@ -0,0 +1,209 @@
|
||||
{
|
||||
"format_version": "1.18.20",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:player",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:add_bad_omen": {
|
||||
"minecraft:spell_effects": {
|
||||
"add_effects": [
|
||||
{
|
||||
"effect": "bad_omen",
|
||||
"duration": 6000,
|
||||
"visible": false,
|
||||
"display_on_screen_animation": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"time": [ 0.0, 0.0 ],
|
||||
"looping": false,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:clear_add_bad_omen",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:clear_bad_omen_spell_effect": {
|
||||
"minecraft:spell_effects": {
|
||||
}
|
||||
},
|
||||
"minecraft:raid_trigger": {
|
||||
"minecraft:raid_trigger": {
|
||||
"triggered_event": {
|
||||
"event": "minecraft:remove_raid_trigger",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:spell_effects": {
|
||||
"remove_effects": "bad_omen"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "Math.Min(query.player_level * 7, 100)"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "player" ]
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/empty.json"
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.8
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
},
|
||||
"minecraft:exhaustion_values": {
|
||||
"heal": 6,
|
||||
"jump": 0.05,
|
||||
"sprint_jump": 0.2,
|
||||
"mine": 0.005,
|
||||
"attack": 0.1,
|
||||
"damage": 0.1,
|
||||
"walk": 0.0,
|
||||
"sprint": 0.1,
|
||||
"swim": 0.01
|
||||
},
|
||||
"minecraft:player.saturation": {
|
||||
"value": 5,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:player.exhaustion": {
|
||||
"value": 0,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:player.level": {
|
||||
"value": 0,
|
||||
"max": 24791
|
||||
},
|
||||
"minecraft:player.experience": {
|
||||
"value": 0,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": -1,
|
||||
"inhale_time": 3.75,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"always_show": true,
|
||||
"allow_name_tag_renaming": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:insomnia": {
|
||||
"days_until_insomnia": 3
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"family_types": [
|
||||
"parrot_tame"
|
||||
],
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 0,
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ -0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 1,
|
||||
"max_rider_count": 2,
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:block_climber": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_mob_effect",
|
||||
"subject": "self",
|
||||
"value": "bad_omen"
|
||||
},
|
||||
{
|
||||
"test": "is_in_village",
|
||||
"subject": "self",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:trigger_raid"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:gain_bad_omen": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:add_bad_omen"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:clear_add_bad_omen": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:add_bad_omen"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:clear_bad_omen_spell_effect"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:trigger_raid": {
|
||||
"add": {
|
||||
"component_groups": [ "minecraft:raid_trigger" ]
|
||||
}
|
||||
},
|
||||
"minecraft:remove_raid_trigger": {
|
||||
"remove": {
|
||||
"component_groups": [ "minecraft:raid_trigger" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
508
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/ravager.json
vendored
Normal file
508
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/ravager.json
vendored
Normal file
@ -0,0 +1,508 @@
|
||||
{
|
||||
"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": true,
|
||||
"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.4
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"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.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": 2.2,
|
||||
"width": 1.95
|
||||
},
|
||||
"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.75
|
||||
},
|
||||
"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",
|
||||
"azalea",
|
||||
"flowering_azalea",
|
||||
"azalea_leaves",
|
||||
"azalea_leaves_flowered",
|
||||
"cave_vines",
|
||||
"cave_vines_body_with_berries",
|
||||
"cave_vines_head_with_berries",
|
||||
"small_dripleaf_block",
|
||||
"big_dripleaf",
|
||||
"spore_blossom",
|
||||
"hanging_roots",
|
||||
"mangrove_leaves"
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"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" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2527
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/villager_v2.json
vendored
Normal file
2527
servers/bedrock/behavior_packs/vanilla_1.19.40/entities/villager_v2.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user