Add minecraft bedrock server

This commit is contained in:
2024-09-09 13:28:08 -03:00
parent 54e5f3000c
commit 236b4b2960
4640 changed files with 688839 additions and 66 deletions

View File

@ -0,0 +1,831 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:bee",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"bee_baby": {
"minecraft:is_baby": {},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:0", // Sunflower
"minecraft:double_plant:1", // Lilac
"minecraft:double_plant:4", // Rose Bush
"minecraft:double_plant:5" // Peony
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 8,
"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": 6,
"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
]
}
},
"track_attacker": {
"minecraft:behavior.hurt_by_target": {
"priority": 2
}
},
"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": 3,
"target_dist": 1.2,
"track_target": false,
"attack_once": true,
"reach_multiplier": 2.0,
"look_distance": 30,
"untrackable_cooldown_delay": 17,
"speed_multiplier": 9,
"target_tracking": {
"refresh_period_min": 4,
"refresh_period_max": 11,
"backoff": [
{
"distance_squared_gt": 256,
"refresh_period_delta": 50
},
{
"distance_squared_gt": 1024,
"refresh_period_delta": 100
}
]
},
"on_attack": {
"event": "countdown_to_perish_event",
"target": "self"
}
}
},
"escape_fire": {
"minecraft:behavior.panic": {
"priority": 4,
"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": 3,
"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": 11,
"tick_interval": 1,
"start_chance": 0.5,
"search_range": 6,
"search_height": 4,
"goal_radius": 1.0,
"stay_duration": 20.0,
"target_selection_method": "random",
"target_offset": [0, 0.25, 0],
"target_blocks": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:sweet_berry_bush",
"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
],
"on_stay_completed": [
{
"event": "collected_nectar",
"target": "self"
}
]
},
"minecraft:timer": {
"looping": true,
"time": 180,
"time_down_event": {
"event": "find_flower_timeout"
}
},
"minecraft:ambient_sound_interval" :{
"event_name" : "ambient.pollinate",
"range" : 3.0,
"value" : 2.0
}
},
"has_nectar": {
"minecraft:is_charged": {},
"minecraft:grows_crop": {
"charges": 10,
"chance": 0.03
}
},
"return_to_home": {
"minecraft:behavior.go_home": {
"priority": 5,
"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": 11,
"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": "is_weather",
"value": "clear",
"operator": "!="
}
]
},
{ // Assume we are already going home if we have nectar
"test": "has_component",
"value": "minecraft:is_charged",
"operator": "!="
},
{ // Assume we are already going home if we have nectar
"test": "has_biome_tag",
"value": "overworld"
}
]
}
}
]
}
},
"abort_shelter_detection": {
"minecraft:environment_sensor": {
"triggers": [
{
"event": "abort_sheltering",
"filters": {
"all_of": [
{
"test": "is_weather",
"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:behavior.tempt": {
"priority": 7,
"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: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:behavior.float": {
"priority": 20
},
"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:home": {},
"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_path_from_air": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"avoid_sun": false
},
"minecraft:movement.hover": {},
"minecraft:jump.static": {},
"minecraft:can_fly": {},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:nameable": {},
"minecraft:block_sensor": {
"sensor_radius": 16,
"on_break": [
{
"block_list": [
"minecraft:beehive", "minecraft:bee_nest"
],
"on_block_broken": "hive_destroyed"
}
]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"bee_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"bee_baby"
]
}
}
]
},
{
"add": {
"component_groups": [
"track_attacker",
"shelter_detection",
"look_for_food"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"bee_baby",
"shelter_detection",
"track_attacker",
"look_for_food"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"bee_baby"
]
},
"add": {
"component_groups": [
"bee_adult"
]
}
},
"minecraft:exited_disturbed_hive": {
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection",
"shelter_detection",
"escape_fire"
]
}
},
"hive_destroyed": {
"sequence": [
{
"filters": {
"test": "is_family",
"subject": "self",
"operator": "!=",
"value": "pacified"
},
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"escape_fire"
]
}
}
]
},
"stop_panicking_after_fire" : {
"remove": {
"component_groups": [
"escape_fire"
]
}
},
"minecraft:exited_hive_on_fire": {
"add": {
"component_groups": [
"escape_fire"
]
}
},
"minecraft:exited_hive": {
"add": {
"component_groups": [
"look_for_food",
"shelter_detection"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection"
]
}
},
"minecraft:hive_full": {
"add": {
"component_groups": [
"hive_full"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home"
]
}
},
"attacked": {
"sequence": [
{
"add": {
"component_groups": [
"angry_bee"
]
},
"remove": {
"component_groups": [
"take_nearest_target"
]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "easy"},
"remove": {
"component_groups": [ "normal_attack", "hard_attack" ]
},
"add": {
"component_groups": [ "easy_attack" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "normal"},
"remove": {
"component_groups": [ "easy_attack", "hard_attack" ]
},
"add": {
"component_groups": [ "normal_attack" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "hard"},
"remove": {
"component_groups": [ "easy_attack", "normal_attack" ]
},
"add": {
"component_groups": [ "hard_attack" ]
}
}
]
},
"calmed_down": {
"add" : {
"component_groups": [
"shelter_detection",
"return_to_home"
]
},
"remove": {
"component_groups": [
"angry_bee",
"take_nearest_target"
]
}
},
"collected_nectar": {
"remove": {
"component_groups": [
"look_for_food"
]
},
"add": {
"component_groups": [
"return_to_home",
"has_nectar",
"default_sound"
]
}
},
"find_hive_event": {
"remove": {
"component_groups": [
"return_to_home",
"hive_full"
]
},
"add": {
"component_groups": [
"find_hive"
]
}
},
"find_hive_timeout": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"remove": {
"component_groups": [
"find_hive",
"escape_fire"
]
},
"add": {
"component_groups": [
"look_for_food"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"remove": {
"component_groups": [
"find_hive"
]
},
"add": {
"component_groups": [
"return_to_home"
]
}
}
]
},
"find_flower_timeout": {
"remove": {
"component_groups": [
"look_for_food"
]
},
"add": {
"component_groups": [
"return_to_home"
]
}
},
"seek_shelter": {
"remove": {
"component_groups": [
"look_for_food",
"collect_nectar",
"shelter_detection"
]
},
"add": {
"component_groups": [
"default_sound",
"return_to_home",
"abort_shelter_detection"
]
}
},
"abort_sheltering": {
"remove": {
"component_groups": [
"abort_shelter_detection",
"return_to_home",
"escape_fire"
]
},
"add": {
"component_groups": [
"shelter_detection",
"look_for_food"
]
}
},
"countdown_to_perish_event" : {
"remove": {
"component_groups": [
"collect_nectar",
"track_attacker",
"take_nearest_target",
"look_for_food",
"angry_bee",
"hive_full",
"escape_fire",
"find_hive"
]
},
"add": {
"component_groups": [
"countdown_to_perish"
]
}
},
"perish_event":{
"add": {
"component_groups": [
"perish"
]
}
}
}
}
}

