mirror of
https://github.com/guilhermewerner/tcc
synced 2025-06-17 07:25:14 +00:00
Add minecraft bedrock server
This commit is contained in:
272
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/allay.json
vendored
Normal file
272
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/allay.json
vendored
Normal file
@ -0,0 +1,272 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:allay",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"pickup_item_delay": {
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"time_down_event": {
|
||||
"event": "pickup_item_delay_complete"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pickup_item": {
|
||||
"minecraft:behavior.pickup_items": {
|
||||
"priority": 2,
|
||||
"max_dist": 32,
|
||||
"search_height": 32,
|
||||
"goal_radius": 2.2,
|
||||
"speed_multiplier": 6,
|
||||
"pickup_based_on_chance": false,
|
||||
"can_pickup_any_item": false,
|
||||
"can_pickup_to_hand_or_equipment": false,
|
||||
"pickup_same_items_as_in_hand": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {},
|
||||
"minecraft:type_family": {
|
||||
"family": [
|
||||
"allay",
|
||||
"mob"
|
||||
]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.35,
|
||||
"height": 0.6
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"totalSupply": 15,
|
||||
"suffocateTime": 0
|
||||
},
|
||||
"minecraft:nameable": {},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 20
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_owner",
|
||||
"subject": "other",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"deals_damage": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:flying_speed": {
|
||||
"value": 0.1
|
||||
},
|
||||
"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:follow_range": {
|
||||
"value": 1024
|
||||
},
|
||||
"minecraft:ambient_sound_interval": {
|
||||
"value": 5.0,
|
||||
"range": 5.0,
|
||||
"event_name": "ambient",
|
||||
"event_names": [
|
||||
{
|
||||
"event_name": "ambient.tame",
|
||||
"condition": "query.is_using_item"
|
||||
},
|
||||
{
|
||||
"event_name": "ambient",
|
||||
"condition": "!query.is_using_item"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:jump.static": {},
|
||||
"minecraft:can_fly": {},
|
||||
"minecraft:physics": {
|
||||
"has_gravity": false
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:vibration_listener": {},
|
||||
"minecraft:conditional_bandwidth_optimization": {},
|
||||
"minecraft:game_event_movement_tracking": {
|
||||
"emit_flap": true
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"inventory_size": 1
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "player"
|
||||
},
|
||||
{
|
||||
"test": "is_sneaking",
|
||||
"subject": "other",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"give_item": true,
|
||||
"take_item": true,
|
||||
"interact_text": "action.interact.allay"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 2.0
|
||||
},
|
||||
"minecraft:behavior.go_and_give_items_to_noteblock": {
|
||||
"priority": 3,
|
||||
"run_speed": 8,
|
||||
"throw_sound": "item_thrown",
|
||||
"on_item_throw": [
|
||||
{
|
||||
"event": "pickup_item_delay",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.go_and_give_items_to_owner": {
|
||||
"priority": 4,
|
||||
"run_speed": 8,
|
||||
"throw_sound": "item_thrown",
|
||||
"on_item_throw": [
|
||||
{
|
||||
"event": "pickup_item_delay",
|
||||
"target": "self"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.stay_near_noteblock": {
|
||||
"priority": 5,
|
||||
"speed": 8,
|
||||
"start_distance": 16,
|
||||
"stop_distance": 4
|
||||
},
|
||||
"minecraft:behavior.follow_owner": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 8,
|
||||
"start_distance": 16,
|
||||
"stop_distance": 4,
|
||||
"can_teleport": false,
|
||||
"ignore_vibration": false
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 7
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:behavior.random_hover": {
|
||||
"priority": 9,
|
||||
"xz_dist": 8,
|
||||
"y_dist": 8,
|
||||
"y_offset": -1,
|
||||
"interval": 1,
|
||||
"hover_height": [
|
||||
1,
|
||||
4
|
||||
]
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"pickup_item_delay": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"pickup_item"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"pickup_item_delay"
|
||||
]
|
||||
}
|
||||
},
|
||||
"pickup_item_delay_complete": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"pickup_item_delay"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"pickup_item"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"pickup_item"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
886
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/bee.json
vendored
Normal file
886
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/bee.json
vendored
Normal file
@ -0,0 +1,886 @@
|
||||
{
|
||||
"format_version": "1.18.20",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:bee",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false,
|
||||
"properties": {
|
||||
"minecraft:has_nectar": {
|
||||
"type": "bool",
|
||||
"client_sync": true,
|
||||
"default": "query.had_component_group('has_nectar')"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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
|
||||
"minecraft:mangrove_propagule",
|
||||
"minecraft:pitcher_plant",
|
||||
"minecraft:torchflower",
|
||||
"minecraft:cherry_leaves",
|
||||
"minecraft:pink_petals"
|
||||
],
|
||||
"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
|
||||
"minecraft:mangrove_propagule",
|
||||
"minecraft:pitcher_plant",
|
||||
"minecraft:torchflower",
|
||||
"minecraft:cherry_leaves",
|
||||
"minecraft:pink_petals"
|
||||
]
|
||||
}
|
||||
},
|
||||
"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_block_filters": { "test": "is_waterlogged", "subject": "block", "operator": "==", "value": false },
|
||||
"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
|
||||
"minecraft:mangrove_propagule",
|
||||
"minecraft:pitcher_plant",
|
||||
"minecraft:torchflower",
|
||||
"minecraft:cherry_leaves",
|
||||
"minecraft:pink_petals"
|
||||
],
|
||||
"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: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": "bool_property",
|
||||
"domain": "minecraft:has_nectar",
|
||||
"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:mangrove_propagule",
|
||||
"minecraft:pitcher_plant",
|
||||
"minecraft:torchflower",
|
||||
"minecraft:cherry_leaves",
|
||||
"minecraft:pink_petals"
|
||||
]
|
||||
},
|
||||
"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:game_event_movement_tracking": {
|
||||
"emit_flap": true
|
||||
},
|
||||
"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,
|
||||
"sources" : [
|
||||
{
|
||||
"test": "has_silk_touch",
|
||||
"subject": "other",
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": false
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": false
|
||||
}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"set_property": {
|
||||
"minecraft:has_nectar": true
|
||||
}
|
||||
},
|
||||
"find_hive_event": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"return_to_home",
|
||||
"hive_full"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"find_hive"
|
||||
]
|
||||
}
|
||||
},
|
||||
"find_hive_timeout": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "bool_property",
|
||||
"operator": "!=",
|
||||
"domain": "minecraft:has_nectar"
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"find_hive",
|
||||
"escape_fire"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"look_for_food"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "bool_property",
|
||||
"domain": "minecraft:has_nectar"
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
321
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/boat.json
vendored
Normal file
321
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/boat.json
vendored
Normal file
@ -0,0 +1,321 @@
|
||||
{
|
||||
"format_version": "1.19.80",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:floating": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride_default": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ -0.6, -0.2, 0.0 ],
|
||||
"min_rider_count": 2,
|
||||
"max_rider_count": 2,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride_bamboo": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.0, 0.1, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": -90,
|
||||
"lock_rider_rotation": 90
|
||||
},
|
||||
{
|
||||
"position": [ 0.2, 0.1, 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.1, 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: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:entity_spawned": {
|
||||
"trigger": "minecraft:add_can_ride"
|
||||
},
|
||||
"minecraft:add_can_ride": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": 7
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:can_ride_default"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 7
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:can_ride_bamboo"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:add_can_ride"
|
||||
},
|
||||
"minecraft:sink": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride_default",
|
||||
"minecraft:can_ride_bamboo",
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
340
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/camel.json
vendored
Normal file
340
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/camel.json
vendored
Normal file
@ -0,0 +1,340 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:camel",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:camel_saddled": {
|
||||
"minecraft:is_saddled": {
|
||||
},
|
||||
"minecraft:input_ground_controlled": {
|
||||
},
|
||||
"minecraft:dash": {
|
||||
"cooldown_time": 2.75,
|
||||
"horizontal_momentum": 20.0,
|
||||
"vertical_momentum": 0.6
|
||||
},
|
||||
"minecraft:behavior.player_ride_tamed": {
|
||||
}
|
||||
},
|
||||
"minecraft:camel_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.45
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "cactus",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 2.5
|
||||
}
|
||||
},
|
||||
"minecraft:camel_adult": {
|
||||
"minecraft:inventory": {
|
||||
"container_type": "horse"
|
||||
},
|
||||
"minecraft:equippable": {
|
||||
"slots": [
|
||||
{
|
||||
"slot": 0,
|
||||
"item": "saddle",
|
||||
"accepted_items": [ "saddle" ],
|
||||
"on_equip": {
|
||||
"event": "minecraft:camel_saddled"
|
||||
},
|
||||
"on_unequip": {
|
||||
"event": "minecraft:camel_unsaddled"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"play_sounds": "saddle",
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" },
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" },
|
||||
{ "test": "is_family", "subject": "other", "value": "player" },
|
||||
{ "test": "is_sneaking", "subject": "other", "value": false }
|
||||
]
|
||||
},
|
||||
"target": "self"
|
||||
},
|
||||
"equip_item_slot": 0,
|
||||
"interact_text": "action.interact.saddle"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"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:camel",
|
||||
"baby_type": "minecraft:camel",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"breed_items": [
|
||||
"cactus"
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 2,
|
||||
"crouching_skip_interact": true,
|
||||
"pull_in_entities": true,
|
||||
"family_types": [
|
||||
"player"
|
||||
],
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"seats": [
|
||||
{
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 2,
|
||||
"position": [ 0.0, 1.905, 0.5 ]
|
||||
},
|
||||
{
|
||||
"min_rider_count": 1,
|
||||
"max_rider_count": 2,
|
||||
"position": [ 0.0, 1.905, -0.5 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:camel_standing": {
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.7,
|
||||
"height": 2.375
|
||||
}
|
||||
},
|
||||
"minecraft:camel_sitting": {
|
||||
"minecraft:persist_sit": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": false,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.7,
|
||||
"height": 0.945
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_tamed": {
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "cactus",
|
||||
"heal_amount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "camel", "mob" ]
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 32
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.09
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0,
|
||||
"sink_with_passengers": true
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 4
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 2.5,
|
||||
"can_tempt_vertically": true,
|
||||
"items": [ "cactus" ]
|
||||
},
|
||||
"minecraft:behavior.random_look_around_and_sit": {
|
||||
"priority": 4,
|
||||
"continue_if_leashed": true,
|
||||
"min_look_count": 2,
|
||||
"max_look_count": 5,
|
||||
"min_look_time": 80,
|
||||
"max_look_time": 100,
|
||||
"min_angle_of_view_horizontal": -30,
|
||||
"max_angle_of_view_horizontal": 30,
|
||||
"random_look_around_cooldown": 5,
|
||||
"probability": 0.001
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 2
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:variable_max_auto_step": {
|
||||
"base_value": 1.5625,
|
||||
"controlled_value": 1.5625,
|
||||
"jump_prevented_value": 0.5625
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "minecraft:spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"trigger": "minecraft:entity_born"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_adult",
|
||||
"minecraft:camel_standing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_baby",
|
||||
"minecraft:camel_standing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:camel_saddled": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:camel_unsaddled": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_saddled"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:start_sitting": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_sitting"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_standing"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:stop_sitting": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_standing"
|
||||
]
|
||||
},
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:camel_sitting"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
295
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/chest_boat.json
vendored
Normal file
295
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/chest_boat.json
vendored
Normal file
@ -0,0 +1,295 @@
|
||||
{
|
||||
"format_version": "1.18.10",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:chest_boat",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:floating": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": true,
|
||||
"big_wave_probability": 0.03,
|
||||
"big_wave_speed": 10.0,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride_default": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.2, -0.2, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:can_ride_bamboo": {
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"passenger_max_width": 1.375,
|
||||
"interact_text": "action.interact.ride.boat",
|
||||
"pull_in_entities": true,
|
||||
"seats": [
|
||||
{
|
||||
"position": [ 0.2, 0.1, 0.0 ],
|
||||
"min_rider_count": 0,
|
||||
"max_rider_count": 1,
|
||||
"rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0",
|
||||
"lock_rider_rotation": 90
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_down": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:timer": {
|
||||
"looping": false,
|
||||
"time": 3,
|
||||
"time_down_event": {
|
||||
"event": "minecraft:sink",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
},
|
||||
"minecraft:above_bubble_column_up": {
|
||||
"minecraft:buoyant": {
|
||||
"base_buoyancy": 1.0,
|
||||
"apply_gravity": true,
|
||||
"simulate_waves": false,
|
||||
"liquid_blocks": [
|
||||
"minecraft:water",
|
||||
"minecraft:flowing_water"
|
||||
],
|
||||
"drag_down_on_buoyancy_removed": 0.7
|
||||
},
|
||||
"minecraft:out_of_control": {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:type_family": {
|
||||
"family": [ "boat", "inanimate" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.4,
|
||||
"height": 0.455
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:inventory": {
|
||||
"container_type": "chest_boat",
|
||||
"inventory_size": 27,
|
||||
"can_be_siphoned_from": true
|
||||
},
|
||||
"minecraft: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:entity_spawned": {
|
||||
"trigger": "minecraft:add_can_ride"
|
||||
},
|
||||
"minecraft:add_can_ride": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": 7
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:can_ride_default"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"test": "is_variant",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": 7
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:can_ride_bamboo"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:add_can_ride"
|
||||
},
|
||||
"minecraft:sink": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:floating",
|
||||
"minecraft:can_ride_default",
|
||||
"minecraft:can_ride_bamboo",
|
||||
"minecraft:above_bubble_column_down",
|
||||
"minecraft:above_bubble_column_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
255
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/chicken.json
vendored
Normal file
255
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/chicken.json
vendored
Normal file
@ -0,0 +1,255 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:chicken",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"minecraft:chicken_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds",
|
||||
"pitcher_pod",
|
||||
"torchflower_seeds"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:chicken_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/chicken.json"
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:chicken",
|
||||
"baby_type": "minecraft:chicken",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"breed_items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds",
|
||||
"pitcher_pod",
|
||||
"torchflower_seeds"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 0.4, 0.0 ]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_entity": {
|
||||
"entities": {
|
||||
"min_wait_time": 300,
|
||||
"max_wait_time": 600,
|
||||
"spawn_sound": "plop",
|
||||
"spawn_item": "egg",
|
||||
"filters": {
|
||||
"test": "rider_count", "subject": "self", "operator": "==", "value": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "chicken", "mob" ]
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.6,
|
||||
"height": 0.8
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 4,
|
||||
"max": 4
|
||||
},
|
||||
"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:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": false
|
||||
}
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
"mass": 0.5
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 1.5
|
||||
},
|
||||
"minecraft:behavior.mount_pathing": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.5,
|
||||
"target_dist": 0.0,
|
||||
"track_target": true
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.0,
|
||||
"items": [
|
||||
"wheat_seeds",
|
||||
"beetroot_seeds",
|
||||
"melon_seeds",
|
||||
"pumpkin_seeds",
|
||||
"pitcher_pod",
|
||||
"torchflower_seeds"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"look_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 8
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:game_event_movement_tracking": {
|
||||
"emit_flap": true
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"from_egg": {
|
||||
"add": { "component_groups": [ "minecraft:chicken_baby" ] }
|
||||
},
|
||||
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "minecraft:spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:chicken_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
80
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/fireball.json
vendored
Normal file
80
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/fireball.json
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
{
|
||||
"format_version": "1.12.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:fireball",
|
||||
"is_spawnable": false,
|
||||
"is_summonable": false,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:exploding": {
|
||||
"minecraft:explode": {
|
||||
"fuse_length": 0,
|
||||
"fuse_lit": true,
|
||||
"power": 1,
|
||||
"causes_fire": true,
|
||||
"fire_affected_by_griefing": true,
|
||||
"destroy_affected_by_griefing": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.0,
|
||||
"height": 1.0
|
||||
},
|
||||
"minecraft:projectile": {
|
||||
|
||||
"on_hit": {
|
||||
"impact_damage": {
|
||||
"damage": 6,
|
||||
"knockback": false,
|
||||
"semi_random_diff_damage": false
|
||||
},
|
||||
"definition_event": {
|
||||
"affect_projectile": true,
|
||||
"event_trigger": {
|
||||
"event": "minecraft:explode",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"power": 1.6,
|
||||
"gravity": 0.00,
|
||||
"inertia": 1,
|
||||
"liquid_inertia": 1,
|
||||
"uncertainty_base": 0,
|
||||
"uncertainty_multiplier": 0,
|
||||
"anchor": 2,
|
||||
"offset": [ 0, -1.5, 0 ],
|
||||
"reflect_on_hurt": true,
|
||||
"catch_fire": true
|
||||
},
|
||||
"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": 7,
|
||||
"use_motion_prediction_hints": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:explode": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:exploding"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
527
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/frog.json
vendored
Normal file
527
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/frog.json
vendored
Normal file
@ -0,0 +1,527 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:frog",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
"component_groups": {
|
||||
"temperate_frog": {
|
||||
"minecraft:variant": { "value": 0 }
|
||||
},
|
||||
"cold_frog": {
|
||||
"minecraft:variant": { "value": 1 }
|
||||
},
|
||||
"warm_frog": {
|
||||
"minecraft:variant": { "value": 2 }
|
||||
},
|
||||
"pregnant": {
|
||||
"minecraft:behavior.lay_egg": {
|
||||
"priority": 2,
|
||||
"speed_multiplier": 1.0,
|
||||
"search_range": 10,
|
||||
"search_height": 3,
|
||||
"goal_radius": 1.7,
|
||||
"target_blocks": [ "minecraft:water" ],
|
||||
"target_materials_above_block": [ "Air" ],
|
||||
"allow_laying_from_below": true,
|
||||
"use_default_animation": false,
|
||||
"lay_seconds": 2,
|
||||
"egg_type": "minecraft:frog_spawn",
|
||||
"lay_egg_sound": "lay_spawn",
|
||||
"on_lay": {
|
||||
"event": "laid_egg",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.move_to_water": {
|
||||
"priority": 3,
|
||||
"search_range": 20,
|
||||
"search_height": 5,
|
||||
"goal_radius": 1.5
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "frog", "mob" ]
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 0.5,
|
||||
"height": 0.55
|
||||
},
|
||||
"minecraft:experience_reward": {
|
||||
"on_bred": "Math.Random(1,7)",
|
||||
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0,
|
||||
"breathes_water": true,
|
||||
"breathes_air": true,
|
||||
"generates_bubbles": false
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 10
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": {
|
||||
"cause": "fall",
|
||||
"deals_damage": true,
|
||||
"damage_modifier": -5
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.1
|
||||
},
|
||||
"minecraft:underwater_movement": {
|
||||
"value": 0.15
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:pushable": {
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
},
|
||||
"minecraft:despawn": {
|
||||
"despawn_from_distance": {}
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"causes_pregnancy": true,
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:frog",
|
||||
"baby_type": "minecraft:tadpole",
|
||||
"breed_event": {
|
||||
"event": "become_pregnant"
|
||||
}
|
||||
},
|
||||
"breed_items": [ "slime_ball" ]
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 2.0
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 4
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"can_tempt_vertically": true,
|
||||
"items": [ "slime_ball" ]
|
||||
},
|
||||
"minecraft:behavior.move_to_land": {
|
||||
"priority": 6,
|
||||
"search_range": 30,
|
||||
"search_height": 8,
|
||||
"search_count": 80,
|
||||
"goal_radius": 2
|
||||
},
|
||||
"minecraft:behavior.eat_mob": {
|
||||
"priority": 7,
|
||||
"run_speed": 2.0,
|
||||
"eat_animation_time": 0.30,
|
||||
"pull_in_force": 0.75,
|
||||
"reach_mob_distance": 1.75,
|
||||
"eat_mob_sound": "tongue",
|
||||
"loot_table": "loot_tables/entities/frog.json"
|
||||
},
|
||||
"minecraft:behavior.nearest_attackable_target": {
|
||||
"priority": 8,
|
||||
"within_radius": 16,
|
||||
"entity_types": [
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "slime"
|
||||
},
|
||||
{
|
||||
"test": "is_variant",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_family",
|
||||
"subject": "other",
|
||||
"value": "magmacube"
|
||||
},
|
||||
{
|
||||
"test": "is_variant",
|
||||
"subject": "other",
|
||||
"operator": "==",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_dist": 16
|
||||
}
|
||||
],
|
||||
"must_see": true
|
||||
},
|
||||
"minecraft:behavior.croak": {
|
||||
"priority": 9,
|
||||
"interval": [ 10, 20 ],
|
||||
"duration": 4.5,
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "in_water",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "in_lava",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.jump_to_block": {
|
||||
"priority": 10,
|
||||
"search_width": 8,
|
||||
"search_height": 4,
|
||||
"minimum_path_length": 2,
|
||||
"minimum_distance": 1,
|
||||
"scale_factor": 0.6,
|
||||
"max_velocity": 1,
|
||||
"cooldown_range": [ 5, 7 ],
|
||||
"preferred_blocks": [
|
||||
"minecraft:waterlily",
|
||||
"minecraft:big_dripleaf"
|
||||
],
|
||||
"preferred_blocks_chance": 0.5,
|
||||
"forbidden_blocks": [
|
||||
"minecraft:water"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 11
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 12,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [ "temperate_frog" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "desert"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "jungle"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "savanna"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mesa"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "nether"
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "lukewarm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mangrove_swamp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "warm_frog" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mountain"
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mountains"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "meadow"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "cherry_grove"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "stony_peaks"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ice"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "cold"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "frozen"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "the_end"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "deep_dark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "cold_frog" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"spawn_temperate": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"temperate_frog"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_cold": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"cold_frog"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_warm": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"warm_frog"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_transformed": {
|
||||
"sequence": [
|
||||
{
|
||||
"add": {
|
||||
"component_groups": [ "temperate_frog" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "desert"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "jungle"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "savanna"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mesa"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "nether"
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "warm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "lukewarm"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ocean"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mangrove_swamp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "warm_frog" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"any_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mountain"
|
||||
},
|
||||
{
|
||||
"all_of": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "mountains"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "meadow"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "cherry_grove"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"operator": "!=",
|
||||
"value": "stony_peaks"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "ice"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "cold"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "frozen"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "the_end"
|
||||
},
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "deep_dark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [ "cold_frog" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"become_pregnant": {
|
||||
"add": {
|
||||
"component_groups": [ "pregnant" ]
|
||||
}
|
||||
},
|
||||
"laid_egg": {
|
||||
"remove": {
|
||||
"component_groups": [ "pregnant" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
794
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/mooshroom.json
vendored
Normal file
794
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/mooshroom.json
vendored
Normal file
@ -0,0 +1,794 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:mooshroom",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": false
|
||||
},
|
||||
|
||||
"component_groups": {
|
||||
"minecraft:mooshroom_become_cow": {
|
||||
"minecraft:transformation": {
|
||||
"into": "minecraft:cow"
|
||||
}
|
||||
},
|
||||
"minecraft:cow_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value":0.5
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 1200,
|
||||
"feed_items": "wheat",
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 1.1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:cow_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/mooshroom.json"
|
||||
},
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"minecraft:breedable": {
|
||||
"require_tame": false,
|
||||
"breed_items": "wheat",
|
||||
"breeds_with": {
|
||||
"mate_type": "minecraft:mooshroom",
|
||||
"baby_type": "minecraft:mooshroom",
|
||||
"breed_event": {
|
||||
"event": "minecraft:entity_born",
|
||||
"target": "baby"
|
||||
}
|
||||
},
|
||||
"deny_parents_variant": {
|
||||
"chance": 0.00098, // Roughly 1/1024
|
||||
"min_variant": 0,
|
||||
"max_variant": 1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:interact": {
|
||||
"interactions": [
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bowl"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:flowerless",
|
||||
"target": "self"
|
||||
},
|
||||
"add_items": {
|
||||
"table": "loot_tables/gameplay/entities/mooshroom_milking.json"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "milk_suspiciously",
|
||||
"interact_text": "action.interact.moostew"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // allium
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:2"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 7}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_allium",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // bluet
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:3"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 3}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_bluet",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // orchid
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:1"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 6}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_orchid",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // cornflower
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:9"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_cornflower",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // Dandelion
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "yellow_flower"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 5}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_dandelion",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // lily of the valley
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:10"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 4}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_lily",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // daisy
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:8"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 8}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_daisy",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // poppy
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:0"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 0}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_poppy",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // tulips
|
||||
"any_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:4"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:5"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:6"},
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_flower:7"}
|
||||
],
|
||||
"all_of": [
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 2}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_tulip",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // rose
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "wither_rose"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 9}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_rose",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": { // torchflower
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "torchflower"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1},
|
||||
{ "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 10}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:ate_torchflower",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": true,
|
||||
"play_sounds": "eat",
|
||||
"particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.feed"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 0}
|
||||
]
|
||||
},
|
||||
"event": "become_cow",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"spawn_items": { "table": "loot_tables/entities/mooshroom_shear.json" },
|
||||
"particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.mooshear",
|
||||
"vibration": "shear"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
|
||||
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"},
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1}
|
||||
]
|
||||
},
|
||||
"event": "become_cow",
|
||||
"target": "self"
|
||||
},
|
||||
"use_item": false,
|
||||
"hurt_item": 1,
|
||||
"play_sounds": "shear",
|
||||
"spawn_items": { "table": "loot_tables/entities/brown_mooshroom_shear.json" },
|
||||
"particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true },
|
||||
"interact_text": "action.interact.mooshear",
|
||||
"vibration": "shear"
|
||||
},
|
||||
{
|
||||
"on_interact": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bucket:0"},
|
||||
{ "test" : "is_family", "subject" : "other", "value" : "player"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"use_item": true,
|
||||
"transform_to_item": "bucket:1",
|
||||
"play_sounds": "milk",
|
||||
"interact_text": "action.interact.milk"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_fed_nothing": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": -1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_poppy": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_cornflower": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_tulips": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 2
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_azure_bluet": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 3
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_lily_of_the_valley": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_dandelion": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 5
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_blue_orchid": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_allium": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 7
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_oxeye_daisy": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 8
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_wither_rose": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 9
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown_fed_torchflower": {
|
||||
"minecraft:mark_variant": {
|
||||
"value": 10
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_red": {
|
||||
"minecraft:variant": {
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:mooshroom_brown": {
|
||||
"minecraft:variant": {
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"components": {
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "mushroomcow", "mob" ]
|
||||
},
|
||||
"minecraft:mark_variant": {
|
||||
"value": -1
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"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.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:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:balloonable": {
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"family_types": [
|
||||
"zombie"
|
||||
],
|
||||
"seats": {
|
||||
"position": [ 0.0, 1.105, 0.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": 2,
|
||||
"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": [
|
||||
"wheat"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.follow_parent": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.1
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 6,
|
||||
"speed_multiplier": 0.8
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 7,
|
||||
"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": {
|
||||
},
|
||||
"minecraft:damage_sensor": {
|
||||
"triggers": [
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "lightning" },
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 0 }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:become_brown"
|
||||
},
|
||||
"deals_damage": false,
|
||||
"on_damage_sound_event": "convert_mooshroom"
|
||||
},
|
||||
{
|
||||
"on_damage": {
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{ "test": "is_family", "subject": "other", "value": "lightning" },
|
||||
{ "test": "is_variant", "subject": "self", "operator": "==", "value": 1 }
|
||||
]
|
||||
},
|
||||
"event": "minecraft:become_red"
|
||||
},
|
||||
"deals_damage": false,
|
||||
"on_damage_sound_event": "convert_mooshroom"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"events": {
|
||||
"become_cow": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_become_cow"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult",
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby",
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"minecraft:entity_born": {
|
||||
"remove": {
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:flowerless": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_allium": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_allium"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_cornflower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_cornflower"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_lily": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_lily_of_the_valley"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_rose": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_wither_rose"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_torchflower": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_torchflower"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_orchid": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_blue_orchid"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_daisy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_oxeye_daisy"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_tulip": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_tulips"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_bluet": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_azure_bluet"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_poppy": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_poppy"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:ate_dandelion": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown_fed_dandelion"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_red": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_brown": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_brown_adult": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:cow_adult",
|
||||
"minecraft:mooshroom_fed_nothing"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:become_red_adult": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_brown",
|
||||
"minecraft:cow_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:mooshroom_red",
|
||||
"minecraft:cow_adult"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
351
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/parrot.json
vendored
Normal file
351
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/parrot.json
vendored
Normal file
@ -0,0 +1,351 @@
|
||||
{
|
||||
"format_version": "1.19.0",
|
||||
"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",
|
||||
"pitcher_pod",
|
||||
"torchflower_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
|
||||
}
|
||||
},
|
||||
"minecraft:parrot_not_riding_player": {
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.0,
|
||||
"relative_range": false,
|
||||
"event_filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "equals",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "equals",
|
||||
"value": "minecraft:behavior.look_at_player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_riding_player"
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 1,
|
||||
"look_distance": 8.0
|
||||
}
|
||||
},
|
||||
"minecraft:parrot_riding_player": {
|
||||
"minecraft:entity_sensor": {
|
||||
"sensor_range": 2.0,
|
||||
"relative_range": false,
|
||||
"event_filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "equals",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "not",
|
||||
"value": "minecraft:behavior.look_at_player"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "minecraft:on_not_riding_player"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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:conditional_bandwidth_optimization": {
|
||||
},
|
||||
"minecraft:game_event_movement_tracking": {
|
||||
"emit_flap": true
|
||||
},
|
||||
"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",
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_blue",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild",
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_green",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild",
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_cyan",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild",
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"weight": 20,
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_silver",
|
||||
"minecraft:parrot_adult",
|
||||
"minecraft:parrot_wild",
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:on_tame": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_wild"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_tame"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_riding_player": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_riding_player"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:on_not_riding_player": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_riding_player"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:parrot_not_riding_player"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
324
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/pig.json
vendored
Normal file
324
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/pig.json
vendored
Normal file
@ -0,0 +1,324 @@
|
||||
{
|
||||
"format_version": "1.20.0",
|
||||
"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": 1.35,
|
||||
"duration": 3.0,
|
||||
"boost_items": [
|
||||
{
|
||||
"item": "carrotOnAStick",
|
||||
"damage": 2,
|
||||
"replace_item": "fishing_rod"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:rideable": {
|
||||
"seat_count": 1,
|
||||
"interact_text": "action.interact.ride.horse",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
387
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/sniffer.json
vendored
Normal file
387
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/sniffer.json
vendored
Normal file
@ -0,0 +1,387 @@
|
||||
{
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "minecraft:sniffer",
|
||||
"is_spawnable": true,
|
||||
"is_summonable": true,
|
||||
"is_experimental": true
|
||||
},
|
||||
"component_groups": {
|
||||
"sniffer_baby": {
|
||||
"minecraft:is_baby": {
|
||||
},
|
||||
"minecraft:scale": {
|
||||
"value": 0.45
|
||||
},
|
||||
"minecraft:ageable": {
|
||||
"duration": 2400,
|
||||
"feed_items": [
|
||||
"torchflower_seeds"
|
||||
],
|
||||
"grow_up": {
|
||||
"event": "minecraft:ageable_grow_up",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sniffer_adult": {
|
||||
"minecraft:behavior.breed": {
|
||||
"priority": 3,
|
||||
"speed_multiplier": 1.0
|
||||
},
|
||||
"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,
|
||||
"causes_pregnancy": true,
|
||||
"breeds_with": [
|
||||
{
|
||||
"mate_type": "minecraft:sniffer",
|
||||
"breed_event": {
|
||||
"event": "on_pregnant",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
],
|
||||
"breed_items": [
|
||||
"torchflower_seeds"
|
||||
]
|
||||
}
|
||||
},
|
||||
"feeling_happy": {
|
||||
"minecraft:behavior.feeling_happy": {
|
||||
"priority": 5,
|
||||
"cooldown_range": 0.0,
|
||||
"duration_range": [ 2.0, 5.0 ],
|
||||
"on_end": {
|
||||
"event": "on_feeling_happy_end",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"stand_up": {
|
||||
"minecraft:behavior.rising": {
|
||||
"priority": 2,
|
||||
"cooldown_range": 0.0,
|
||||
"duration_range": [ 2.0, 5.0 ],
|
||||
"on_end": {
|
||||
"event": "on_rising_end",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
},
|
||||
"pushable": {
|
||||
"minecraft:pushable": {
|
||||
"is_pushable": true,
|
||||
"is_pushable_by_piston": true
|
||||
}
|
||||
},
|
||||
"sniffer_pregnant": {
|
||||
"minecraft:spawn_entity": {
|
||||
"entities": {
|
||||
"min_wait_time": 0,
|
||||
"max_wait_time": 0,
|
||||
"spawn_sound": "plop",
|
||||
"spawn_item": "sniffer_egg",
|
||||
"spawn_item_event": {
|
||||
"event": "on_egg_spawned",
|
||||
"target": "self"
|
||||
},
|
||||
"single_use": true
|
||||
}
|
||||
},
|
||||
"minecraft:is_pregnant": {}
|
||||
},
|
||||
"sniffer_search_and_dig": {
|
||||
"minecraft:behavior.random_search_and_dig": {
|
||||
"priority": 5,
|
||||
"speed_multiplier": 1.25,
|
||||
"find_valid_position_retries": 5,
|
||||
"goal_radius": 2.0,
|
||||
"search_range_xz": 20.0,
|
||||
"search_range_y": 3,
|
||||
"cooldown_range": 0.0,
|
||||
"digging_duration_range": [ 8.0, 10.0 ],
|
||||
"items": [
|
||||
{
|
||||
"item": "torchflower_seeds",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"item": "pitcher_pod",
|
||||
"weight": 1
|
||||
}
|
||||
],
|
||||
"spawn_item_after_seconds": 6.0,
|
||||
"spawn_item_pos_offset": 2.25,
|
||||
"on_searching_start": {
|
||||
"event": "on_searching_start",
|
||||
"target": "self"
|
||||
},
|
||||
"on_fail_during_searching": {
|
||||
"event": "on_fail_during_searching",
|
||||
"target": "self"
|
||||
},
|
||||
"on_digging_start": {
|
||||
"event": "on_digging_start",
|
||||
"target": "self"
|
||||
},
|
||||
"on_item_found": {
|
||||
"event": "on_item_found",
|
||||
"target": "self"
|
||||
},
|
||||
"on_fail_during_digging": {
|
||||
"event": "on_fail_during_digging",
|
||||
"target": "self"
|
||||
},
|
||||
"on_success": {
|
||||
"event": "on_search_and_digging_success",
|
||||
"target": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:behavior.float": {
|
||||
"priority": 0
|
||||
},
|
||||
"minecraft:behavior.panic": {
|
||||
"priority": 1,
|
||||
"speed_multiplier": 2
|
||||
},
|
||||
"minecraft:behavior.tempt": {
|
||||
"priority": 4,
|
||||
"speed_multiplier": 1.25,
|
||||
"items": [
|
||||
"torchflower_seeds"
|
||||
]
|
||||
},
|
||||
"minecraft:behavior.scenting": {
|
||||
"priority": 6,
|
||||
"cooldown_range": [ 400.0, 500.0 ],
|
||||
"duration_range": 2.0,
|
||||
"on_end": {
|
||||
"event": "on_scenting_success",
|
||||
"target": "self"
|
||||
}
|
||||
},
|
||||
"minecraft:behavior.random_stroll": {
|
||||
"priority": 7,
|
||||
"speed_multiplier": 1
|
||||
},
|
||||
"minecraft:behavior.look_at_player": {
|
||||
"priority": 8,
|
||||
"target_distance": 6.0,
|
||||
"probability": 0.02
|
||||
},
|
||||
"minecraft:behavior.random_look_around": {
|
||||
"priority": 9
|
||||
},
|
||||
"minecraft:collision_box": {
|
||||
"width": 1.9,
|
||||
"height": 1.75
|
||||
},
|
||||
"minecraft:healable": {
|
||||
"items": [
|
||||
{
|
||||
"item": "torchflower_seeds",
|
||||
"heal_amount": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:leashable": {
|
||||
"soft_distance": 4.0,
|
||||
"hard_distance": 6.0,
|
||||
"max_distance": 10.0
|
||||
},
|
||||
"minecraft:type_family": {
|
||||
"family": [ "sniffer", "mob" ]
|
||||
},
|
||||
"minecraft:is_hidden_when_invisible": {
|
||||
},
|
||||
"minecraft:breathable": {
|
||||
"total_supply": 15,
|
||||
"suffocate_time": 0
|
||||
},
|
||||
"minecraft:nameable": {
|
||||
},
|
||||
"minecraft:health": {
|
||||
"value": 14
|
||||
},
|
||||
"minecraft:hurt_on_condition": {
|
||||
"damage_conditions": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "in_lava",
|
||||
"subject": "self",
|
||||
"operator": "==",
|
||||
"value": true
|
||||
},
|
||||
"cause": "lava",
|
||||
"damage_per_tick": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:navigation.walk": {
|
||||
"can_path_over_water": true,
|
||||
"avoid_water": true,
|
||||
"avoid_damage_blocks": true
|
||||
},
|
||||
"minecraft:movement.basic": {
|
||||
},
|
||||
"minecraft:follow_range": {
|
||||
"value": 64.0
|
||||
},
|
||||
"minecraft:jump.static": {
|
||||
},
|
||||
"minecraft:can_climb": {
|
||||
},
|
||||
"minecraft:movement": {
|
||||
"value": 0.09
|
||||
},
|
||||
"minecraft:persistent": {
|
||||
},
|
||||
"minecraft:physics": {
|
||||
},
|
||||
"minecraft:conditional_bandwidth_optimization": {
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"minecraft:entity_spawned": {
|
||||
"randomize": [
|
||||
{
|
||||
"weight": 95,
|
||||
"trigger": "minecraft:spawn_adult"
|
||||
},
|
||||
{
|
||||
"weight": 5,
|
||||
"trigger": "minecraft:entity_born"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minecraft:spawn_adult": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"sniffer_adult",
|
||||
"pushable"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:entity_born": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"sniffer_baby",
|
||||
"pushable"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_pregnant": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"sniffer_pregnant"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_egg_spawned": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"sniffer_pregnant"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:ageable_grow_up": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"sniffer_baby"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"sniffer_adult"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_scenting_success": {
|
||||
"sequence": [
|
||||
{
|
||||
"filters": {
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "!=",
|
||||
"value": "minecraft:is_baby"
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"sniffer_search_and_dig"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"on_digging_start": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"pushable"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_item_found": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"feeling_happy"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_feeling_happy_end": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"feeling_happy"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_fail_during_searching": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"sniffer_search_and_dig"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_fail_during_digging": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"sniffer_search_and_dig"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"pushable",
|
||||
"stand_up"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_search_and_digging_success": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"sniffer_search_and_digging"
|
||||
]
|
||||
},
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"pushable",
|
||||
"stand_up"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_rising_end": {
|
||||
"remove": {
|
||||
"component_groups": [
|
||||
"stand_up"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
502
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/strider.json
vendored
Normal file
502
servers/bedrock/behavior_packs/vanilla_1.20.0/entities/strider.json
vendored
Normal file
@ -0,0 +1,502 @@
|
||||
{
|
||||
"format_version": "1.20.0",
|
||||
"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": 1.35,
|
||||
"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": "minecraft:spawn_baby_strider_jockey"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "equals",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "not",
|
||||
"value": "minecraft:behavior.move_to_liquid"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "on_not_riding_parent"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"filters": {
|
||||
"all_of": [
|
||||
{
|
||||
"test": "is_riding",
|
||||
"subject": "self",
|
||||
"operator": "equals",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"test": "has_component",
|
||||
"subject": "self",
|
||||
"operator": "not",
|
||||
"value": "minecraft:behavior.move_to_liquid"
|
||||
}
|
||||
]
|
||||
},
|
||||
"event": "on_not_riding_parent"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"minecraft:strider_pathing_behaviors": {
|
||||
"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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"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.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",
|
||||
"minecraft:strider_pathing_behaviors"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_parent_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_parent_jockey",
|
||||
"minecraft:strider_unsaddled",
|
||||
"minecraft:detect_suffocating",
|
||||
"minecraft:strider_pathing_behaviors"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_adult_piglin_jockey": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_adult",
|
||||
"minecraft:strider_saddled",
|
||||
"minecraft:strider_piglin_jockey",
|
||||
"minecraft:detect_suffocating",
|
||||
"minecraft:strider_pathing_behaviors"
|
||||
]
|
||||
}
|
||||
},
|
||||
"spawn_baby": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_baby",
|
||||
"minecraft:detect_suffocating",
|
||||
"minecraft:strider_pathing_behaviors"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minecraft:spawn_baby_strider_jockey": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"on_not_riding_parent": {
|
||||
"add": {
|
||||
"component_groups": [
|
||||
"minecraft:strider_pathing_behaviors"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user