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:
450
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/axolotl.json
vendored
Normal file
450
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/axolotl.json
vendored
Normal file
@ -0,0 +1,450 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:axolotl",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"attack_cooldown": {
|
||||
"minecraft:attack_cooldown": {
|
||||
"attack_cooldown_time": 120.0,
|
||||
"attack_cooldown_complete_event": {
|
||||
"event": "attack_cooldown_complete_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"axolotl_lucy": {
|
||||
"minecraft:variant": { "value": 0 }
|
||||
},
|
||||
"axolotl_cyan": {
|
||||
"minecraft:variant": { "value": 1 }
|
||||
},
|
||||
"axolotl_gold": {
|
||||
"minecraft:variant": { "value": 2 }
|
||||
},
|
||||
"axolotl_wild": {
|
||||
"minecraft:variant": { "value": 3 }
|
||||
},
|
||||
"axolotl_blue": {
|
||||
"minecraft:variant": { "value": 4 }
|
||||
},
|
||||
|
||||
"axolotl_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "tropical_fish_bucket",
|
||||
"transform_to_item": "water_bucket:0",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
"axolotl_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "tropical_fish_bucket",
|
||||
"transform_to_item": "water_bucket:0",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:axolotl",
|
||||
"baby_type": "minecraft:axolotl",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"mutation_factor": {
|
||||
"variant": 0.00083 // roughly 1/1200
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"axolotl_in_water": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": { "test": "in_water", "operator": "!=", "value": true },
|
||||
"event": "start_drying_out"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"axolotl_dried": {
|
||||
"minecraft:damage_over_time": {
|
||||
"damage_per_hurt": 1,
|
||||
"time_between_hurt": 0
|
||||
}
|
||||
},
|
||||
"axolotl_on_land": {
|
||||
"minecraft:drying_out_timer": {
|
||||
"total_time": 300,
|
||||
"water_bottle_refill_time": 90,
|
||||
"dried_out_event": {
|
||||
"event": "dried_out"
|
||||
},
|
||||
"stopped_drying_out_event": {
|
||||
"event": "stop_drying_out"
|
||||
},
|
||||
"recover_after_dried_out_event": {
|
||||
"event": "recover_after_dried_out"
|
||||
}
|
||||
}
|
||||
},
|
||||
"axolotl_on_land_in_rain": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": { "test": "in_water_or_rain", "operator": "!=", "value": true },
|
||||
"event": "start_drying_out"
|
||||
},
|
||||
{
|
||||
"filters": { "test": "in_water", "operator": "==", "value": true },
|
||||
"event": "enter_water"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "axolotl", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.75,
|
||||
"height": 0.42
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true,
|
||||
"breathes_air": true,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "lightning",
|
||||
"deals_damage": true,
|
||||
"damage_multiplier": 2000.0
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_sink": false,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.amphibious": {
|
||||
"max_turn": 15.0
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
},
|
||||
"minecraft:combat_regeneration": {},
|
||||
|
||||
"minecraft:behavior.play_dead": {
|
||||
"priority": 0,
|
||||
"duration": 10,
|
||||
"force_below_health": 8,
|
||||
"random_start_chance": 0.33,
|
||||
"random_damage_range": [ 0, 2 ],
|
||||
"damage_sources": [
|
||||
"contact",
|
||||
"entity_attack",
|
||||
"entity_explosion",
|
||||
"magic",
|
||||
"projectile",
|
||||
"thorns",
|
||||
"wither"
|
||||
],
|
||||
"apply_regeneration": true,
|
||||
"filters": { "test": "in_water", "operator": "==", "value": true }
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.1,
|
||||
"can_tempt_vertically": true,
|
||||
"items": [
|
||||
"tropical_fish_bucket"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"must_see": true,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 20.0,
|
||||
"must_see_forget_duration": 17.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{ "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:attack_cooldown" },
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "squid" },
|
||||
{ "test": "is_family", "subject": "other", "value": "fish" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "in_water", "subject": "other", "value": true },
|
||||
{
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "drowned" },
|
||||
{ "test": "is_family", "subject": "other", "value": "guardian" },
|
||||
{ "test": "is_family", "subject": "other", "value": "guardian_elder" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"on_kill": {
|
||||
"event": "killed_enemy_event",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 6,
|
||||
"search_range": 16,
|
||||
"search_height": 5,
|
||||
"search_count": 1,
|
||||
"goal_radius": 0.1
|
||||
},
|
||||
"minecraft:behavior.swim_idle": {
|
||||
"priority": 7,
|
||||
"idle_time": 5.0,
|
||||
"success_rate": 0.05
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 8,
|
||||
"interval": 0,
|
||||
"xz_dist": 30,
|
||||
"y_dist": 15
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"interval": 100
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 10,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"axolotl_adult",
|
||||
"axolotl_in_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_cyan" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_gold" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_lucy" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 25,
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_wild" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"attack_cooldown_complete_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"killed_enemy_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"axolotl_adult"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"axolotl_baby",
|
||||
"axolotl_in_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:variant"
|
||||
},
|
||||
"add": { "component_groups": [ "axolotl_blue" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": { "component_groups": [ "axolotl_baby" ] },
|
||||
"add": { "component_groups": [ "axolotl_adult" ] }
|
||||
},
|
||||
|
||||
"stop_drying_out": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"axolotl_on_land",
|
||||
"axolotl_dried"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_on_land_in_rain" ]
|
||||
}
|
||||
},
|
||||
"start_drying_out": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"axolotl_on_land_in_rain",
|
||||
"axolotl_in_water"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_on_land" ]
|
||||
}
|
||||
},
|
||||
"dried_out": {
|
||||
"add": {
|
||||
"component_groups": [ "axolotl_dried" ]
|
||||
}
|
||||
},
|
||||
"recover_after_dried_out": {
|
||||
"remove": {
|
||||
"component_groups": [ "axolotl_dried" ]
|
||||
}
|
||||
},
|
||||
"enter_water": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"axolotl_on_land",
|
||||
"axolotl_on_land_in_rain",
|
||||
"axolotl_dried"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"axolotl_in_water"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
838
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/bee.json
vendored
Normal file
838
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/bee.json
vendored
Normal file
@ -0,0 +1,838 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bee",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"bee_baby": {
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering Azalea
|
||||
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 11, // This has to be lower priority than move to block goal so that bee seek shelter in rain instead of following parents
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
"bee_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:bee",
|
||||
"baby_type": "minecraft:bee",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering Azalea
|
||||
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
|
||||
]
|
||||
}
|
||||
},
|
||||
"track_attacker": {
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
}
|
||||
},
|
||||
"angry_bee": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcastAnger": true,
|
||||
"broadcastRange": 20,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "!=",
|
||||
"value": "pacified"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "calmed_down",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"attack_once": true,
|
||||
"speed_multiplier": 1.4,
|
||||
"on_attack": {
|
||||
"event": "countdown_to_perish_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"escape_fire": {
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"force": true
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [20,50],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "stop_panicking_after_fire",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"countdown_to_perish": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"force": true
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [10, 60],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "perish_event",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bee", "mob", "arthropod", "pacified" ]
|
||||
}
|
||||
},
|
||||
"perish": {
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"cause": "none",
|
||||
"damage_per_tick": 999
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"take_nearest_target": {
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": true,
|
||||
"time": 5,
|
||||
"time_down_event": {
|
||||
"event": "calmed_down",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"look_for_food": {
|
||||
"minecraft:behavior.move_to_block": {
|
||||
"priority": 10,
|
||||
"tick_interval": 1,
|
||||
"start_chance": 0.5,
|
||||
"search_range": 6,
|
||||
"search_height": 4,
|
||||
"goal_radius": 1.0,
|
||||
"stay_duration": 20.0,
|
||||
"target_selection_method": "random",
|
||||
"target_offset": [0, 0.25, 0],
|
||||
"target_blocks": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:8", // Sunflower top
|
||||
"minecraft:double_plant:9", // Lilac top
|
||||
"minecraft:double_plant:12", // Rose Bush top
|
||||
"minecraft:double_plant:13", // Peony top
|
||||
"minecraft:flowering_azalea", //Flowering azalea
|
||||
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
|
||||
],
|
||||
"on_stay_completed": [
|
||||
{
|
||||
"event": "collected_nectar",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": true,
|
||||
"time": 180,
|
||||
"time_down_event": {
|
||||
"event": "find_flower_timeout"
|
||||
}
|
||||
},
|
||||
"minecraft:ambient_sound_interval" :{
|
||||
"event_name" : "ambient.pollinate",
|
||||
"range" : 3.0,
|
||||
"value" : 2.0
|
||||
}
|
||||
},
|
||||
"has_nectar": {
|
||||
"minecraft:is_charged": {},
|
||||
"minecraft:grows_crop": {
|
||||
"charges": 10,
|
||||
"chance": 0.03
|
||||
}
|
||||
},
|
||||
"return_to_home": {
|
||||
"minecraft:behavior.go_home": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"interval": 1,
|
||||
"goal_radius": 1.2,
|
||||
"on_home": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of":[
|
||||
{ "test": "is_block", "subject": "block", "value": "minecraft:bee_nest" },
|
||||
{ "test": "is_block", "subject": "block", "value": "minecraft:beehive" }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:bee_returned_to_hive",
|
||||
"target": "block"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of":[
|
||||
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:bee_nest" },
|
||||
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:beehive" }
|
||||
]
|
||||
},
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
],
|
||||
"on_failed": {
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"find_hive": {
|
||||
"minecraft:behavior.move_to_block": {
|
||||
"priority": 10,
|
||||
"search_range": 16,
|
||||
"search_height": 10,
|
||||
"tick_interval": 1,
|
||||
"goal_radius": 0.633, // was tested with 0.4 when the goal radius wasn't squared. sqrt(0.4)~0.633
|
||||
"target_blocks": [
|
||||
"bee_nest",
|
||||
"beehive"
|
||||
],
|
||||
"on_reach": [
|
||||
{
|
||||
"event": "minecraft:bee_returned_to_hive",
|
||||
"target": "block"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 180,
|
||||
"time_down_event": {
|
||||
"event": "find_hive_timeout",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"hive_full": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": [5, 20],
|
||||
"randomInterval": true,
|
||||
"time_down_event": {
|
||||
"event": "find_hive_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"shelter_detection": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"event": "seek_shelter",
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "weather",
|
||||
"operator": "==",
|
||||
"value": "precipitation"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ // Assume we are already going home if we have nectar
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_charged",
|
||||
"operator": "!="
|
||||
},
|
||||
{ // Assume we are already going home if we have nectar
|
||||
"test": "has_biome_tag",
|
||||
"value": "overworld"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"abort_shelter_detection": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"event": "abort_sheltering",
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "weather",
|
||||
"operator": "==",
|
||||
"value": "clear"
|
||||
},
|
||||
{
|
||||
"test": "is_daytime",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"easy_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
}
|
||||
},
|
||||
"normal_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 10
|
||||
}
|
||||
},
|
||||
"hard_attack": {
|
||||
"minecraft:attack": {
|
||||
"damage": 2,
|
||||
"effect_name": "poison",
|
||||
"effect_duration": 18
|
||||
}
|
||||
},
|
||||
"default_sound" : {
|
||||
"minecraft:ambient_sound_interval" :{
|
||||
"event_name" : "ambient",
|
||||
"range" : 0.0,
|
||||
"value" : 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"within_radius": 8,
|
||||
"can_tempt_vertically": true,
|
||||
"items": [
|
||||
"minecraft:red_flower", // All small flowers except Dandelion
|
||||
"minecraft:yellow_flower", // Dandelion
|
||||
"minecraft:wither_rose",
|
||||
"minecraft:double_plant:0", // Sunflower
|
||||
"minecraft:double_plant:1", // Lilac
|
||||
"minecraft:double_plant:4", // Rose Bush
|
||||
"minecraft:double_plant:5", // Peony
|
||||
"minecraft:flowering_azalea", //Flowering azalea
|
||||
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_towards_home_restriction": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.random_hover": {
|
||||
"priority": 12,
|
||||
"xz_dist": 8,
|
||||
"y_dist": 8,
|
||||
"y_offset": -1,
|
||||
"interval": 1,
|
||||
"hover_height": [1, 4]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 19
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "bee", "mob", "arthropod" ]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "attacked",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"totalSupply": 15,
|
||||
"suffocateTime": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.55,
|
||||
"height": 0.5
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:home": {
|
||||
"restriction_radius": 22,
|
||||
"home_block_list": [
|
||||
"minecraft:bee_nest",
|
||||
"minecraft:beehive"
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 1024
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:flying_speed": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:navigation.hover": {
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false,
|
||||
"can_pass_doors": false,
|
||||
"can_path_from_air": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true,
|
||||
"avoid_sun": false
|
||||
},
|
||||
"minecraft:movement.hover": {},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:can_fly": {},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:block_sensor": {
|
||||
"sensor_radius": 16,
|
||||
"on_break": [
|
||||
{
|
||||
"block_list": [
|
||||
"minecraft:beehive", "minecraft:bee_nest"
|
||||
],
|
||||
"on_block_broken": "hive_destroyed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:physics": {},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"track_attacker",
|
||||
"shelter_detection",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_baby",
|
||||
"shelter_detection",
|
||||
"track_attacker",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"bee_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"bee_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_disturbed_hive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"abort_shelter_detection",
|
||||
"shelter_detection",
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
},
|
||||
"hive_destroyed": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "pacified"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"stop_panicking_after_fire" : {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_hive_on_fire": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"escape_fire"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_hive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food",
|
||||
"shelter_detection"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"abort_shelter_detection"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:hive_full": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attacked": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"angry_bee"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"take_nearest_target"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "easy"},
|
||||
"remove": {
|
||||
"component_groups": [ "normal_attack", "hard_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "easy_attack" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "normal"},
|
||||
"remove": {
|
||||
"component_groups": [ "easy_attack", "hard_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "normal_attack" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": { "test" : "is_difficulty", "value" : "hard"},
|
||||
"remove": {
|
||||
"component_groups": [ "easy_attack", "normal_attack" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "hard_attack" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"calmed_down": {
|
||||
"add" : {
|
||||
"component_groups": [
|
||||
"shelter_detection",
|
||||
"return_to_home"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_bee",
|
||||
"take_nearest_target"
|
||||
]
|
||||
}
|
||||
},
|
||||
"collected_nectar": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"has_nectar",
|
||||
"default_sound"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_timeout": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"value": "minecraft:is_charged"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"find_flower_timeout": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"return_to_home"
|
||||
]
|
||||
}
|
||||
},
|
||||
"seek_shelter": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"look_for_food",
|
||||
"collect_nectar",
|
||||
"shelter_detection"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"default_sound",
|
||||
"return_to_home",
|
||||
"abort_shelter_detection"
|
||||
]
|
||||
}
|
||||
},
|
||||
"abort_sheltering": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"abort_shelter_detection",
|
||||
"return_to_home",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"shelter_detection",
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"countdown_to_perish_event" : {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"collect_nectar",
|
||||
"track_attacker",
|
||||
"take_nearest_target",
|
||||
"look_for_food",
|
||||
"angry_bee",
|
||||
"hive_full",
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"countdown_to_perish"
|
||||
]
|
||||
}
|
||||
},
|
||||
"perish_event":{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"perish"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
289
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/boat.json
vendored
Normal file
289
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/boat.json
vendored
Normal file
@ -0,0 +1,289 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:floating": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_down": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:sink",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_up": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "boat", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 0.455
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/boat.json"
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:is_stackable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 60.0,
|
||||
"max_dropped_ticks": 20,
|
||||
"use_motion_prediction_hints": true
|
||||
},
|
||||
"conditional_values": [
|
||||
{
|
||||
"max_optimized_distance": 0.0,
|
||||
"max_dropped_ticks": 0,
|
||||
"use_motion_prediction_hints": true,
|
||||
"conditional_values": [
|
||||
{
|
||||
"test": "is_moving",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:inside_block_notifier": {
|
||||
"block_list": [
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": true
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_down",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"block": {
|
||||
"name": "minecraft:bubble_column",
|
||||
"states": {
|
||||
"drag_down": false
|
||||
}
|
||||
},
|
||||
"entered_block_event": {
|
||||
"event": "minecraft:entered_bubble_column_up",
|
||||
"target": "self"
|
||||
},
|
||||
"exited_block_event": {
|
||||
"event": "minecraft:exited_bubble_column",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entered_bubble_column_down": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entered_bubble_column_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:exited_bubble_column": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:sink": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride",
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
723
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/cat.json
vendored
Normal file
723
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/cat.json
vendored
Normal file
@ -0,0 +1,723 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:cat",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:cat_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:cat_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/cat.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.8
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"require_full_health": true,
|
||||
"allow_sitting": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:cat",
|
||||
"baby_type": "minecraft:cat",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "fish", "salmon" ]
|
||||
}
|
||||
},
|
||||
"minecraft:cat_wild": {
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": [ "fish", "salmon" ],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.35, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"reselect_targets": true,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "rabbit"
|
||||
},
|
||||
"max_dist": 8
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"can_get_scared": true,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 6,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_towards_dwelling_restriction": {
|
||||
"priority": 7
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:color": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:is_dyeable": {
|
||||
"interact_text": "action.interact.dye"
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.6
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.ocelot_sit_on_block": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.pet_sleep_with_owner": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.2,
|
||||
"search_radius": 10,
|
||||
"search_height": 10,
|
||||
"goal_radius": 1.0
|
||||
},
|
||||
"minecraft:on_wake_with_owner": {
|
||||
"event": "minecraft:pet_slept_with_owner",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:cat_gift_for_owner": {
|
||||
"minecraft:behavior.drop_item_for": {
|
||||
"priority": 1,
|
||||
"seconds_before_pickup": 0.0,
|
||||
"cooldown": 0.25,
|
||||
"drop_item_chance": 0.7,
|
||||
"offering_distance": 5.0,
|
||||
"minimum_teleport_distance": 2.0,
|
||||
"max_head_look_at_height": 10.0,
|
||||
"target_range": [ 5.0, 5.0, 5.0 ],
|
||||
"teleport_offset": [ 0.0, 1.0, 0.0],
|
||||
"time_of_day_range": [ 0.74999, 0.80 ],
|
||||
"speed_multiplier": 1.0,
|
||||
"search_range": 5,
|
||||
"search_height": 2,
|
||||
"search_count": 0,
|
||||
"goal_radius": 1.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "player" },
|
||||
"max_dist": 6
|
||||
}
|
||||
],
|
||||
"loot_table": "loot_tables/entities/cat_gift.json",
|
||||
"on_drop_attempt": {
|
||||
"event": "minecraft:cat_gifted_owner",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:cat_white": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tuxedo": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:cat_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
"minecraft:cat_siamese": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
"minecraft:cat_british": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:cat_calico": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
"minecraft:cat_persian": {
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
"minecraft:cat_ragdoll": {
|
||||
"minecraft:variant": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
"minecraft:cat_tabby": {
|
||||
"minecraft:variant": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
"minecraft:cat_black": {
|
||||
"minecraft:variant": {
|
||||
"value": 9
|
||||
}
|
||||
},
|
||||
"minecraft:cat_jellie": {
|
||||
"minecraft:variant": {
|
||||
"value": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:attack_damage": {
|
||||
"value": 4
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "cat", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "fish",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "salmon",
|
||||
"heal_amount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_float": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "passive",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 3,
|
||||
"target_dist": 0.3
|
||||
},
|
||||
"minecraft:behavior.ocelotattack": {
|
||||
"priority": 4,
|
||||
"cooldown_time": 1.0,
|
||||
"x_max_rotation": 30.0,
|
||||
"y_max_head_rotation": 30.0,
|
||||
"max_distance": 15.0,
|
||||
"max_sneak_range": 15.0,
|
||||
"max_sprint_range": 4.0,
|
||||
"reach_multiplier": 2.0,
|
||||
"sneak_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"walk_speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tuxedo"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_siamese"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_british"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_calico"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_persian"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_ragdoll"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tabby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_black"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_jellie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_from_village": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tuxedo"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_siamese"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_white"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_british"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_calico"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_persian"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_ragdoll"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tabby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 15,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_jellie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_midnight_cat": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult",
|
||||
"minecraft:cat_wild",
|
||||
"minecraft:cat_black"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby",
|
||||
"minecraft:cat_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_tame": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:pet_slept_with_owner": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_gift_for_owner"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:cat_gifted_owner": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cat_gift_for_owner"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
438
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/dolphin.json
vendored
Normal file
438
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/dolphin.json
vendored
Normal file
@ -0,0 +1,438 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:dolphin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"dolphin_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/dolphin.json"
|
||||
},
|
||||
"minecraft:bribeable": {
|
||||
"bribe_items": [ "fish", "salmon" ]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"track_target": true
|
||||
}
|
||||
},
|
||||
"dolphin_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.65
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
}
|
||||
},
|
||||
"dolphin_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 16,
|
||||
"calm_event": {
|
||||
"event": "on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
}
|
||||
},
|
||||
"dolphin_dried": {
|
||||
"minecraft:damage_over_time": {
|
||||
"damage_per_hurt": 1,
|
||||
"time_between_hurt": 0
|
||||
}
|
||||
},
|
||||
"dolphin_swimming_navigation": {
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "navigation_on_land"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"dolphin_on_land": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_breach": false,
|
||||
"can_jump": false
|
||||
},
|
||||
"minecraft:drying_out_timer": {
|
||||
"total_time": 120,
|
||||
"water_bottle_refill_time": 0,
|
||||
"dried_out_event": {
|
||||
"event": "dried_out"
|
||||
},
|
||||
"stopped_drying_out_event": {
|
||||
"event": "stop_dryingout"
|
||||
},
|
||||
"recover_after_dried_out_event": {
|
||||
"event": "recover_after_dried_out"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dolphin_on_land_in_rain": {
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": true,
|
||||
"can_breach": false,
|
||||
"can_jump": false
|
||||
},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "navigation_off_land"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_water_or_rain",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
"event": "start_dryingout"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "dolphin", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.6
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48,
|
||||
"max": 48
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 240,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": true,
|
||||
"breathes_water": false,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:navigation.generic": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_swim": true,
|
||||
"can_walk": false,
|
||||
"can_breach": true,
|
||||
"can_sink": false
|
||||
},
|
||||
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
|
||||
"minecraft:jump.static": {
|
||||
"jump_power": 0.6
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.swim_with_entity": {
|
||||
"priority": 4,
|
||||
"success_rate": 0.1,
|
||||
"chance_to_stop": 0.0333,
|
||||
"state_check_interval": 0.5,
|
||||
"catch_up_threshold": 12.0,
|
||||
"match_direction_threshold": 2.0,
|
||||
"catch_up_multiplier": 2.5,
|
||||
"speed_multiplier": 1.5,
|
||||
"search_range": 20.0,
|
||||
"stop_distance": 5.0,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "player" }
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.random_swim": {
|
||||
"priority": 5,
|
||||
"interval": 0,
|
||||
"xz_dist": 20
|
||||
},
|
||||
"minecraft:behavior.random_breach": {
|
||||
"priority": 6,
|
||||
"interval": 50,
|
||||
"xz_dist": 6,
|
||||
"cooldown_time": 2.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 2,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "guardian_elder"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "guardian"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 1.0,
|
||||
"sprint_speed_multiplier": 1.0
|
||||
}
|
||||
],
|
||||
"probability_per_strength": 0.14
|
||||
},
|
||||
"minecraft:behavior.find_underwater_treasure": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 2.0,
|
||||
"search_range": 30,
|
||||
"stop_distance": 50
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 1,
|
||||
"search_range": 15,
|
||||
"search_height": 5
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:flocking": {
|
||||
"in_water": false,
|
||||
"match_variants": false,
|
||||
"use_center_of_mass": false,
|
||||
"low_flock_limit": 4,
|
||||
"high_flock_limit": 8,
|
||||
"goal_weight": 2.0,
|
||||
"loner_chance": 0.1,
|
||||
"influence_radius": 6.0,
|
||||
"breach_influence": 0.0,
|
||||
"separation_weight": 1.75,
|
||||
"separation_threshold": 3.0,
|
||||
"cohesion_weight": 1.85,
|
||||
"cohesion_threshold": 6.5,
|
||||
"innner_cohesion_threshold": 3.5,
|
||||
"min_height": 4.0,
|
||||
"max_height": 4.0,
|
||||
"block_distance": 1.0,
|
||||
"block_weight": 0.0
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 90,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dolphin_adult",
|
||||
"dolphin_swimming_navigation"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dolphin_baby",
|
||||
"dolphin_swimming_navigation"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dolphin_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dolphin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dolphin_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dolphin_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"stop_dryingout": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dolphin_on_land",
|
||||
"dolphin_dried"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "dolphin_on_land_in_rain" ]
|
||||
}
|
||||
},
|
||||
"start_dryingout": {
|
||||
"remove": {
|
||||
"component_groups": [ "dolphin_on_land_in_rain" ]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"dolphin_on_land"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dried_out": {
|
||||
"add": {
|
||||
"component_groups": [ "dolphin_dried" ]
|
||||
}
|
||||
},
|
||||
"recover_after_dried_out": {
|
||||
"remove": {
|
||||
"component_groups": [ "dolphin_dried" ]
|
||||
}
|
||||
},
|
||||
"navigation_on_land": {
|
||||
"add": {
|
||||
"component_groups": [ "dolphin_on_land" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [ "dolphin_swimming_navigation" ]
|
||||
}
|
||||
},
|
||||
"navigation_off_land": {
|
||||
"add": {
|
||||
"component_groups": [ "dolphin_swimming_navigation" ]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"dolphin_on_land_in_rain",
|
||||
"dolphin_on_land",
|
||||
"dolphin_dried"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
218
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/enderman.json
vendored
Normal file
218
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/enderman.json
vendored
Normal file
@ -0,0 +1,218 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:enderman",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:enderman_calm": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:enderman_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.45
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "enderman", "monster", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/enderman.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
},
|
||||
{
|
||||
"filters": { "test": "in_contact_with_water", "operator": "==", "value": true },
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 7
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 32,
|
||||
"max": 32
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 2.9
|
||||
},
|
||||
"minecraft:teleport": {
|
||||
"random_teleports": true,
|
||||
"max_random_teleport_time": 30,
|
||||
"random_teleport_cube": [ 64, 32, 64 ],
|
||||
"target_distance": 16,
|
||||
"target_teleport_chance": 0.05,
|
||||
"light_teleport_chance": 0.05
|
||||
},
|
||||
"minecraft:lookat": {
|
||||
"search_radius": 64.0,
|
||||
"set_target": true,
|
||||
"look_cooldown": 5.0,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"subject": "other",
|
||||
"test": "is_family",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "head",
|
||||
"subject": "other",
|
||||
"operator": "not",
|
||||
"value": "carved_pumpkin"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"must_see": true,
|
||||
"attack_interval": 10,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "endermite"
|
||||
},
|
||||
"max_dist": 64
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 8.0,
|
||||
"probability": 8.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.enderman_leave_block": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.enderman_take_block": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
"default_values": {
|
||||
"max_optimized_distance": 80.0,
|
||||
"max_dropped_ticks": 10,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:enderman_calm"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
135
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/glow_squid.json
vendored
Normal file
135
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/glow_squid.json
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:glow_squid",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups":{
|
||||
"minecraft:squid_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "squid", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.95,
|
||||
"height": 0.95
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"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/glow_squid.json"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:behavior.squid_move_away_from_ground": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.squid_flee": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_idle": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_dive": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_out_of_water": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
|
||||
"events":{
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:squid_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
450
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/goat.json
vendored
Normal file
450
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/goat.json
vendored
Normal file
@ -0,0 +1,450 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:goat",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"goat_baby": {
|
||||
"minecraft:is_baby": {},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "wheat",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
}
|
||||
},
|
||||
"goat_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/goat.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "wheat",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:goat",
|
||||
"baby_type": "minecraft:goat",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"mutation_factor": {
|
||||
"variant": 0
|
||||
}
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2
|
||||
}
|
||||
},
|
||||
"goat_default": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
"goat_screamer": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"interact_default": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "hand",
|
||||
"subject": "other",
|
||||
"value": "bucket:0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"transform_to_item": "bucket:1",
|
||||
"play_sounds": "milk_suspiciously",
|
||||
"interact_text": "action.interact.milk"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"interact_screamer": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "hand",
|
||||
"subject": "other",
|
||||
"value": "bucket:0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"transform_to_item": "bucket:1",
|
||||
"play_sounds": "milk.screamer",
|
||||
"interact_text": "action.interact.milk"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ram_default": {
|
||||
"minecraft:behavior.ram_attack": {
|
||||
"priority": 5,
|
||||
"run_speed": 0.7,
|
||||
"ram_speed": 1.8,
|
||||
"min_ram_distance": 4,
|
||||
"ram_distance": 7,
|
||||
"knockback_force": 2.5,
|
||||
"knockback_height": 0.04,
|
||||
"pre_ram_sound": "pre_ram",
|
||||
"ram_impact_sound": "ram_impact",
|
||||
"cooldown_range": [
|
||||
30,
|
||||
300
|
||||
],
|
||||
"on_start": [
|
||||
{
|
||||
"event": "start_event",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ram_screamer": {
|
||||
"minecraft:behavior.ram_attack": {
|
||||
"priority": 5,
|
||||
"run_speed": 0.7,
|
||||
"ram_speed": 1.8,
|
||||
"min_ram_distance": 4,
|
||||
"ram_distance": 7,
|
||||
"knockback_force": 2.5,
|
||||
"knockback_height": 0.04,
|
||||
"pre_ram_sound": "pre_ram.screamer",
|
||||
"ram_impact_sound": "ram_impact.screamer",
|
||||
"cooldown_range": [
|
||||
5,
|
||||
15
|
||||
],
|
||||
"on_start": [
|
||||
{
|
||||
"event": "start_event",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"attack_cooldown": {
|
||||
"minecraft:attack_cooldown": {
|
||||
"attack_cooldown_time": [
|
||||
30,
|
||||
40
|
||||
],
|
||||
"attack_cooldown_complete_event": {
|
||||
"event": "attack_cooldown_complete_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:behavior.jump_to_block": {
|
||||
"priority": 8,
|
||||
"search_width": 10,
|
||||
"search_height": 10,
|
||||
"minimum_path_length": 8,
|
||||
"minimum_distance": 1,
|
||||
"scale_factor": 0.6,
|
||||
"cooldown_range": [
|
||||
30,
|
||||
60
|
||||
]
|
||||
},
|
||||
"minecraft:genetics": {
|
||||
"mutation_rate": 0.02,
|
||||
"genes": [
|
||||
{
|
||||
"name": "goat_variant",
|
||||
"use_simplified_breeding": true,
|
||||
"allele_range": {
|
||||
"range_min": 1,
|
||||
"range_max": 100
|
||||
},
|
||||
"genetic_variants": [
|
||||
{
|
||||
"main_allele": {
|
||||
"range_min": 1,
|
||||
"range_max": 2
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:born_screamer",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": {
|
||||
"range_min": 3,
|
||||
"range_max": 100
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:born_default",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [
|
||||
"goat",
|
||||
"animal"
|
||||
]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true,
|
||||
"blocks_to_avoid": [
|
||||
{
|
||||
"name": "minecraft:powder_snow"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement.basic": {},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:can_climb": {},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.3
|
||||
},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.75,
|
||||
"items": [
|
||||
"wheat"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 6,
|
||||
"within_radius": 16,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "goat"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:attack_cooldown"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": true,
|
||||
"damage_modifier": -10
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 10,
|
||||
"look_distance": 6,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4,
|
||||
"hard_distance": 6,
|
||||
"max_distance": 10
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:physics": {},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:born_default": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_default",
|
||||
"ram_default",
|
||||
"interact_default"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:born_screamer": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_screamer",
|
||||
"ram_screamer",
|
||||
"interact_screamer"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"goat_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"goat_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"start_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attack_cooldown_complete_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
520
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/hoglin.json
vendored
Normal file
520
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/hoglin.json
vendored
Normal file
@ -0,0 +1,520 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:hoglin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"zombification_sensor": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
"event": "start_zombification_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"start_zombification": {
|
||||
"minecraft:is_shaking": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"test": "in_nether",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"event": "stop_zombification_event"
|
||||
}
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 15,
|
||||
"time_down_event": {
|
||||
"event": "become_zombie_event"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"become_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zoglin",
|
||||
"transformation_sound": "converted_to_zombified",
|
||||
"keep_level": true
|
||||
}
|
||||
},
|
||||
|
||||
"angry_hoglin": {
|
||||
"minecraft:angry": {
|
||||
"duration": 10,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 16,
|
||||
"calm_event": {
|
||||
"event": "become_calm_event",
|
||||
"target": "self"
|
||||
},
|
||||
"angry_sound": "angry",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"attack_cooldown": {
|
||||
"minecraft:attack_cooldown": {
|
||||
"attack_cooldown_time": [ 10.0, 15.0 ],
|
||||
"attack_cooldown_complete_event": {
|
||||
"event": "attack_cooldown_complete_event",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:hoglin_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_baby", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.36
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0,
|
||||
"cooldown_time": 0.75
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1.0
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.85,
|
||||
"height": 0.85
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 1.0,
|
||||
"height": 0.85,
|
||||
"pivot": [ 0, 0.5, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "crimson_fungus" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 3,
|
||||
"family_types": [
|
||||
"piglin"
|
||||
],
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, 0.9, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ 0.0, 2.4, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ 0.0, 3.9, -0.3 ],
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1
|
||||
}
|
||||
},
|
||||
"minecraft:hoglin_adult": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 2.0,
|
||||
"height": 1.75,
|
||||
"pivot": [ 0, 1, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:group_size": {
|
||||
"radius": 32,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"value": "hoglin"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "become_angry_event",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/hoglin.json"
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 2.5,
|
||||
"cooldown_time": 2
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": [ 3, 9 ]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"love_filters": {
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:attack_cooldown"
|
||||
},
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:hoglin",
|
||||
"baby_type": "minecraft:hoglin",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "crimson_fungus" ]
|
||||
}
|
||||
},
|
||||
"unhuntable_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_adult", "mob" ]
|
||||
}
|
||||
},
|
||||
"huntable_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "hoglin", "hoglin_adult", "hoglin_huntable", "mob" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:attack_cooldown"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 0,
|
||||
"remove_target": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_target",
|
||||
"subject": "other",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "piglin"
|
||||
}
|
||||
]
|
||||
},
|
||||
"check_if_outnumbered": true,
|
||||
"max_dist": 10,
|
||||
"sprint_speed_multiplier": 1.2
|
||||
}
|
||||
],
|
||||
"avoid_mob_sound": "retreat",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.avoid_block": {
|
||||
"priority": 1,
|
||||
"tick_interval": 5,
|
||||
"search_range": 8,
|
||||
"search_height": 4,
|
||||
"walk_speed_modifier": 1,
|
||||
"sprint_speed_modifier": 1,
|
||||
"avoid_block_sound": "retreat",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
},
|
||||
"target_selection_method": "nearest",
|
||||
"target_blocks": [
|
||||
"minecraft:warped_fungus",
|
||||
"minecraft:portal",
|
||||
"minecraft:respawn_anchor"
|
||||
],
|
||||
"on_escape": [
|
||||
{
|
||||
"event": "escaped_event",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 0.4
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"trigger": "spawn_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"trigger": "spawn_baby"
|
||||
},
|
||||
"spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"huntable_adult",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_baby",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"stop_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_zombie_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_zombie"
|
||||
]
|
||||
}
|
||||
},
|
||||
"start_zombification_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"start_zombification"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_unhuntable": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"unhuntable_adult",
|
||||
"zombification_sensor"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:hoglin_adult",
|
||||
"huntable_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"become_angry_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_calm_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"escaped_event": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"angry_hoglin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"attack_cooldown_complete_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"attack_cooldown"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
377
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/iron_golem.json
vendored
Normal file
377
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/iron_golem.json
vendored
Normal file
@ -0,0 +1,377 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:iron_golem",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:player_created": {
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"},
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:village_created": {
|
||||
"minecraft:behavior.defend_village_target": {
|
||||
"priority": 1,
|
||||
"must_reach": true,
|
||||
"attack_chance": 0.05,
|
||||
"entity_types": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "mob" },
|
||||
{ "test": "is_family", "subject": "other", "value": "player" }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:dweller": {
|
||||
"dwelling_type": "village",
|
||||
"dweller_role": "defender",
|
||||
"update_interval_base": 60,
|
||||
"update_interval_variant": 40,
|
||||
"can_find_poi": false,
|
||||
"can_migrate": true,
|
||||
"first_founding_reward": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "irongolem", "mob" ]
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 2.9
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/iron_golem.json"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 100,
|
||||
"max": 100
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "has_equipment",
|
||||
"domain": "hand",
|
||||
"subject": "other",
|
||||
"value": "iron_ingot"
|
||||
},
|
||||
{
|
||||
"test": "is_missing_health",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"health_amount": 25,
|
||||
"play_sounds": "irongolem.repair",
|
||||
"interact_text": "action.interact.repair"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": {
|
||||
"range_min": 7,
|
||||
"range_max": 21
|
||||
}
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 2.0
|
||||
},
|
||||
"minecraft:preferred_path": {
|
||||
"max_fall_blocks": 1,
|
||||
"jump_cost": 5,
|
||||
"default_block_cost": 1.5,
|
||||
"preferred_path_blocks": [
|
||||
{
|
||||
"cost": 0,
|
||||
"blocks": [
|
||||
"grass_path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost": 1,
|
||||
"blocks": [
|
||||
"cobblestone",
|
||||
"stone",
|
||||
"stonebrick",
|
||||
"sandstone",
|
||||
"mossy_cobblestone",
|
||||
"stone_slab",
|
||||
"stone_slab2",
|
||||
"stone_slab3",
|
||||
"stone_slab4",
|
||||
"double_stone_slab",
|
||||
"double_stone_slab2",
|
||||
"double_stone_slab3",
|
||||
"double_stone_slab4",
|
||||
"wooden_slab",
|
||||
"double_wooden_slab",
|
||||
"planks",
|
||||
"brick_block",
|
||||
"nether_brick",
|
||||
"red_nether_brick",
|
||||
"end_bricks",
|
||||
"red_sandstone",
|
||||
"stained_glass",
|
||||
"glass",
|
||||
"glowstone",
|
||||
"prismarine",
|
||||
"emerald_block",
|
||||
"diamond_block",
|
||||
"lapis_block",
|
||||
"gold_block",
|
||||
"redstone_block",
|
||||
"purple_glazed_terracotta",
|
||||
"white_glazed_terracotta",
|
||||
"orange_glazed_terracotta",
|
||||
"magenta_glazed_terracotta",
|
||||
"light_blue_glazed_terracotta",
|
||||
"yellow_glazed_terracotta",
|
||||
"lime_glazed_terracotta",
|
||||
"pink_glazed_terracotta",
|
||||
"gray_glazed_terracotta",
|
||||
"silver_glazed_terracotta",
|
||||
"cyan_glazed_terracotta",
|
||||
"blue_glazed_terracotta",
|
||||
"brown_glazed_terracotta",
|
||||
"green_glazed_terracotta",
|
||||
"red_glazed_terracotta",
|
||||
"black_glazed_terracotta"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cost": 50,
|
||||
"blocks": [
|
||||
"bed",
|
||||
"lectern",
|
||||
"composter",
|
||||
"grindstone",
|
||||
"blast_furnace",
|
||||
"smoker",
|
||||
"fletching_table",
|
||||
"cartography_table",
|
||||
"brewing_stand",
|
||||
"smithing_table",
|
||||
"cauldron",
|
||||
"barrel",
|
||||
"loom",
|
||||
"stonecutter"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.target_when_pushed": {
|
||||
"priority": 1,
|
||||
"percent_chance": 5.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "monster" },
|
||||
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_target": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.9,
|
||||
"within_radius": 32
|
||||
},
|
||||
"minecraft:behavior.move_through_village": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6,
|
||||
"only_at_night": true
|
||||
},
|
||||
"minecraft:behavior.move_towards_dwelling_restriction": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.offer_flower": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.6,
|
||||
"xz_dist": 16
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"must_reach": true,
|
||||
"must_see": true,
|
||||
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "monster"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "creeper"
|
||||
}
|
||||
]
|
||||
},
|
||||
"within_default": 10
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "hoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_difficulty",
|
||||
"operator": "!=",
|
||||
"value": "peaceful"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "zoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_difficulty",
|
||||
"operator": "!=",
|
||||
"value": "peaceful"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 2,
|
||||
"entity_types": {
|
||||
"filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "creeper" }
|
||||
}
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:from_player": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:player_created"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:from_village": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:village_created"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
245
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/magma_cube.json
vendored
Normal file
245
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/magma_cube.json
vendored
Normal file
@ -0,0 +1,245 @@
|
||||
{
|
||||
"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:variant": {
|
||||
"value": 4
|
||||
},
|
||||
"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:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"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:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"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": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_small"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_medium"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_large"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_small": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_small",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_medium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_medium",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_large": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_large",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
417
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/ocelot.json
vendored
Normal file
417
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/ocelot.json
vendored
Normal file
@ -0,0 +1,417 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:ocelot",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:ocelot_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "fish", "salmon" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ocelot_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/ocelot.json"
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
"minecraft:wild_child_ocelot_spawn": {
|
||||
"minecraft:spawn_entity": {
|
||||
"entities": {
|
||||
"filters": [
|
||||
{
|
||||
"test": "random_chance",
|
||||
"value": 7
|
||||
}
|
||||
],
|
||||
"min_wait_time": 0,
|
||||
"max_wait_time": 0,
|
||||
"num_to_spawn": 2,
|
||||
"single_use": true,
|
||||
"spawn_entity": "minecraft:ocelot",
|
||||
"spawn_event": "minecraft:entity_born",
|
||||
"spawn_method": "born",
|
||||
"spawn_sound": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ocelot_wild": {
|
||||
"minecraft:trusting": {
|
||||
"probability": 0.33,
|
||||
"trust_items": [ "fish", "salmon" ],
|
||||
"trust_event": {
|
||||
"event": "minecraft:on_trust",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"can_get_scared": true,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
"max_dist": 10,
|
||||
"walk_speed_multiplier": 0.8,
|
||||
"sprint_speed_multiplier": 1.33
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.35, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:ocelot_trusting": {
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.5,
|
||||
"within_radius": 16,
|
||||
"items": [
|
||||
"fish",
|
||||
"salmon"
|
||||
]
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:ocelot",
|
||||
"baby_type": "minecraft:ocelot",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "fish", "salmon" ]
|
||||
}
|
||||
},
|
||||
// minecraft:ocelot_tame is only here for backwards compatibility purposes, ocelots are no longer tameable in Vanilla Minecraft
|
||||
"minecraft:ocelot_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.ocelot_sit_on_block": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:attack_damage": {
|
||||
"value": 3
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "ocelot", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.7
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 1,
|
||||
"reselect_targets": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "chicken"
|
||||
},
|
||||
"max_dist": 8
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 3,
|
||||
"target_dist": 0.3
|
||||
},
|
||||
"minecraft:behavior.ocelotattack": {
|
||||
"priority": 4,
|
||||
"cooldown_time": 1.0,
|
||||
"x_max_rotation": 30.0,
|
||||
"y_max_head_rotation": 30.0,
|
||||
"max_distance": 15.0,
|
||||
"max_sneak_range": 15.0,
|
||||
"max_sprint_range": 4.0,
|
||||
"reach_multiplier": 2.0,
|
||||
"sneak_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 1.33,
|
||||
"walk_speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"on_leash": {
|
||||
"event": "minecraft:on_leash",
|
||||
"target": "self"
|
||||
},
|
||||
"on_unleash": {
|
||||
"event": "minecraft:on_unleash",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.7
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 3,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_adult",
|
||||
"minecraft:ocelot_wild",
|
||||
"minecraft:wild_child_ocelot_spawn"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born_wild": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby",
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_trust": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_trusting"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
// Leashing and unleashing are only here for backwards compatibility purposes, ocelots are no longer leashable in Vanilla Minecraft
|
||||
"minecraft:on_leash": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_leashed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_unleash": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:ocelot_leashed"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
696
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/panda.json
vendored
Normal file
696
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/panda.json
vendored
Normal file
@ -0,0 +1,696 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:panda",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:panda_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "bamboo",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.0016
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 13,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.0001666,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/panda.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"blend_attributes": false,
|
||||
"environment_requirements": {
|
||||
"blocks": "bamboo",
|
||||
"count": 8,
|
||||
"radius": 5
|
||||
},
|
||||
"breed_items": "bamboo",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:panda",
|
||||
"baby_type": "minecraft:panda",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"mutation_factor": {
|
||||
"variant": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_target_escape": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 2.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"attack_once": true,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
}
|
||||
},
|
||||
"minecraft:panda_lazy": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"minecraft:behavior.lay_down": {
|
||||
"priority": 5,
|
||||
"interval": 400,
|
||||
"random_stop_interval": 2000
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 6,
|
||||
"start_chance": 0.02,
|
||||
"stop_chance": 0.2,
|
||||
"cooldown": 25,
|
||||
"min_sit_time": 15
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 3,
|
||||
"snacking_cooldown": 17.5,
|
||||
"snacking_cooldown_min": 10,
|
||||
"snacking_stop_chance": 0.0011,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
// Lazy panda's move half the speed, so double their multiplier when they panic
|
||||
// Otherwise, they don't actually look like they're panicking
|
||||
"speed_multiplier": 2.5
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.07
|
||||
}
|
||||
},
|
||||
"minecraft:panda_worried": {
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"minecraft:behavior.scared": {
|
||||
"priority": 1,
|
||||
"sound_interval": 20
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 5,
|
||||
"max_dist": 16,
|
||||
"max_flee": 20,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"operator": "!=",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
"max_dist": 16,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_playful": {
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
"minecraft:behavior.roll": {
|
||||
"priority": 12,
|
||||
"probability": 0.013
|
||||
}
|
||||
},
|
||||
"minecraft:panda_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
"minecraft:panda_weak": {
|
||||
"minecraft:variant": {
|
||||
"value": 5
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
}
|
||||
},
|
||||
"minecraft:panda_sneezing": {
|
||||
"minecraft:behavior.sneeze": {
|
||||
"priority": 7,
|
||||
"probability": 0.002,
|
||||
"cooldown_time": 1.0,
|
||||
"within_radius": 10.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "panda"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "on_ground",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 10
|
||||
}
|
||||
],
|
||||
"drop_item_chance": 0.001,
|
||||
"loot_table": "loot_tables/entities/panda_sneeze.json",
|
||||
"prepare_sound": "presneeze",
|
||||
"prepare_time": 1.0,
|
||||
"sound": "sneeze"
|
||||
}
|
||||
},
|
||||
"minecraft:panda_aggressive": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "panda" , "panda_aggressive", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 6
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 2,
|
||||
"track_target": true,
|
||||
"reach_multiplier": 1.0
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
// Aggressive pandas don't panic from mob damage
|
||||
"ignore_mob_damage": true
|
||||
}
|
||||
},
|
||||
"minecraft:panda_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
}
|
||||
},
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"broadcast_filters": {
|
||||
"test": "is_family",
|
||||
"operator": "==",
|
||||
"value": "panda_aggressive"
|
||||
},
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "panda" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_float": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 1.0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:giveable": {
|
||||
"triggers": {
|
||||
"cooldown": 3.0,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
],
|
||||
"on_give": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 1,
|
||||
"private": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.7,
|
||||
"height": 1.5
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.random_sitting": {
|
||||
"priority": 5,
|
||||
"start_chance": 0.01,
|
||||
"stop_chance": 0.3,
|
||||
"cooldown": 30,
|
||||
"min_sit_time": 10
|
||||
},
|
||||
"minecraft:behavior.snacking": {
|
||||
"priority": 2,
|
||||
"snacking_cooldown": 22.5,
|
||||
"snacking_cooldown_min": 20,
|
||||
"snacking_stop_chance": 0.001334,
|
||||
"items": [
|
||||
"bamboo",
|
||||
"cake"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"bamboo"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 14,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.105, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:genetics": {
|
||||
"mutation_rate": 0.03125,
|
||||
"genes": [
|
||||
{
|
||||
"name": "panda_variant",
|
||||
"allele_range": {
|
||||
"range_min": 0,
|
||||
"range_max": 15
|
||||
},
|
||||
"genetic_variants": [
|
||||
{
|
||||
"main_allele": 0,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_lazy",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 1,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_worried",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 2,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_playful",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"main_allele": 3,
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_aggressive",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"both_allele": {
|
||||
"range_min": 4,
|
||||
"range_max": 7
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_weak",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
{
|
||||
"both_allele": {
|
||||
"range_min": 8,
|
||||
"range_max": 9
|
||||
},
|
||||
"birth_event": {
|
||||
"event": "minecraft:panda_brown",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 3
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_playful"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 6
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:panda_lazy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_lazy"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_worried": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_worried"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_playful": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_playful"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_brown": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_brown"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:panda_weak": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_weak"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"operator": "==",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_sneezing"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:panda_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_aggressive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_scared": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:baby_on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:panda_angry"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
262
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/parrot.json
vendored
Normal file
262
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/parrot.json
vendored
Normal file
@ -0,0 +1,262 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:parrot",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:parrot_red": {
|
||||
"minecraft:variant": { "value": 0 }
|
||||
},
|
||||
"minecraft:parrot_blue": {
|
||||
"minecraft:variant": { "value": 1 }
|
||||
},
|
||||
"minecraft:parrot_green": {
|
||||
"minecraft:variant": { "value": 2 }
|
||||
},
|
||||
"minecraft:parrot_cyan": {
|
||||
"minecraft:variant": { "value": 3 }
|
||||
},
|
||||
"minecraft:parrot_silver": {
|
||||
"minecraft:variant": { "value": 4 }
|
||||
},
|
||||
|
||||
"minecraft:parrot_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/parrot.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:parrot_wild": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "parrot_wild", "mob" ]
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": [
|
||||
"wheat_seeds",
|
||||
"pumpkin_seeds",
|
||||
"melon_seeds",
|
||||
"beetroot_seeds"
|
||||
],
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_fly": {
|
||||
"priority": 2,
|
||||
"xz_dist": 15,
|
||||
"y_dist": 1,
|
||||
"y_offset": 0,
|
||||
"speed_multiplier": 1.0,
|
||||
"can_land_on_trees": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:behavior.follow_mob": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0,
|
||||
"stop_distance": 3,
|
||||
"search_range": 20
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:parrot_tame": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "parrot_tame", "mob" ]
|
||||
},
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 5,
|
||||
"stop_distance": 1
|
||||
},
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.find_mount": {
|
||||
"priority": 3,
|
||||
"within_radius": 16,
|
||||
"avoid_water": true,
|
||||
"start_delay": 100,
|
||||
"target_needed": false,
|
||||
"mount_distance": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 1
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 6,
|
||||
"max": 6
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.4
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_fly": {
|
||||
},
|
||||
"minecraft:navigation.fly": {
|
||||
"can_path_over_water": true,
|
||||
"can_path_from_air": true
|
||||
},
|
||||
"minecraft:movement.fly": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 0,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 1,
|
||||
"look_distance": 8.0
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"force_use": true,
|
||||
"filters": { "test": "is_riding", "operator": "!=", "value": true },
|
||||
"items": [
|
||||
{
|
||||
"item": "cookie",
|
||||
"heal_amount": 0,
|
||||
"effects": [
|
||||
{
|
||||
"name": "fatal_poison",
|
||||
"chance": 1.0,
|
||||
"duration": 1000,
|
||||
"amplifier": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_red",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_blue",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_green",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_cyan",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_silver",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_tame"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
324
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/pig.json
vendored
Normal file
324
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/pig.json
vendored
Normal file
@ -0,0 +1,324 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:pig",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:pig_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "carrot", "beetroot", "potato" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_transform": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:pig_zombie",
|
||||
"delay": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pig.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:pig",
|
||||
"baby_type": "minecraft:pig",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "carrot", "beetroot", "potato" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_unsaddled": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||
"event": "minecraft:on_saddled"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "saddle",
|
||||
"interact_text": "action.interact.saddle"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.63, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:pig_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/pig_saddled.json"
|
||||
},
|
||||
"minecraft:boostable": {
|
||||
"speed_multiplier": 2.0,
|
||||
"duration": 3.0,
|
||||
"boost_items": [
|
||||
{
|
||||
"item": "carrotOnAStick",
|
||||
"damage": 2,
|
||||
"replace_item": "fishing_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"interact_text": "action.interact.mount",
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.63, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:item_controllable": {
|
||||
"control_items": "carrotOnAStick"
|
||||
},
|
||||
"minecraft:behavior.controlled_by_player": {
|
||||
"priority": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"on_damage": {
|
||||
"filters": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "lightning"
|
||||
},
|
||||
{
|
||||
"test": "is_difficulty",
|
||||
"operator": "!=",
|
||||
"value": "peaceful"
|
||||
}
|
||||
],
|
||||
"event": "become_zombie"
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "pig", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.9
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.25
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"potato",
|
||||
"carrot",
|
||||
"beetroot",
|
||||
"carrotOnAStick"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"become_zombie": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_transform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "minecraft:spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_adult",
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_saddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:pig_adult",
|
||||
"minecraft:pig_unsaddled"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
197
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/player.json
vendored
Normal file
197
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/player.json
vendored
Normal file
@ -0,0 +1,197 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"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:player.saturation": {
|
||||
"value": 20
|
||||
},
|
||||
"minecraft:player.exhaustion": {
|
||||
"value": 0,
|
||||
"max": 4
|
||||
},
|
||||
"minecraft:player.level": {
|
||||
"value": 0,
|
||||
"max": 24791
|
||||
},
|
||||
"minecraft:player.experience": {
|
||||
"value": 0,
|
||||
"max": 1
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": -1,
|
||||
"inhale_time": 3.75,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
"always_show": true,
|
||||
"allow_name_tag_renaming": false
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:insomnia": {
|
||||
"days_until_insomnia": 3
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"family_types": [
|
||||
"parrot_tame"
|
||||
],
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 0,
|
||||
"lock_rider_rotation": 0
|
||||
},
|
||||
{
|
||||
"position": [ -0.4, -0.2, -0.1 ],
|
||||
"min_rider_count": 1,
|
||||
"max_rider_count": 2,
|
||||
"lock_rider_rotation": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft: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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
309
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/polar_bear.json
vendored
Normal file
309
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/polar_bear.json
vendored
Normal file
@ -0,0 +1,309 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:polar_bear",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_scared",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_scared": {
|
||||
"minecraft:angry": {
|
||||
"duration": 1,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 41,
|
||||
"calm_event": {
|
||||
"event": "minecraft:baby_on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult": {
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/polar_bear.json"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_wild": {
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:on_friendly_anger": {
|
||||
"event": "minecraft:on_anger",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "fox"
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": false
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:adult_hostile": {
|
||||
"minecraft:attack": {
|
||||
"damage": 6.0
|
||||
},
|
||||
"minecraft:angry": {
|
||||
"duration": 500,
|
||||
"broadcast_anger": false,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.stomp_attack": {
|
||||
"priority": 1,
|
||||
"track_target": true,
|
||||
"require_complete_path": true,
|
||||
"stomp_range_multiplier": 2.0,
|
||||
"no_damage_range_multiplier": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "polarbear", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 30
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.3,
|
||||
"height": 1.4
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:water_movement": {
|
||||
"drag_factor": 0.98
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 48
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 2.0
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult",
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby",
|
||||
"minecraft:baby_wild",
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult",
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_hostile"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_anger": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:adult_hostile"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:baby_on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_scared": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:baby_scared"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
245
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/slime.json
vendored
Normal file
245
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/slime.json
vendored
Normal file
@ -0,0 +1,245 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:slime",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:slime_large": {
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
"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:variant": {
|
||||
"value": 2
|
||||
},
|
||||
"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:variant": {
|
||||
"value": 1
|
||||
},
|
||||
"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": "snowgolem"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "irongolem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_small"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_medium"
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"trigger": "spawn_large"
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_small": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_small",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_medium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_medium",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_large": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_large",
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_calm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_calm"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_aggressive": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:slime_aggressive"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
132
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/squid.json
vendored
Normal file
132
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/squid.json
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:squid",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups":{
|
||||
"minecraft:squid_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components":{
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family":["squid", "mob"]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.95,
|
||||
"height": 0.95
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10,
|
||||
"max": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/squid.json"
|
||||
},
|
||||
"minecraft:breathable":{
|
||||
"total_supply":15,
|
||||
"suffocate_time":0,
|
||||
"breathes_air": false,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.2
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"can_sink": false
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.squid_move_away_from_ground": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.squid_flee": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_idle": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_dive": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.squid_out_of_water": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events":{
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:squid_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
433
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/strider.json
vendored
Normal file
433
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/strider.json
vendored
Normal file
@ -0,0 +1,433 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:strider",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:strider_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/strider_saddled.json"
|
||||
},
|
||||
"minecraft:boostable": {
|
||||
"speed_multiplier": 2.0,
|
||||
"duration": 16.0,
|
||||
"boost_items": [
|
||||
{
|
||||
"item": "warped_fungus_on_a_stick",
|
||||
"damage": 1,
|
||||
"replace_item": "fishing_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.strider",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.6, -0.2 ]
|
||||
}
|
||||
},
|
||||
"minecraft:item_controllable": {
|
||||
"control_items": "warped_fungus_on_a_stick"
|
||||
},
|
||||
"minecraft:behavior.controlled_by_player": {
|
||||
"priority": 0,
|
||||
"mount_speed_multiplier": 1.45
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strider_unsaddled": {
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
|
||||
"event": "minecraft:on_saddled"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "saddle",
|
||||
"interact_text": "action.interact.saddle"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strider_piglin_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:zombie_pigman",
|
||||
"spawn_event": "minecraft:spawn_as_strider_jockey"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"crouching_skip_interact": true,
|
||||
"family_types": [
|
||||
"player", "zombie_pigman"
|
||||
],
|
||||
"interact_text": "action.interact.ride.strider",
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.65, -0.2 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:strider_parent_jockey": {
|
||||
"minecraft:addrider": {
|
||||
"entity_type": "minecraft:strider",
|
||||
"spawn_event": "spawn_baby"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"strider"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.6, 0.0 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:strider_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "strider_baby", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [ "warped_fungus" ],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
"minecraft:strider_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "strider_adult", "mob" ]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/strider.json"
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:strider",
|
||||
"baby_type": "minecraft:strider",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "warped_fungus" ]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:start_suffocating": {
|
||||
"minecraft:is_shaking": {},
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "stop_suffocating"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:detect_suffocating": {
|
||||
"minecraft:environment_sensor": {
|
||||
"triggers": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"any_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "in_lava",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "start_suffocating"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "strider", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 1.7
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_contact_with_water",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "drowning",
|
||||
"damage_per_tick": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.16
|
||||
},
|
||||
"minecraft:lava_movement": {
|
||||
"value": 0.32
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_lava": true,
|
||||
"avoid_water": true,
|
||||
"can_sink": false,
|
||||
"can_walk_in_lava": true
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:behavior.rise_to_liquid_level": {
|
||||
"priority": 0,
|
||||
"liquid_y_offset": 0.25,
|
||||
"rise_delta": 0.01,
|
||||
"sink_delta": 0.01
|
||||
},
|
||||
"minecraft:behavior.move_to_liquid": {
|
||||
"priority": 7,
|
||||
"search_range": 16,
|
||||
"search_height": 10,
|
||||
"goal_radius": 0.9,
|
||||
"material_type": "Lava",
|
||||
"search_count": 30
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 9,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 10
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.1,
|
||||
"panic_sound": "panic",
|
||||
"sound_interval": {
|
||||
"range_min": 1.0,
|
||||
"range_max": 3.0
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.2,
|
||||
"items": [
|
||||
"warped_fungus",
|
||||
"warped_fungus_on_a_stick"
|
||||
],
|
||||
"can_tempt_while_ridden": true,
|
||||
"tempt_sound": "tempt",
|
||||
"sound_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 5.0
|
||||
}
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 40,
|
||||
"trigger": "spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 2,
|
||||
"trigger": "spawn_adult_piglin_jockey"
|
||||
},
|
||||
{
|
||||
"weight": 8,
|
||||
"trigger": "spawn_adult_parent_jockey"
|
||||
},
|
||||
{
|
||||
"weight": 50,
|
||||
"trigger": "spawn_baby"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"trigger": "spawn_baby"
|
||||
},
|
||||
"spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_unsaddled",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_parent_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_parent_jockey",
|
||||
"minecraft:strider_unsaddled",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_piglin_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_saddled",
|
||||
"minecraft:strider_piglin_jockey",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_baby",
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_unsaddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_saddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_unsaddled"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"start_suffocating": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:start_suffocating"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"stop_suffocating": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:detect_suffocating"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:start_suffocating"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
851
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/villager.json
vendored
Normal file
851
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/villager.json
vendored
Normal file
@ -0,0 +1,851 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:villager",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:celebrate": {
|
||||
"minecraft:behavior.celebrate_survive": {
|
||||
"priority": 5,
|
||||
"fireworks_interval": {
|
||||
"range_min": 2.0,
|
||||
"range_max": 7.0
|
||||
},
|
||||
"duration": 30.0,
|
||||
"on_celebration_end_event": {
|
||||
"event": "minecraft:stop_celebrating",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_outdoors": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 0.8,
|
||||
"timeout_cooldown": 8.0
|
||||
}
|
||||
},
|
||||
|
||||
"become_witch": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:witch",
|
||||
"delay": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"become_villager_v2": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:villager_v2",
|
||||
"keep_level": true
|
||||
}
|
||||
},
|
||||
|
||||
"become_zombie": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:zombie_villager"
|
||||
}
|
||||
},
|
||||
|
||||
"behavior_peasant": {
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:bread",
|
||||
"want_amount": 3,
|
||||
"surplus_amount": 6,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carrot",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 4,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:potato",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot",
|
||||
"want_amount": 60,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wheat_seeds",
|
||||
"want_amount": 64,
|
||||
"surplus_amount": 64,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot_seeds",
|
||||
"want_amount": 64,
|
||||
"surplus_amount": 64,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:wheat",
|
||||
"want_amount": 45,
|
||||
"surplus_amount": 18,
|
||||
"craft_into": "minecraft:bread",
|
||||
"stored_in_inventory": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.harvest_farm_block": {
|
||||
"priority": 9,
|
||||
"speed_multiplier": 0.5
|
||||
}
|
||||
},
|
||||
|
||||
"behavior_non_peasant": {
|
||||
"minecraft:shareables": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:bread",
|
||||
"want_amount": 3,
|
||||
"surplus_amount": 6,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:carrot",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:potato",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot",
|
||||
"want_amount": 12,
|
||||
"surplus_amount": 24,
|
||||
"stored_in_inventory": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"farmer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "farmer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.farmer",
|
||||
"table": "trading/farmer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"fisherman":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "fisherman", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.fisherman",
|
||||
"table": "trading/fisherman_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"shepherd":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "shepherd", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.shepherd",
|
||||
"table": "trading/shepherd_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"fletcher":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "peasant", "fletcher", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.fletcher",
|
||||
"table": "trading/fletcher_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"librarian":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "librarian", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.librarian",
|
||||
"table": "trading/librarian_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"cartographer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "cartographer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.cartographer",
|
||||
"table": "trading/cartographer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"cleric":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "priest", "cleric", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 2
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.cleric",
|
||||
"table": "trading/cleric_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"armorer":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "armorer", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.armor",
|
||||
"table": "trading/armorer_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"weaponsmith":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "weaponsmith", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.weapon",
|
||||
"table": "trading/weapon_smith_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"toolsmith":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "blacksmith", "toolsmith", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 3
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.tool",
|
||||
"table": "trading/tool_smith_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"butcher":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "artisan", "butcher", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.butcher",
|
||||
"table": "trading/butcher_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"leatherworker":{
|
||||
"minecraft:type_family": {
|
||||
"family":[ "villager", "artisan", "leatherworker", "mob" ]
|
||||
},
|
||||
"minecraft:variant": {
|
||||
"value": 4
|
||||
},
|
||||
|
||||
"minecraft:trade_table": {
|
||||
"display_name": "entity.villager.leather",
|
||||
"table": "trading/leather_worker_trades.json",
|
||||
"convert_trades_economy": true
|
||||
}
|
||||
},
|
||||
|
||||
"baby": {
|
||||
"minecraft:is_baby": { },
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.take_flower":{
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.play": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 0.32
|
||||
}
|
||||
},
|
||||
|
||||
"adult": {
|
||||
"minecraft:behavior.make_love": {
|
||||
"priority": 6
|
||||
},
|
||||
"minecraft:behavior.receive_love":{
|
||||
"priority": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": ["villager", "mob"]
|
||||
},
|
||||
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"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:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 1.9
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": true,
|
||||
"can_pass_doors": true,
|
||||
"can_open_doors": true,
|
||||
"can_walk": true,
|
||||
"avoid_water": true
|
||||
},
|
||||
"minecraft:annotation.open_door": {
|
||||
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 8,
|
||||
"private": true
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning" },
|
||||
"event": "become_witch"
|
||||
},
|
||||
"deals_damage": false
|
||||
},
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{"test": "is_family", "subject": "other", "value": "zombie"},
|
||||
{"test": "is_family", "subject": "other", "value": "husk"}
|
||||
],
|
||||
"all_of": [
|
||||
{"test": "has_damage", "value": "fatal"}
|
||||
]
|
||||
},
|
||||
"event": "become_zombie"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.trade_with_player": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_trading_player": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "zombie"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "zombie_villager"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "zombie_pigman"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "illager"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "vex"}
|
||||
]
|
||||
},
|
||||
"max_dist": 8,
|
||||
"walk_speed_multiplier": 0.6,
|
||||
"sprint_speed_multiplier": 0.6
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.move_indoors": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.restrict_open_door": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.open_door": {
|
||||
"priority": 6,
|
||||
"close_door_after": true
|
||||
},
|
||||
"minecraft:behavior.share_items": {
|
||||
"priority": 8,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2.0,
|
||||
"speed_multiplier": 0.5,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "villager"}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 9,
|
||||
"max_dist": 3,
|
||||
"goal_radius": 2,
|
||||
"speed_multiplier": 0.5,
|
||||
"can_pickup_to_hand_or_equipment": false
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 11,
|
||||
"speed_multiplier": 0.6
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 12,
|
||||
"look_distance": 8,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
"events":{
|
||||
"become_witch": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_witch"
|
||||
]
|
||||
}
|
||||
},
|
||||
"become_zombie": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {"test": "is_difficulty", "value": "normal"},
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 50,
|
||||
"add": { "component_groups": [ "become_zombie" ] }
|
||||
},
|
||||
{
|
||||
"weight": 50
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": {"test": "is_difficulty", "value": "hard"},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"become_zombie"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 95,
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
// Transform baby zombie to baby villager
|
||||
{
|
||||
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
// Transform adult zombie to adult villager
|
||||
{
|
||||
"filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" },
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
},
|
||||
|
||||
// Transform farmer zombie to farmer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "farmer"},
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform fisherman zombie to fisherman villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fisherman"},
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform shepherd zombie to shepherd villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform fletcher zombie to fletcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
// Transform librarian zombie to librarian villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform cartographer zombie to cartographer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform cleric zombie to cleric villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform armorer zombie to armorer villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform weaponsmith zombie to weaponsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform toolsmith zombie to toolsmith villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform butcher zombie to butcher villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
// Transform leatherworker zombie to leatherworker villager
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_farmer": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "farmer", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fisherman", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "shepherd", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": { "component_groups": [ "fletcher", "adult", "behavior_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_librarian": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "librarian", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_cleric": {
|
||||
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:spawn_armorer": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "armorer", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "weaponsmith", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 6,
|
||||
"add": { "component_groups": [ "toolsmith", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:spawn_butcher": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "butcher", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
{
|
||||
"weight": 10,
|
||||
"add": { "component_groups": [ "leatherworker", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"sequence": [
|
||||
{
|
||||
"remove": { "component_groups": [ "baby" ] },
|
||||
"add": { "component_groups": [ "adult" ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:become_cleric": {
|
||||
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
|
||||
"remove": { "component_groups": [ "baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is won
|
||||
"add": { "component_groups": [ "minecraft:celebrate"] }
|
||||
},
|
||||
|
||||
"minecraft:stop_celebrating": {
|
||||
"remove": { "component_groups": [ "minecraft:celebrate" ] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2467
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/villager_v2.json
vendored
Normal file
2467
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/villager_v2.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
535
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/wolf.json
vendored
Normal file
535
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/wolf.json
vendored
Normal file
@ -0,0 +1,535 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:wolf",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:wolf_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"chicken",
|
||||
"cooked_chicken",
|
||||
"beef",
|
||||
"cooked_beef",
|
||||
"muttonRaw",
|
||||
"muttonCooked",
|
||||
"porkchop",
|
||||
"cooked_porkchop",
|
||||
"rabbit",
|
||||
"cooked_rabbit",
|
||||
"rotten_flesh"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_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/wolf.json"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": true,
|
||||
"require_full_health": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:wolf",
|
||||
"baby_type": "minecraft:wolf",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"chicken",
|
||||
"cooked_chicken",
|
||||
"beef",
|
||||
"cooked_beef",
|
||||
"muttonRaw",
|
||||
"muttonCooked",
|
||||
"porkchop",
|
||||
"cooked_porkchop",
|
||||
"rabbit",
|
||||
"cooked_rabbit",
|
||||
"rotten_flesh"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_angry": {
|
||||
"minecraft:angry": {
|
||||
"duration": 25,
|
||||
"broadcast_anger": true,
|
||||
"broadcast_range": 20,
|
||||
"calm_event": {
|
||||
"event": "minecraft:on_calm",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.675, -0.1 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_wild": {
|
||||
"minecraft:behavior.avoid_mob_type": {
|
||||
"priority": 3,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test": "is_family", "subject": "other", "value": "llama" },
|
||||
"max_dist": 24,
|
||||
"walk_speed_multiplier": 1.5,
|
||||
"sprint_speed_multiplier": 1.5
|
||||
}
|
||||
],
|
||||
"probability_per_strength": 0.14
|
||||
},
|
||||
"minecraft:tameable": {
|
||||
"probability": 0.33,
|
||||
"tame_items": "bone",
|
||||
"tame_event": {
|
||||
"event": "minecraft:on_tame",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 4,
|
||||
"reselect_targets": true,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "skeleton"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "rabbit"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "fox"}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "baby_turtle"
|
||||
},
|
||||
{
|
||||
"test": "in_water",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "skeleton"
|
||||
},
|
||||
{
|
||||
"test": "is_underwater",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_target_acquired": {
|
||||
"event": "minecraft:become_angry",
|
||||
"target": "self"
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.675, -0.1 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:wolf_tame": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20,
|
||||
"max": 20
|
||||
},
|
||||
"minecraft:color": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0,
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 4
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
|
||||
"minecraft:behavior.owner_hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:behavior.owner_hurt_target": {
|
||||
"priority": 2
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 5,
|
||||
"must_see": true,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": { "test" : "is_family", "subject" : "other", "value" : "skeleton"},
|
||||
"max_dist": 16
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:sittable": {
|
||||
},
|
||||
"minecraft:is_dyeable": {
|
||||
"interact_text": "action.interact.dye"
|
||||
},
|
||||
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0,
|
||||
"on_leash": {
|
||||
"event": "minecraft:on_leash",
|
||||
"target": "self"
|
||||
},
|
||||
"on_unleash": {
|
||||
"event": "minecraft:on_unleash",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.8
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "wolf", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 8,
|
||||
"max": 8
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.3
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 3
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "porkchop",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_porkchop",
|
||||
"heal_amount": 8
|
||||
},
|
||||
{
|
||||
"item": "fish",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "salmon",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "clownfish",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "pufferfish",
|
||||
"heal_amount": 1
|
||||
},
|
||||
{
|
||||
"item": "cooked_fish",
|
||||
"heal_amount": 5
|
||||
},
|
||||
{
|
||||
"item": "cooked_salmon",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "beef",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_beef",
|
||||
"heal_amount": 8
|
||||
},
|
||||
{
|
||||
"item": "chicken",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "cooked_chicken",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "muttonRaw",
|
||||
"heal_amount": 2
|
||||
},
|
||||
{
|
||||
"item": "muttonCooked",
|
||||
"heal_amount": 6
|
||||
},
|
||||
{
|
||||
"item": "rotten_flesh",
|
||||
"heal_amount": 4
|
||||
},
|
||||
{
|
||||
"item": "rabbit",
|
||||
"heal_amount": 3
|
||||
},
|
||||
{
|
||||
"item": "cooked_rabbit",
|
||||
"heal_amount": 5
|
||||
},
|
||||
{
|
||||
"item": "rabbit_stew",
|
||||
"heal_amount": 10
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.25,
|
||||
"target_dist": 0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.stay_while_sitting": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:behavior.leap_at_target": {
|
||||
"priority": 4,
|
||||
"target_dist": 0.4
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 5
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 8,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 6,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.beg": {
|
||||
"priority": 9,
|
||||
"look_distance": 8,
|
||||
"look_time": [ 2, 4 ],
|
||||
"items": [ "bone", "porkchop", "cooked_porkchop", "chicken", "cooked_chicken",
|
||||
"beef", "cooked_beef", "rotten_flesh", "muttonraw", "muttoncooked", "rabbit", "cooked_rabbit" ]
|
||||
},
|
||||
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 3
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 9,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult",
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 1,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby",
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby",
|
||||
"minecraft:wolf_tame"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_set_baby": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_adult"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_tame"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:become_angry": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_angry"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_calm": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_angry"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:wolf_wild"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
273
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/zoglin.json
vendored
Normal file
273
servers/bedrock/behavior_packs/vanilla_1.18.10/entities/zoglin.json
vendored
Normal file
@ -0,0 +1,273 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:zoglin",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"zoglin_baby": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zoglin", "zoglin_baby", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": 1
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.85,
|
||||
"height": 0.85
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 1.0,
|
||||
"height": 0.85,
|
||||
"pivot": [ 0, 0.5, 0 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"zoglin_adult": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "zoglin", "zoglin_adult", "undead", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.9,
|
||||
"height": 0.9
|
||||
},
|
||||
"minecraft:custom_hit_test": {
|
||||
"hitboxes": [
|
||||
{
|
||||
"width": 2.0,
|
||||
"height": 1.75,
|
||||
"pivot": [ 0, 1, 0 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.hurt_by_target": {
|
||||
"priority": 1
|
||||
},
|
||||
"minecraft:attack": {
|
||||
"damage": [ 3, 8 ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:loot": {
|
||||
"table": "loot_tables/entities/zoglin.json"
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? 5 : 0"
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 40,
|
||||
"max": 40
|
||||
},
|
||||
"minecraft:knockback_resistance": {
|
||||
"value": 0.5
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 3,
|
||||
"within_radius": 16.0,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "zoglin"
|
||||
},
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "creeper"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.melee_attack": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.4,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.25
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"is_amphibious": true,
|
||||
"can_path_over_water": false,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:fire_immune": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 54
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_persistent",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "inactivity_timer",
|
||||
"subject": "self",
|
||||
"value": 30
|
||||
},
|
||||
{
|
||||
"test": "random_chance",
|
||||
"value": 800
|
||||
},
|
||||
{
|
||||
"test": "distance_to_nearest_player",
|
||||
"operator": ">",
|
||||
"value": 32
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "other",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:as_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:as_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"zoglin_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:desert_or_swamp_after_surface_fossil_deepslate_feature",
|
||||
"places_feature": "minecraft:deepslate_diamond_fossil_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "desert"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "swamp"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
"scatter_chance": {
|
||||
"numerator": 1,
|
||||
"denominator": 64
|
||||
},
|
||||
"x": 0,
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, -8 ]
|
||||
},
|
||||
"z": 0
|
||||
}
|
||||
}
|
||||
}
|
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/dripstone_cluster_feature.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/dripstone_cluster_feature.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:dripstone_cluster_feature",
|
||||
"places_feature": "minecraft:dripstone_cluster_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "dripstone_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": "Math.Random(48, 96)",
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/grove_pine_tree_feature.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/grove_pine_tree_feature.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:grove_pine_tree_feature",
|
||||
"places_feature": "minecraft:mountain_pine_tree_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "grove"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 3,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/grove_spruce_tree_feature.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/grove_spruce_tree_feature.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:grove_spruce_tree_feature",
|
||||
"places_feature": "minecraft:mountain_spruce_tree_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "grove"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 7,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/large_dripstone_feature.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/large_dripstone_feature.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:large_dripstone_feature",
|
||||
"places_feature": "minecraft:large_dripstone_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "dripstone_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": "0",
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_azalea_root_system_feature",
|
||||
"places_feature": "minecraft:azalea_root_system_snap_to_ceiling_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": "Math.Random(1, 2)",
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_cave_vines_feature",
|
||||
"places_feature": "minecraft:cave_vine_snap_to_ceiling_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 188,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_leaf_clay_feature",
|
||||
"places_feature": "minecraft:random_clay_with_dripleaves_snap_to_floor_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 62,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_moss_ceiling_feature",
|
||||
"places_feature": "minecraft:moss_ceiling_snap_to_ceiling_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 125,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_spore_blossom_feature",
|
||||
"places_feature": "minecraft:spore_blossom_snap_to_ceiling_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 25,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_vegetation_feature",
|
||||
"places_feature": "minecraft:moss_patch_snap_to_floor_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 125,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_after_surface_vines_feature",
|
||||
"places_feature": "minecraft:vines_single_face_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 256,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:lush_caves_underground_clay_ore_feature",
|
||||
"places_feature": "minecraft:clay_ore_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "underground_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "lush_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 46,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/small_dripstone_feature.json
vendored
Normal file
32
servers/bedrock/behavior_packs/vanilla_1.18.10/feature_rules/small_dripstone_feature.json
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:small_dripstone_feature",
|
||||
"places_feature": "minecraft:small_dripstone_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "dripstone_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": "Math.Random(192, 256)",
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:surface_pass_large_dripstone_feature",
|
||||
"places_feature": "minecraft:large_dripstone_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag", "operator": "==", "value": "dripstone_caves"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": "Math.Random(10, 48)",
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ -64, 256 ]
|
||||
},
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:warm_ocean_after_surface_coral_crust_feature",
|
||||
"places_feature": "minecraft:coral_crust_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
"scatter_chance": {
|
||||
"numerator": 1,
|
||||
"denominator": 3
|
||||
},
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 10 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 10 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:warm_ocean_after_surface_coral_feature",
|
||||
"places_feature": "minecraft:coral_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 4,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:warm_ocean_after_surface_coral_hang_feature",
|
||||
"places_feature": "minecraft:coral_hang_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 16,
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 16 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "minecraft:warm_ocean_after_surface_pickle_feature",
|
||||
"places_feature": "minecraft:pickle_feature"
|
||||
},
|
||||
"conditions": {
|
||||
"placement_pass": "after_surface_pass",
|
||||
"minecraft:biome_filter": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "==",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"iterations": 4,
|
||||
"scatter_chance": {
|
||||
"numerator": 1,
|
||||
"denominator": 6
|
||||
},
|
||||
"x": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 24 ]
|
||||
},
|
||||
"y": "query.above_top_solid(variable.worldx, variable.worldz)",
|
||||
"z": {
|
||||
"distribution": "uniform",
|
||||
"extent": [ 0, 24 ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
10
servers/bedrock/behavior_packs/vanilla_1.18.10/features/deepslate_diamond_fossil_feature.json
vendored
Normal file
10
servers/bedrock/behavior_packs/vanilla_1.18.10/features/deepslate_diamond_fossil_feature.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:fossil_feature": {
|
||||
"description": {
|
||||
"identifier": "minecraft:deepslate_diamond_fossil_feature"
|
||||
},
|
||||
"ore_block": "minecraft:deepslate_diamond_ore",
|
||||
"max_empty_corners": 4
|
||||
}
|
||||
}
|
28
servers/bedrock/behavior_packs/vanilla_1.18.10/features/diamond_ore_feature.json
vendored
Normal file
28
servers/bedrock/behavior_packs/vanilla_1.18.10/features/diamond_ore_feature.json
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:ore_feature": {
|
||||
"description": {
|
||||
"identifier": "minecraft:diamond_ore_feature"
|
||||
},
|
||||
"count": 4,
|
||||
"discard_chance_on_air_exposure": 0.5,
|
||||
"replace_rules": [
|
||||
{
|
||||
"places_block": "minecraft:diamond_ore",
|
||||
"may_replace": [
|
||||
{
|
||||
"name": "minecraft:stone"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"places_block": "minecraft:deepslate_diamond_ore",
|
||||
"may_replace": [
|
||||
{
|
||||
"name": "minecraft:deepslate"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
27
servers/bedrock/behavior_packs/vanilla_1.18.10/features/dripstone_caves_copper_ore_feature.json
vendored
Normal file
27
servers/bedrock/behavior_packs/vanilla_1.18.10/features/dripstone_caves_copper_ore_feature.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:ore_feature": {
|
||||
"description": {
|
||||
"identifier": "minecraft:dripstone_caves_copper_ore_feature"
|
||||
},
|
||||
"count": 20,
|
||||
"replace_rules": [
|
||||
{
|
||||
"places_block": "minecraft:copper_ore",
|
||||
"may_replace": [
|
||||
{
|
||||
"name": "minecraft:stone"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"places_block": "minecraft:deepslate_copper_ore",
|
||||
"may_replace": [
|
||||
{
|
||||
"name": "minecraft:deepslate"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
95
servers/bedrock/behavior_packs/vanilla_1.18.10/features/mountain_pine_tree_feature.json
vendored
Normal file
95
servers/bedrock/behavior_packs/vanilla_1.18.10/features/mountain_pine_tree_feature.json
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:tree_feature": {
|
||||
"description": {
|
||||
"identifier": "minecraft:mountain_pine_tree_feature"
|
||||
},
|
||||
"trunk": {
|
||||
"trunk_height": {
|
||||
"range_min": 7,
|
||||
"range_max": 12
|
||||
},
|
||||
"trunk_block": {
|
||||
"name": "minecraft:log",
|
||||
"states": {
|
||||
"old_log_type": "spruce"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pine_canopy": {
|
||||
"base_radius": 1,
|
||||
"canopy_height": {
|
||||
"range_min": 3,
|
||||
"range_max": 5
|
||||
},
|
||||
"leaf_block": {
|
||||
"name": "minecraft:leaves",
|
||||
"states": {
|
||||
"old_leaf_type": "spruce"
|
||||
}
|
||||
}
|
||||
},
|
||||
"base_block": [
|
||||
"minecraft:dirt",
|
||||
{
|
||||
"name": "minecraft:dirt",
|
||||
"states": {
|
||||
"dirt_type": "coarse"
|
||||
}
|
||||
}
|
||||
],
|
||||
"may_grow_on": [
|
||||
"minecraft:dirt",
|
||||
"minecraft:grass",
|
||||
"minecraft:podzol",
|
||||
"minecraft:dirt_with_roots",
|
||||
"minecraft:moss_block",
|
||||
"minecraft:snow",
|
||||
{
|
||||
"name": "minecraft:dirt",
|
||||
"states": {
|
||||
"dirt_type": "coarse"
|
||||
}
|
||||
}
|
||||
],
|
||||
"may_replace": [
|
||||
"minecraft:air",
|
||||
{
|
||||
"name": "minecraft:leaves",
|
||||
"states": {
|
||||
"old_leaf_type": "oak"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "minecraft:leaves",
|
||||
"states": {
|
||||
"old_leaf_type": "spruce"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "minecraft:leaves",
|
||||
"states": {
|
||||
"old_leaf_type": "birch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "minecraft:leaves",
|
||||
"states": {
|
||||
"old_leaf_type": "jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "minecraft:leaves2",
|
||||
"states": {
|
||||
"new_leaf_type": "acacia"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "minecraft:leaves2",
|
||||
"states": {
|
||||
"new_leaf_type": "dark_oak"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
30
servers/bedrock/behavior_packs/vanilla_1.18.10/manifest.json
vendored
Normal file
30
servers/bedrock/behavior_packs/vanilla_1.18.10/manifest.json
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"format_version": 2,
|
||||
"header": {
|
||||
"description": "resourcePack.vanilla_server.description",
|
||||
"name": "resourcePack.vanilla_server.name",
|
||||
"uuid": "fe9f8597-5454-481a-8730-8d070a8e2e58",
|
||||
"version": [
|
||||
1,
|
||||
18,
|
||||
10
|
||||
],
|
||||
"min_engine_version": [
|
||||
1,
|
||||
18,
|
||||
10
|
||||
]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"description": "resourcePack.vanilla_server.description",
|
||||
"type": "data",
|
||||
"uuid": "79fccc3b-7bad-4f4f-aa97-d98108e6aa33",
|
||||
"version": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_axe.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_axe.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_axe"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_axe",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_axe"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_boots.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_boots.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_boots"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_boots",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_boots"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_chestplate.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_chestplate.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_chestplate"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_chestplate",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_chestplate"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_helmet.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_helmet.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_helmet"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_helmet",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_helmet"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_hoe.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_hoe.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_hoe"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_hoe",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_hoe"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_leggings.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_leggings.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_leggings"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_leggings",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_leggings"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_pickaxe.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_pickaxe.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_pickaxe"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_pickaxe",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_pickaxe"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_shovel.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_shovel.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_shovel"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_shovel",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_shovel"
|
||||
}
|
||||
}
|
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_sword.json
vendored
Normal file
12
servers/bedrock/behavior_packs/vanilla_1.18.10/recipes/smithing_netherite_sword.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.12",
|
||||
"minecraft:recipe_smithing_transform": {
|
||||
"description": {
|
||||
"identifier": "minecraft:smithing_netherite_sword"
|
||||
},
|
||||
"tags": [ "smithing_table" ],
|
||||
"base": "minecraft:diamond_sword",
|
||||
"addition": "minecraft:netherite_ingot",
|
||||
"result": "minecraft:netherite_sword"
|
||||
}
|
||||
}
|
262
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/butcher_trades.json
vendored
Normal file
262
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/butcher_trades.json
vendored
Normal file
@ -0,0 +1,262 @@
|
||||
{
|
||||
"tiers": [
|
||||
{
|
||||
"total_exp_required": 0,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:chicken",
|
||||
"quantity": 14,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 2,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:rabbit",
|
||||
"quantity": 4,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 2,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:porkchop",
|
||||
"quantity": 7,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 2,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:rabbit_stew",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 1,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 10,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:coal:0",
|
||||
"quantity": 15,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:cooked_chicken",
|
||||
"quantity": 8
|
||||
}
|
||||
],
|
||||
"trader_exp": 5,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:cooked_porkchop",
|
||||
"quantity": 5
|
||||
}
|
||||
],
|
||||
"trader_exp": 5,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 70,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:beef",
|
||||
"quantity": 10,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 20,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:muttonraw",
|
||||
"quantity": 7,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 20,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 150,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:dried_kelp_block",
|
||||
"quantity": 10,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 30,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 250,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:sweet_berries",
|
||||
"quantity": 10,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 30,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
260
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/cartographer_trades.json
vendored
Normal file
260
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/cartographer_trades.json
vendored
Normal file
@ -0,0 +1,260 @@
|
||||
{
|
||||
"tiers": [
|
||||
{
|
||||
"total_exp_required": 0,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:paper",
|
||||
"quantity": 24,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 2,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 7,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emptymap:0",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 1,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 10,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:glass_pane",
|
||||
"quantity": 11,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 13,
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:compass",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:map",
|
||||
"functions": [
|
||||
{
|
||||
"function": "exploration_map",
|
||||
"destination": "monument"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 5,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 70,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:compass",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 20,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 14,
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:compass",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:map",
|
||||
"functions": [
|
||||
{
|
||||
"function": "exploration_map",
|
||||
"destination": "mansion"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 150,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 7,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:frame",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 15,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:banner",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "random_aux_value",
|
||||
"values": {
|
||||
"min": 0,
|
||||
"max": 15
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 15,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 250,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 8,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:banner_pattern:7",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 30,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
385
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/librarian_trades.json
vendored
Normal file
385
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/librarian_trades.json
vendored
Normal file
@ -0,0 +1,385 @@
|
||||
{
|
||||
"tiers": [
|
||||
{
|
||||
"total_exp_required": 0,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:paper",
|
||||
"quantity": 24,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 2,
|
||||
"max_uses": 16,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 9,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:bookshelf",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 1,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_book_for_trading",
|
||||
"base_cost": 2,
|
||||
"base_random_cost": 5,
|
||||
"per_level_random_cost": 10,
|
||||
"per_level_cost": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 1,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 10,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 4,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:lantern",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 5,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_book_for_trading",
|
||||
"base_cost": 2,
|
||||
"base_random_cost": 5,
|
||||
"per_level_random_cost": 10,
|
||||
"per_level_cost": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 5,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 70,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:dye:0",
|
||||
"quantity": 5,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 20,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:glass",
|
||||
"quantity": 4
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_book_for_trading",
|
||||
"base_cost": 2,
|
||||
"base_random_cost": 5,
|
||||
"per_level_random_cost": 10,
|
||||
"per_level_cost": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 10,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"total_exp_required": 150,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
// Book and quill can only have a single item per stack
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:writable_book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
},
|
||||
{
|
||||
"item": "minecraft:writable_book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 30,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 4,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:compass",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 15,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 5,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:clock",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 15,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
},
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"price_multiplier": 0.2
|
||||
},
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"price_multiplier": 0.2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:book",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "enchant_book_for_trading",
|
||||
"base_cost": 2,
|
||||
"base_random_cost": 5,
|
||||
"per_level_random_cost": 10,
|
||||
"per_level_cost": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"trader_exp": 15,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"total_exp_required": 250,
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 20,
|
||||
"price_multiplier": 0.05
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:nametag",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"trader_exp": 30,
|
||||
"max_uses": 12,
|
||||
"reward_exp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
698
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/wandering_trader_trades.json
vendored
Normal file
698
servers/bedrock/behavior_packs/vanilla_1.18.10/trading/economy_trades/wandering_trader_trades.json
vendored
Normal file
@ -0,0 +1,698 @@
|
||||
{
|
||||
"tiers": [
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"num_to_select": 5,
|
||||
"trades": [
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:sea_pickle"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 4
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:slime_ball"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 2
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:glowstone"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 5
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:nautilus_shell"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:tallgrass:2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:reeds"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 4,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:pumpkin"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:kelp"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:cactus"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:yellow_flower"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:3"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:4"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:7"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:8"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:9"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 7,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:red_flower:10"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:wheat_seeds"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:beetroot_seeds"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:pumpkin_seeds"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:melon_seeds"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"weight":4,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"choice": [
|
||||
{
|
||||
"item": "minecraft:wheat_seeds"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:pumpkin_seeds"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:melon_seeds"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:beetroot_seeds"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"weight":6,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 5
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:sapling",
|
||||
"functions": [
|
||||
{
|
||||
"function": "random_block_state",
|
||||
"block_state": "sapling_type",
|
||||
"values": {
|
||||
"min": 0,
|
||||
"max": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"weight":16,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:dye",
|
||||
"quantity": 3,
|
||||
"functions": [
|
||||
{
|
||||
"function": "random_aux_value",
|
||||
"values": {
|
||||
"min": 0,
|
||||
"max": 15
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"weight":5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:coral_block",
|
||||
"quantity": 1,
|
||||
"functions": [
|
||||
{
|
||||
"function": "random_block_state",
|
||||
"block_state": "coral_color",
|
||||
"values": {
|
||||
"min": 0,
|
||||
"max": 4
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:vine"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 12,
|
||||
"weight":2,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"choice": [
|
||||
{
|
||||
"item": "minecraft:brown_mushroom"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:red_mushroom"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:waterlily",
|
||||
"quantity": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:small_dripleaf_block",
|
||||
"quantity": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:sand:0",
|
||||
"quantity": 8
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 6,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:sand:1",
|
||||
"quantity": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:pointed_dripstone",
|
||||
"quantity": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:dirt_with_roots",
|
||||
"quantity": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 5,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:moss_block",
|
||||
"quantity": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"num_to_select": 1,
|
||||
"trades": [
|
||||
{
|
||||
"max_uses": 4,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 5
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:bucket:4"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 4,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 5
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:bucket:5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 6,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:packed_ice"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 6,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 6
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:blue_ice"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 8,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:gunpowder"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"max_uses": 6,
|
||||
"wants": [
|
||||
{
|
||||
"item": "minecraft:emerald",
|
||||
"quantity": 3
|
||||
}
|
||||
],
|
||||
"gives": [
|
||||
{
|
||||
"item": "minecraft:podzol",
|
||||
"quantity": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user