View File

@ -0,0 +1,418 @@
{
"format_version": "1.14.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:dolphin",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:dolphin_adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/dolphin.json"
},
"minecraft:bribeable": {
"bribe_items": [ "fish", "salmon" ]
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"track_target": true
}
},
"minecraft:dolphin_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.65
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "fish", "salmon" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 4,
"speed_multiplier": 1.1
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
}
},
"minecraft:dolphin_angry": {
"minecraft:angry": {
"duration": 25,
"broadcast_anger": true,
"broadcast_range": 16,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
}
},
"minecraft:dolphin_dried": {
"minecraft:damage_over_time": {
"damage_per_hurt": 1,
"time_between_hurt": 0
}
},
"minecraft:dolphin_swimming_navigation": {
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true,
"can_sink": false
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{
"test": "on_ground",
"operator": "==",
"value": true
},
{
"test": "in_water",
"operator": "!=",
"value": true
}
]
},
"event": "minecraft:navigation_on_land"
}
]
}
},
"minecraft:dolphin_on_land": {
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": true,
"can_swim": true,
"can_walk": true,
"can_breach": false,
"can_jump": false
},
"minecraft:timer": {
"looping": false,
"time": 20,
"time_down_event": {
"event": "minecraft:dried_out"
}
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "in_water_or_rain",
"operator": "==",
"value": true
},
"event": "minecraft:stop_dryingout"
}
]
}
},
"minecraft:dolphin_on_land_in_rain": {
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": true,
"can_swim": true,
"can_walk": true,
"can_breach": false,
"can_jump": false
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "in_water",
"operator": "==",
"value": true
},
"event": "minecraft:navigation_off_land"
},
{
"filters": {
"test": "in_water_or_rain",
"operator": "!=",
"value": true
},
"event": "minecraft:start_dryingout"
}
]
}
}
},
"components": {
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "dolphin", "mob" ]
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.6
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:follow_range": {
"value": 48,
"max": 48
},
"minecraft:breathable": {
"total_supply": 240,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": false,
"generates_bubbles": false
},
"minecraft:attack": {
"damage": 3
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": true,
"can_swim": true,
"can_walk": false,
"can_breach": true,
"can_sink": false
},
"minecraft:underwater_movement": {
"value": 0.15
},
"minecraft:jump.static": {
"jump_power": 0.6
},
"minecraft:can_climb": {
},
"minecraft:behavior.random_swim": {
"priority": 5,
"interval": 0,
"xz_dist": 20
},
"minecraft:behavior.random_breach": {
"priority": 6,
"interval": 50,
"xz_dist": 6,
"cooldown_time": 2.0
},
"minecraft:behavior.random_look_around": {
"priority": 7
},
"minecraft:behavior.avoid_mob_type": {
"priority": 2,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "guardian_elder"
},
{
"test": "is_family",
"subject": "other",
"value": "guardian"
}
]
},
"max_dist": 8,
"walk_speed_multiplier": 1.0,
"sprint_speed_multiplier": 1.0
}
],
"probability_per_strength": 0.14
},
"minecraft:behavior.find_underwater_treasure": {
"priority": 2,
"speed_multiplier": 2.0,
"search_range": 30,
"stop_distance": 50
},
"minecraft:behavior.move_to_water": {
"priority": 1,
"search_range": 15,
"search_height": 5
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:flocking": {
"in_water": false,
"match_variants": false,
"use_center_of_mass": false,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 6.0,
"breach_influence": 0.0,
"separation_weight": 1.75,
"separation_threshold": 3.0,
"cohesion_weight": 1.85,
"cohesion_threshold": 6.5,
"innner_cohesion_threshold": 3.5,
"min_height": 4.0,
"max_height": 4.0,
"block_distance": 1.0,
"block_weight": 0.0
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:on_calm",
"target": "self"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 90,
"add": {
"component_groups": [
"minecraft:dolphin_adult",
"minecraft:dolphin_swimming_navigation"
]
}
},
{
"weight": 10,
"add": {
"component_groups": [
"minecraft:dolphin_baby",
"minecraft:dolphin_swimming_navigation"
]
}
}
]
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:dolphin_baby"
]
},
"add": {
"component_groups": [
"minecraft:dolphin_adult"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:dolphin_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:dolphin_angry"
]
}
},
"minecraft:stop_dryingout": {
"remove": {
"component_groups": [
"minecraft:dolphin_on_land",
"minecraft:dolphin_dried"
]
},
"add": {
"component_groups": [ "minecraft:dolphin_on_land_in_rain" ]
}
},
"minecraft:start_dryingout": {
"remove": {
"component_groups": [ "minecraft:dolphin_on_land_in_rain" ]
},
"add": {
"component_groups": [
"minecraft:dolphin_on_land"
]
}
},
"minecraft:dried_out": {
"add": {
"component_groups": [ "minecraft:dolphin_dried" ]
}
},
"minecraft:navigation_on_land": {
"add": {
"component_groups": [ "minecraft:dolphin_on_land" ]
},
"remove": {
"component_groups": [ "minecraft:dolphin_swimming_navigation" ]
}
},
"minecraft:navigation_off_land": {
"add": {
"component_groups": [ "minecraft:dolphin_swimming_navigation" ]
},
"remove": {
"component_groups": [
"minecraft:dolphin_on_land_in_rain",
"minecraft:dolphin_on_land",
"minecraft:dolphin_dried"
]
}
}
}
}
}

View File

@ -0,0 +1,390 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:drowned",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:baby_drowned": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:is_baby": {},
"minecraft:scale": {
"value": 0.5
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:underwater_movement": {
"value": 0.08
}
},
"minecraft:adult_drowned": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/drowned.json"
}
},
"minecraft:mode_switcher": {
"minecraft:target_nearby_sensor": {
"inside_range": 3.0,
"outside_range": 5.0,
"on_inside_range": {
"event": "minecraft:switch_to_melee",
"target": "self"
},
"on_outside_range": {
"event": "minecraft:switch_to_ranged",
"target": "self"
}
},
"minecraft:equipment": {
"table": "loot_tables/entities/drowned_ranged_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.offhand",
"drop_chance": 1.0
}
]
}
},
"minecraft:ranged_mode": {
"minecraft:shooter": {
"def": "minecraft:thrown_trident"
},
"minecraft:behavior.ranged_attack": {
"priority": 3,
"attack_interval_min": 1,
"attack_interval_max": 3,
"attack_radius": 10
}
},
"minecraft:melee_mode": {
"minecraft:attack": {
"damage": 3
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"speed_multiplier": 1,
"track_target": false,
"require_complete_path": true
},
"minecraft:equipment": {
"table": "loot_tables/entities/drowned_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.offhand",
"drop_chance": 1.0
}
]
}
},
"minecraft:hunter_mode": {
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_break_doors": true,
"can_swim": true,
"can_walk": true,
"avoid_sun": true
}
},
"minecraft:wander_mode": {
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_break_doors": true,
"can_swim": false,
"can_walk": true,
"avoid_sun": true
}
}
},
"components": {
"minecraft:nameable": {
},
// Zombie Components
"minecraft:type_family": {
"family": [ "drowned", "zombie", "undead", "monster", "mob" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:annotation.break_door": {
},
"minecraft:underwater_movement": {
"value": 0.06
},
"minecraft:movement.generic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:burns_in_daylight": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": true
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_break_doors": true,
"can_swim": false,
"can_walk": true,
"avoid_sun": true
},
"minecraft:behavior.flee_sun": {
"priority": 2,
"speed_multiplier": 1
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 3,
"goal_radius": 1.14,
"search_count": 4,
"interval": 20
},
"minecraft:behavior.move_towards_restriction": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 7
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"within_radius": 12,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20
},
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 20
}
],
"must_see": true,
"must_see_forget_duration": 17.0,
"persist_time": 0.5
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:on_target_acquired": {
"event": "minecraft:has_target",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:lost_target",
"target": "self"
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 15,
"remove": {
},
"add": {
"component_groups": [
"minecraft:mode_switcher",
"minecraft:ranged_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 85,
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
}
]
}
]
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
"minecraft:switch_to_melee": {
"remove": {
"component_groups": [
"minecraft:ranged_mode"
]
},
"add": {
"component_groups": [
"minecraft:melee_mode"
]
}
},
"minecraft:switch_to_ranged": {
"remove": {
"component_groups": [
"minecraft:melee_mode"
]
},
"add": {
"component_groups": [
"minecraft:ranged_mode"
]
}
},
"minecraft:has_target": {
"remove": {
"component_groups": [
"minecraft:wander_mode"
]
},
"add": {
"component_groups": [
"minecraft:hunter_mode"
]
}
},
"minecraft:lost_target": {
"remove": {
"component_groups": [
"minecraft:hunter_mode"
]
},
"add": {
"component_groups": [
"minecraft:wander_mode"
]
}
}
}
}
}

View File

@ -0,0 +1,385 @@
{
"format_version": "1.14.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ocelot",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:ocelot_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "fish", "salmon" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:ocelot_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/ocelot.json"
},
"minecraft:scale": {
"value": 1
}
},
"minecraft:ocelot_wild": {
"minecraft:trusting": {
"probability": 0.33,
"trust_items": [ "fish", "salmon" ],
"trust_event": {
"event": "minecraft:on_trust",
"target": "self"
}
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 0.5,
"within_radius": 16,
"can_get_scared": true,
"items": [
"fish",
"salmon"
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 10,
"walk_speed_multiplier": 0.8,
"sprint_speed_multiplier": 1.33
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.35, 0.0 ]
}
}
},
"minecraft:ocelot_trusting": {
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 0.5,
"within_radius": 16,
"items": [
"fish",
"salmon"
]
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:ocelot",
"baby_type": "minecraft:ocelot",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "fish", "salmon" ]
}
},
// minecraft:ocelot_tame is only here for backwards compatibility purposes, ocelots are no longer tameable in Vanilla Minecraft
"minecraft:ocelot_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:sittable": {
},
"minecraft:behavior.follow_owner": {
"priority": 4,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.ocelot_sit_on_block": {
"priority": 6,
"speed_multiplier": 1.0
}
}
},
"components": {
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack_damage": {
"value": 3
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "ocelot", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.7
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"attack_interval": 10,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 8
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.leap_at_target": {
"priority": 3,
"target_dist": 0.3
},
"minecraft:behavior.ocelotattack": {
"priority": 4,
"walk_speed_multiplier": 0.8,
"sprint_speed_multiplier": 1.33,
"sneak_speed_multiplier": 0.6
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"on_leash": {
"event": "minecraft:on_leash",
"target": "self"
},
"on_unleash": {
"event": "minecraft:on_unleash",
"target": "self"
}
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:ocelot_adult",
"minecraft:ocelot_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:ocelot_baby",
"minecraft:ocelot_wild"
]
}
}
]
}
]
},
"minecraft:entity_born": {
"sequence": [
{
"remove": {
},
"add": {
"component_groups": [
"minecraft:ocelot_baby",
"minecraft:ocelot_trusting"
]
}
}
]
},
"minecraft:entity_born_wild": {
"remove": {
"component_groups": [
"minecraft:ocelot_trusting"
]
},
"add": {
"component_groups": [
"minecraft:ocelot_baby",
"minecraft:ocelot_wild"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:ocelot_baby"
]
},
"add": {
"component_groups": [
"minecraft:ocelot_adult"
]
}
},
"minecraft:on_trust": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:ocelot_wild"
]
}
},
{
"add": {
"component_groups": [
"minecraft:ocelot_trusting"
]
}
}
]
},
// Leashing and unleashing are only here for backwards compatibility purposes, ocelots are no longer leashable in Vanilla Minecraft
"minecraft:on_leash": {
"add": {
"component_groups": [
"minecraft:ocelot_leashed"
]
}
},
"minecraft:on_unleash": {
"remove": {
"component_groups": [
"minecraft:ocelot_leashed"
]
}
}
}
}
}

View File

@ -0,0 +1,692 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:panda",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:panda_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.4
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": "bamboo",
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.roll": {
"priority": 12,
"probability": 0.0016
},
"minecraft:behavior.follow_parent": {
"priority": 13,
"speed_multiplier": 1.1
},
"minecraft:on_target_acquired": {
"event": "minecraft:on_scared",
"target": "self"
},
"minecraft:behavior.sneeze": {
"priority": 7,
"probability": 0.0001666,
"cooldown_time": 1.0,
"within_radius": 10.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"subject": "other",
"value": "panda"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
},
{
"test": "on_ground",
"operator": "==",
"value": true
}
]
},
"max_dist": 10
}
],
"drop_item_chance": 0.001,
"loot_table": "loot_tables/entities/panda_sneeze.json",
"prepare_sound": "presneeze",
"prepare_time": 1.0,
"sound": "sneeze"
}
},
"minecraft:panda_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/panda.json"
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"blend_attributes": false,
"environment_requirements": {
"blocks": "bamboo",
"count": 8,
"radius": 5
},
"breed_items": "bamboo",
"breeds_with": {
"mate_type": "minecraft:panda",
"baby_type": "minecraft:panda",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"mutation_factor": {
"variant": 1.0
}
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:on_calm",
"target": "self"
},
"minecraft:attack": {
"damage": 2.0
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"target_dist": 1.2,
"track_target": true,
"attack_once": true,
"reach_multiplier": 1.0
}
},
"minecraft:panda_lazy": {
"minecraft:variant": {
"value": 1
},
"minecraft:behavior.lay_down": {
"priority": 5,
"interval": 400,
"random_stop_interval": 2000
},
"minecraft:behavior.random_sitting": {
"priority": 6,
"start_chance": 0.02,
"stop_chance": 0.2,
"cooldown": 25,
"min_sit_time": 15
},
"minecraft:behavior.snacking": {
"priority": 3,
"snacking_cooldown": 17.5,
"snacking_cooldown_min": 10,
"snacking_stop_chance": 0.0011,
"items": [
"bamboo",
"cake"
]
},
"minecraft:behavior.panic": {
"priority": 1,
// Lazy panda's move half the speed, so double their multiplier when they panic
// Otherwise, they don't actually look like they're panicking
"speed_multiplier": 2.5
},
"minecraft:movement": {
"value": 0.07
}
},
"minecraft:panda_worried": {
"minecraft:variant": {
"value": 2
},
"minecraft:behavior.scared": {
"priority": 1,
"sound_interval": 20
},
"minecraft:behavior.avoid_mob_type": {
"priority": 5,
"max_dist": 16,
"max_flee": 20,
"entity_types": [
{
"filters": {
"test": "is_family",
"operator": "!=",
"subject": "other",
"value": "panda"
},
"max_dist": 16,
"walk_speed_multiplier": 1.0,
"sprint_speed_multiplier": 1.5
}
]
}
},
"minecraft:panda_playful": {
"minecraft:variant": {
"value": 3
},
"minecraft:behavior.roll": {
"priority": 12,
"probability": 0.013
}
},
"minecraft:panda_brown": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:panda_weak": {
"minecraft:variant": {
"value": 5
},
"minecraft:health": {
"value": 10,
"max": 10
}
},
"minecraft:panda_sneezing": {
"minecraft:behavior.sneeze": {
"priority": 7,
"probability": 0.002,
"cooldown_time": 1.0,
"within_radius": 10.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"subject": "other",
"value": "panda"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
},
{
"test": "on_ground",
"operator": "==",
"value": true
}
]
},
"max_dist": 10
}
],
"drop_item_chance": 0.001,
"loot_table": "loot_tables/entities/panda_sneeze.json",
"prepare_sound": "presneeze",
"prepare_time": 1.0,
"sound": "sneeze"
}
},
"minecraft:panda_aggressive": {
"minecraft:type_family": {
"family": [ "panda" , "panda_aggressive", "mob" ]
},
"minecraft:variant": {
"value": 6
},
"minecraft:attack": {
"damage": 6.0
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"target_dist": 1.2,
"track_target": true,
"reach_multiplier": 1.0
},
"minecraft:on_friendly_anger": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
// Aggressive pandas don't panic from mob damage
"ignore_mob_damage": true
}
},
"minecraft:panda_angry": {
"minecraft:angry": {
"duration": 500,
"broadcast_anger": true,
"broadcast_range": 41,
"broadcast_filters": {
"test": "is_family",
"operator": "==",
"value": "panda_aggressive"
},
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
}
},
"minecraft:baby_scared": {
"minecraft:angry": {
"duration": 1,
"broadcast_anger": true,
"broadcast_range": 41,
"broadcast_filters": {
"test": "is_family",
"operator": "==",
"value": "panda_aggressive"
},
"calm_event": {
"event": "minecraft:baby_on_calm",
"target": "self"
}
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "panda" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_float": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:scale": {
"value": 1.0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:giveable": {
"triggers": {
"cooldown": 3.0,
"items": [
"bamboo",
"cake"
],
"on_give": {
"event": "minecraft:on_calm",
"target": "self"
}
}
},
"minecraft:inventory": {
"inventory_size": 1,
"private": true
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:collision_box": {
"width": 1.7,
"height": 1.5
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.15
},
"minecraft:water_movement": {
"drag_factor": 0.98
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.random_sitting": {
"priority": 5,
"start_chance": 0.01,
"stop_chance": 0.3,
"cooldown": 30,
"min_sit_time": 10
},
"minecraft:behavior.snacking": {
"priority": 2,
"snacking_cooldown": 22.5,
"snacking_cooldown_min": 20,
"snacking_stop_chance": 0.001334,
"items": [
"bamboo",
"cake"
]
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 1.25,
"items": [
"bamboo"
]
},
"minecraft:behavior.random_stroll": {
"priority": 14,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:balloonable": {
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.105, 0.0 ]
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:variant": {
"value": 0
},
"minecraft:genetics": {
"mutation_rate": 0.03125,
"genes": [
{
"name": "panda_variant",
"allele_range": {
"range_min": 0,
"range_max": 15
},
"genetic_variants": [
{
"main_allele": 0,
"birth_event": {
"event": "minecraft:panda_lazy",
"target": "self"
}
},
{
"main_allele": 1,
"birth_event": {
"event": "minecraft:panda_worried",
"target": "self"
}
},
{
"main_allele": 2,
"birth_event": {
"event": "minecraft:panda_playful",
"target": "self"
}
},
{
"main_allele": 3,
"birth_event": {
"event": "minecraft:panda_aggressive",
"target": "self"
}
},
{
"both_allele": {
"range_min": 4,
"range_max": 7
},
"birth_event": {
"event": "minecraft:panda_weak",
"target": "self"
}
},
{
"both_allele": {
"range_min": 8,
"range_max": 9
},
"birth_event": {
"event": "minecraft:panda_brown",
"target": "self"
}
}
]
}
]
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"minecraft:panda_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"minecraft:panda_baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:panda_baby"
]
}
},
"minecraft:ageable_grow_up": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:panda_baby"
]
}
},
{
"add": {
"component_groups": [
"minecraft:panda_adult"
]
}
},
{
"filters": {
"test": "is_variant",
"subject": "self",
"operator": "==",
"value": 3
},
"add": {
"component_groups": [
"minecraft:panda_playful"
]
}
},
{
"filters": {
"test": "is_variant",
"subject": "self",
"operator": "==",
"value": 6
},
"add": {
"component_groups": [
"minecraft:panda_aggressive"
]
}
}
]
},
"minecraft:panda_lazy": {
"add": {
"component_groups": [
"minecraft:panda_lazy"
]
}
},
"minecraft:panda_worried": {
"add": {
"component_groups": [
"minecraft:panda_worried"
]
}
},
"minecraft:panda_playful": {
"add": {
"component_groups": [
"minecraft:panda_playful"
]
}
},
"minecraft:panda_brown": {
"add": {
"component_groups": [
"minecraft:panda_brown"
]
}
},
"minecraft:panda_weak": {
"sequence": [
{
"add": {
"component_groups": [
"minecraft:panda_weak"
]
}
},
{
"filters": {
"test": "has_component",
"operator": "==",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"minecraft:panda_sneezing"
]
}
}
]
},
"minecraft:panda_aggressive": {
"add": {
"component_groups": [
"minecraft:panda_aggressive"
]
}
},
"minecraft:on_scared": {
"add": {
"component_groups": [
"minecraft:baby_scared"
]
}
},
"minecraft:baby_on_calm": {
"remove": {
"component_groups": [
"minecraft:baby_scared"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:panda_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:panda_angry"
]
}
}
}
}
}

View File

@ -0,0 +1,252 @@
{
"format_version": "1.14.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"
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:behavior.random_fly": {
"priority": 2,
"xz_dist": 15,
"y_dist": 1,
"y_offset": 0,
"speed_multiplier": 1.0,
"can_land_on_trees": true,
"avoid_damage_blocks": true
},
"minecraft:behavior.follow_mob": {
"priority": 3,
"speed_multiplier": 1.0,
"stop_distance": 3,
"search_range": 20
}
},
"minecraft:parrot_tame": {
"minecraft:type_family": {
"family": [ "parrot_tame", "mob" ]
},
"minecraft:is_tamed": {
},
"minecraft:behavior.follow_owner": {
"priority": 2,
"speed_multiplier": 1.0,
"start_distance": 5,
"stop_distance": 1
},
"minecraft:sittable": {
},
"minecraft:behavior.stay_while_sitting": {
"priority": 1
},
"minecraft:behavior.find_mount": {
"priority": 3,
"within_radius": 16,
"avoid_water": true,
"start_delay": 100,
"target_needed": false,
"mount_distance": 2.0
}
}
},
"components": {
"minecraft: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
},
"minecraft:movement.fly": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 0,
"speed_multiplier": 1.25
},
"minecraft:behavior.look_at_player": {
"priority": 1,
"look_distance": 8.0
},
"minecraft: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
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_red",
"minecraft:parrot_adult",
"minecraft:parrot_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_blue",
"minecraft:parrot_adult",
"minecraft:parrot_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_green",
"minecraft:parrot_adult",
"minecraft:parrot_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_cyan",
"minecraft:parrot_adult",
"minecraft:parrot_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_silver",
"minecraft:parrot_adult",
"minecraft:parrot_wild"
]
}
}
]
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:parrot_wild"
]
},
"add": {
"component_groups": [
"minecraft:parrot_tame"
]
}
}
}
}
}

View File

@ -0,0 +1,305 @@
{
"format_version": "1.14.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:polar_bear",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 4,
"speed_multiplier": 1.25
}
},
"minecraft:baby_wild": {
"minecraft:on_target_acquired": {
"event": "minecraft:on_scared",
"target": "self"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 16
}
],
"must_see": false
}
},
"minecraft:baby_scared": {
"minecraft:angry": {
"duration": 1,
"broadcast_anger": true,
"broadcast_range": 41,
"calm_event": {
"event": "minecraft:baby_on_calm",
"target": "self"
}
}
},
"minecraft:adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/polar_bear.json"
}
},
"minecraft:adult_wild": {
"minecraft:on_target_acquired": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:on_friendly_anger": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "fox"
},
"max_dist": 16
}
],
"must_see": false
}
},
"minecraft:adult_hostile": {
"minecraft:attack": {
"damage": 6.0
},
"minecraft:angry": {
"duration": 500,
"broadcast_anger": false,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.stomp_attack": {
"priority": 1,
"track_target": true,
"require_complete_path": true
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "polarbear", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 30
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:collision_box": {
"width": 1.3,
"height": 1.4
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:water_movement": {
"drag_factor": 0.98
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:follow_range": {
"value": 48
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.random_stroll": {
"priority": 5
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"target_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 7
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:behavior.panic": {
"priority": 2,
"speed_multiplier": 2.0
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"add": {
"component_groups": [
"minecraft:adult",
"minecraft:adult_wild"
]
}
},
{
"weight": 1,
"add": {
"component_groups": [
"minecraft:baby",
"minecraft:baby_wild"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:baby",
"minecraft:baby_wild"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:baby",
"minecraft:baby_wild",
"minecraft:baby_scared"
]
},
"add": {
"component_groups": [
"minecraft:adult",
"minecraft:adult_wild"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:adult_hostile"
]
},
"add": {
"component_groups": [
"minecraft:adult_wild"
]
}
},
"minecraft:on_anger": {
"remove": {
"component_groups": [
"minecraft:adult_wild"
]
},
"add": {
"component_groups": [
"minecraft:adult_hostile"
]
}
},
"minecraft:baby_on_calm": {
"remove": {
"component_groups": [
"minecraft:baby_scared"
]
},
"add": {
"component_groups": [
"minecraft:baby_wild"
]
}
},
"minecraft:on_scared": {
"remove": {
"component_groups": [
"minecraft:baby_wild"
]
},
"add": {
"component_groups": [
"minecraft:baby_scared"
]
}
}
}
}
}

View File

@ -0,0 +1,294 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:turtle",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:baby": {
"minecraft:type_family": {
"family": [ "turtle", "baby_turtle", "mob" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.2
},
"minecraft:underwater_movement": {
"value": 0.06
},
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.16
},
"minecraft:behavior.move_to_water": {
"priority": 1,
"search_range": 15,
"search_height": 5,
"goal_radius": 0.1
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"seagrass"
],
"drop_items": [
"turtle_shell_piece"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "turtle", "mob" ]
},
"minecraft:collision_box": {
"width": 1.2,
"height": 0.4
},
"minecraft:underwater_movement": {
"value": 0.12
},
"minecraft:loot": {
"table": "loot_tables/entities/sea_turtle.json"
},
"minecraft:breedable": {
"require_tame": false,
"causes_pregnancy": true,
"breeds_with": {
"mate_type": "minecraft:turtle",
"baby_type": "minecraft:turtle",
"breed_event": {
"event": "minecraft:become_pregnant",
"target": "self"
}
},
"breed_items": [
"seagrass"
]
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
},
"minecraft:behavior.move_to_land": {
"priority": 6,
"search_range": 16,
"search_height": 5,
"goal_radius": 0.5
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"interval": 100
}
},
"minecraft:pregnant": {
"minecraft:behavior.go_home": {
"priority": 1,
"speed_multiplier": 1.0,
"interval": 700,
"goal_radius": 4.0,
"on_home": {
"event": "minecraft:go_lay_egg",
"target": "self"
}
}
},
"minecraft:wants_to_lay_egg": {
"minecraft:behavior.lay_egg": {
"priority": 1,
"speed_multiplier": 1.0,
"search_range": 16,
"search_height": 4,
"goal_radius": 1.0,
"on_lay": {
"event": "minecraft:laid_egg",
"target": "self"
}
}
}
},
"components": {
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true,
"breathes_air": true,
"generates_bubbles": false
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 30
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "lightning",
"deals_damage": true,
"damage_multiplier": 2000.0
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:water_movement": {
"drag_factor": 0.9
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": true,
"can_sink": false,
"avoid_damage_blocks": true
},
"minecraft:movement.amphibious": {
"max_turn": 5.0
},
"minecraft:jump.static": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:home": {
},
"minecraft:follow_range": {
"value": 1024
},
"minecraft:behavior.panic": {
"priority": 0,
"prefer_water": true,
"speed_multiplier": 1.2
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.tempt": {
"priority": 3,
"speed_multiplier": 1.1,
"items": [
"seagrass"
]
},
"minecraft:behavior.move_to_water": {
"priority": 4,
"search_range": 16,
"search_height": 5,
"search_count": 1,
"goal_radius": 0.1
},
"minecraft:behavior.random_swim": {
"priority": 7,
"interval": 0,
"xz_dist": 30,
"y_dist": 15
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"target_distance": 6.0,
"probability": 0.02
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"add": {
"component_groups": [
"minecraft:adult"
]
}
},
{
"weight": 1,
"add": {
"component_groups": [
"minecraft:baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:baby"
]
},
"add": {
"component_groups": [
"minecraft:adult"
]
}
},
"minecraft:become_pregnant": {
"add": {
"component_groups": [
"minecraft:pregnant"
]
}
},
"minecraft:go_lay_egg": {
"add": {
"component_groups": [
"minecraft:wants_to_lay_egg"
]
},
"remove": {
"component_groups": [
"minecraft:pregnant"
]
}
},
"minecraft:laid_egg": {
"remove": {
"component_groups": [
"minecraft:wants_to_lay_egg"
]
}
}
}
}
}

View File

@ -0,0 +1,520 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wolf",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:wolf_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"muttonRaw",
"muttonCooked",
"porkchop",
"cooked_porkchop",
"rabbit",
"cooked_rabbit",
"rotten_flesh"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:wolf_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/wolf.json"
},
"minecraft:breedable": {
"require_tame": true,
"breeds_with": {
"mate_type": "minecraft:wolf",
"baby_type": "minecraft:wolf",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"muttonRaw",
"muttonCooked",
"porkchop",
"cooked_porkchop",
"rabbit",
"cooked_rabbit",
"rotten_flesh"
]
}
},
"minecraft:wolf_angry": {
"minecraft:angry": {
"duration": 25,
"broadcast_anger": true,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
}
},
"minecraft:wolf_wild": {
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "llama" },
"max_dist": 24,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.5
}
],
"probability_per_strength": 0.14
},
"minecraft:tameable": {
"probability": 0.33,
"tame_items": "bone",
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"attack_interval": 10,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "skeleton"},
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
{ "test" : "is_family", "subject" : "other", "value" : "rabbit"},
{ "test" : "is_family", "subject" : "other", "value" : "fox"}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "skeleton"
},
{
"test": "is_underwater",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.675, -0.1 ]
}
}
},
"minecraft:wolf_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:color": {
"value": 14
},
"minecraft:behavior.follow_owner": {
"priority": 6,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:attack": {
"damage": 4
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
},
"minecraft:behavior.owner_hurt_by_target": {
"priority": 1
},
"minecraft:behavior.owner_hurt_target": {
"priority": 2
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"attack_interval": 10,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "skeleton"},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:sittable": {
},
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"on_leash": {
"event": "minecraft:on_leash",
"target": "self"
},
"on_unleash": {
"event": "minecraft:on_unleash",
"target": "self"
}
}
}
},
"components": {
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "wolf", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.8
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 3
},
"minecraft:healable": {
"items": [
{
"item": "porkchop",
"heal_amount": 3
},
{
"item": "cooked_porkchop",
"heal_amount": 8
},
{
"item": "fish",
"heal_amount": 2
},
{
"item": "salmon",
"heal_amount": 2
},
{
"item": "clownfish",
"heal_amount": 1
},
{
"item": "pufferfish",
"heal_amount": 1
},
{
"item": "cooked_fish",
"heal_amount": 5
},
{
"item": "cooked_salmon",
"heal_amount": 6
},
{
"item": "beef",
"heal_amount": 3
},
{
"item": "cooked_beef",
"heal_amount": 8
},
{
"item": "chicken",
"heal_amount": 2
},
{
"item": "cooked_chicken",
"heal_amount": 6
},
{
"item": "muttonRaw",
"heal_amount": 2
},
{
"item": "muttonCooked",
"heal_amount": 6
},
{
"item": "rotten_flesh",
"heal_amount": 4
},
{
"item": "rabbit",
"heal_amount": 3
},
{
"item": "cooked_rabbit",
"heal_amount": 5
},
{
"item": "rabbit_stew",
"heal_amount": 10
}
]
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"target_dist": 0.4
},
"minecraft:behavior.melee_attack": {
"priority": 5,
"target_dist": 1.2,
"track_target": true,
"reach_multiplier": 1.0
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"target_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.beg": {
"priority": 9,
"look_distance": 8,
"look_time": [ 2, 4 ],
"items": [ "bone", "porkchop", "cooked_porkchop", "chicken", "cooked_chicken",
"beef", "cooked_beef", "rotten_flesh", "muttonraw", "muttoncooked", "rabbit", "cooked_rabbit" ]
},
"minecraft:behavior.hurt_by_target": {
"priority": 3
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_adult",
"minecraft:wolf_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_wild"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_tame"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:wolf_baby"
]
},
"add": {
"component_groups": [
"minecraft:wolf_adult"
]
}
},
"minecraft:ageable_set_baby": {
"remove": {
"component_groups": [
"minecraft:wolf_adult"
]
},
"add": {
"component_groups": [
"minecraft:wolf_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_tame"
]
}
},
"minecraft:become_angry": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:wolf_angry"
]
},
"add": {
"component_groups": [
"minecraft:wolf_wild"
]
}
}
}
}
}

View File

@ -0,0 +1,21 @@
{
"format_version": "1.14",
"minecraft:item": {
"description": {
"identifier": "minecraft:honey_bottle"
},
"components": {
"minecraft:use_duration": 40,
"minecraft:max_stack_size": 16,
"minecraft:food": {
"nutrition": 6,
"saturation_modifier": "poor",
"can_always_eat": true,
"using_converts_to": "glass_bottle",
"remove_effects": [
"poison"
]
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"format_version": "1.16",
"minecraft:item": {
"description": {
"identifier": "minecraft:honeycomb"
}
}
}

View File

@ -0,0 +1,30 @@
{
"format_version": 2,
"header": {
"description": "resourcePack.vanilla_server.description",
"name": "resourcePack.vanilla_server.name",
"uuid": "fe9f8597-5454-481a-8730-8d070a8e2e58",
"version": [
1,
14,
0
],
"min_engine_version": [
1,
14,
0
]
},
"modules": [
{
"description": "resourcePack.vanilla_server.description",
"type": "data",
"uuid": "79fccc3b-7bad-4f4f-aa97-d98108e6aa33",
"version": [
0,
0,
1
]
}
]
}

View File

@ -0,0 +1,25 @@
{
"format_version": "1.14",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:beehive"
},
"tags": [ "crafting_table" ],
"pattern": [
"###",
"ooo",
"###"
],
"key": {
"#": {
"item": "minecraft:planks"
},
"o": {
"item": "minecraft:honeycomb"
}
},
"result": [
{ "item": "minecraft:beehive" }
]
}
}

View File

@ -0,0 +1,23 @@
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:honey_block"
},
"tags": [ "crafting_table" ],
"pattern": [
"XX",
"XX"
],
"key": {
"X": {
"item": "minecraft:honey_bottle"
}
},
"result": [
{ "item": "minecraft:honey_block" },
{ "item": "minecraft:glass_bottle", "count": 4, "data": 0 }
]
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:honey_bottle"
},
"tags": [ "crafting_table" ],
"ingredients": [
{
"item": "minecraft:honey_block"
},
{
"item": "minecraft:glass_bottle"
},
{
"item": "minecraft:glass_bottle"
},
{
"item": "minecraft:glass_bottle"
},
{
"item": "minecraft:glass_bottle"
}
],
"result": {
"item": "minecraft:honey_bottle",
"count": 4
}
}
}

View File

@ -0,0 +1,21 @@
{
"format_version": "1.14",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:honey_bottle_to_sugar"
},
"tags": [ "crafting_table" ],
"pattern": [
"#"
],
"key": {
"#": {
"item": "minecraft:honey_bottle"
}
},
"result": [
{ "item": "minecraft:sugar", "count": 3 },
{ "item": "minecraft:glass_bottle", "count": 1 }
]
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:honeycomb_block"
},
"tags": [ "crafting_table" ],
"pattern": [
"XX",
"XX"
],
"key": {
"X": {
"item": "minecraft:honeycomb"
}
},
"result": [
{ "item": "minecraft:honeycomb_block" }
]
}
}

View File

@ -0,0 +1,32 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:bee",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 10
},
"minecraft:herd": {
"min_size":1,
"max_size":1
},
"minecraft:biome_filter": [
{ "test": "has_biome_tag", "operator":"==", "value": "plains" },
{ "test": "has_biome_tag", "operator":"==", "value": "sunflower_plains" },
{ "test": "has_biome_tag", "operator":"==", "value": "flower_forest" }
]
}
]
}
}

View File

@ -0,0 +1,162 @@
{
"format_version": "1.11.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:pillager_patrol",
"population_control": "pillager"
},
"conditions": [
{
"minecraft:mob_event_filter": {
"event": "minecraft:pillager_patrols_event"
},
"minecraft:world_age_filter": {
"min": 6000
},
"minecraft:delay_filter": {
"min": 600,
"max": 660,
"identifier": "minecraft:pillager_patrol_easy",
"spawn_chance": 20
},
"minecraft:spawns_on_surface": {},
"minecraft:distance_filter": {
"min": 24,
"max": 48
},
"minecraft:difficulty_filter": {
"max": "easy"
},
"minecraft:brightness_filter": {
"min": 0,
"max": 7,
"adjust_for_weather": false
},
"minecraft:herd": {
"min_size": 2,
"max_size": 5,
"initial_event": "minecraft:promote_to_patrol_captain",
"initial_event_count": 1,
"event": "minecraft:spawn_as_patrol_follower",
"event_skip_count": 1
},
"minecraft:permute_type": [
{
"weight": 100,
"entity_type": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
}
],
"minecraft:biome_filter": {
"all_of": [
{ "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
{ "test": "has_biome_tag", "operator": "!=", "value": "nether" },
{ "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
]
},
"minecraft:player_in_village_filter": {
"distance": 48,
"village_border_tolerance": 10
}
},
{
"minecraft:mob_event_filter": {
"event": "minecraft:pillager_patrols_event"
},
"minecraft:world_age_filter": {
"min": 6000
},
"minecraft:delay_filter": {
"min": 600,
"max": 660,
"identifier": "minecraft:pillager_patrol_normal",
"spawn_chance": 20
},
"minecraft:spawns_on_surface": {},
"minecraft:distance_filter": {
"min": 24,
"max": 48
},
"minecraft:difficulty_filter": {
"min": "normal",
"max": "normal"
},
"minecraft:herd": {
"min_size": 2,
"max_size": 5,
"initial_event": "minecraft:promote_to_patrol_captain",
"initial_event_count": 1,
"event": "minecraft:spawn_as_patrol_follower",
"event_skip_count": 1
},
"minecraft:permute_type": [
{
"weight": 100,
"entity_type": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
}
],
"minecraft:biome_filter": {
"all_of": [
{ "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
{ "test": "has_biome_tag", "operator": "!=", "value": "nether" },
{ "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
]
},
"minecraft:player_in_village_filter": {
"distance": 48,
"village_border_tolerance": 10
}
},
{
"minecraft:mob_event_filter": {
"event": "minecraft:pillager_patrols_event"
},
"minecraft:world_age_filter": {
"min": 6000
},
"minecraft:delay_filter": {
"min": 600,
"max": 660,
"identifier": "minecraft:pillager_patrol_hard",
"spawn_chance": 20
},
"minecraft:spawns_on_surface": {},
"minecraft:distance_filter": {
"min": 24,
"max": 48
},
"minecraft:difficulty_filter": {
"min": "hard"
},
"minecraft:herd": {
"min_size": 2,
"max_size": 5,
"initial_event": "minecraft:promote_to_patrol_captain",
"initial_event_count": 1,
"event": "minecraft:spawn_as_patrol_follower",
"event_skip_count": 1
},
"minecraft:permute_type": [
{
"weight": 80,
"entity_type": "minecraft:pillager<minecraft:spawn_as_patrol_follower>"
},
{
"weight": 20,
"entity_type": "minecraft:vindicator"
}
],
"minecraft:biome_filter": {
"all_of": [
{ "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" },
{ "test": "has_biome_tag", "operator": "!=", "value": "nether" },
{ "test": "has_biome_tag", "operator": "!=", "value": "the_end" }
]
},
"minecraft:player_in_village_filter": {
"distance": 48,
"village_border_tolerance": 10
}
}
]
}
}