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,815 @@
{
"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": 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
]
}
},
"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": 9,
"on_attack": {
"event": "countdown_to_perish_event",
"target": "self"
}
}
},
"escape_fire": {
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [20,50],
"randomInterval": true,
"time_down_event": {
"event": "stop_panicking_after_fire",
"target": "self"
}
}
},
"countdown_to_perish": {
"minecraft:mark_variant": {
"value": 1
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [10, 60],
"randomInterval": true,
"time_down_event": {
"event": "perish_event",
"target": "self"
}
},
"minecraft:type_family": {
"family": [ "bee", "mob", "arthropod", "pacified" ]
}
},
"perish": {
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "none",
"damage_per_tick": 999
}
]
}
},
"take_nearest_target": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 10
}
]
},
"minecraft:timer": {
"looping": true,
"time": 5,
"time_down_event": {
"event": "calmed_down",
"target": "self"
}
}
},
"look_for_food": {
"minecraft:behavior.move_to_block": {
"priority": 10,
"tick_interval": 1,
"start_chance": 0.5,
"search_range": 6,
"search_height": 4,
"goal_radius": 1.0,
"stay_duration": 20.0,
"target_selection_method": "random",
"target_offset": [0, 0.25, 0],
"target_blocks": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft: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": 4,
"speed_multiplier": 1.0,
"interval": 1,
"goal_radius": 1.2,
"on_home": [
{
"filters": {
"any_of":[
{ "test": "is_block", "subject": "block", "value": "minecraft:bee_nest" },
{ "test": "is_block", "subject": "block", "value": "minecraft:beehive" }
]
},
"event": "minecraft:bee_returned_to_hive",
"target": "block"
},
{
"filters": {
"all_of":[
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:bee_nest" },
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:beehive" }
]
},
"event": "find_hive_event",
"target": "self"
}
],
"on_failed": {
"event": "find_hive_event",
"target": "self"
}
}
},
"find_hive": {
"minecraft:behavior.move_to_block": {
"priority": 10,
"search_range": 16,
"search_height": 10,
"tick_interval": 1,
"goal_radius": 0.633, // was tested with 0.4 when the goal radius wasn't squared. sqrt(0.4)~0.633
"target_blocks": [
"bee_nest",
"beehive"
],
"on_reach": [
{
"event": "minecraft:bee_returned_to_hive",
"target": "block"
}
]
},
"minecraft:timer": {
"looping": false,
"time": 180,
"time_down_event": {
"event": "find_hive_timeout",
"target": "self"
}
}
},
"hive_full": {
"minecraft:timer": {
"looping": false,
"time": [5, 20],
"randomInterval": true,
"time_down_event": {
"event": "find_hive_event",
"target": "self"
}
}
},
"shelter_detection": {
"minecraft:environment_sensor": {
"triggers": [
{
"event": "seek_shelter",
"filters": {
"all_of": [
{
"any_of": [
{
"test": "is_daytime",
"value": false
},
{
"test": "weather",
"operator": "==",
"value": "precipitation"
}
]
},
{ // Assume we are already going home if we have nectar
"test": "has_component",
"value": "minecraft:is_charged",
"operator": "!="
},
{ // Assume we are already going home if we have nectar
"test": "has_biome_tag",
"value": "overworld"
}
]
}
}
]
}
},
"abort_shelter_detection": {
"minecraft:environment_sensor": {
"triggers": [
{
"event": "abort_sheltering",
"filters": {
"all_of": [
{
"test": "weather",
"operator": "==",
"value": "clear"
},
{
"test": "is_daytime",
"value": true
}
]
}
}
]
}
},
"easy_attack": {
"minecraft:attack": {
"damage": 2
}
},
"normal_attack": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 10
}
},
"hard_attack": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 18
}
},
"default_sound" : {
"minecraft:ambient_sound_interval" :{
"event_name" : "ambient",
"range" : 0.0,
"value" : 0.0
}
}
},
"components": {
"minecraft: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: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": 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: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_pass_doors": false,
"can_path_from_air": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"avoid_sun": false
},
"minecraft:movement.hover": {},
"minecraft:jump.static": {},
"minecraft:can_fly": {},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:nameable": {},
"minecraft:block_sensor": {
"sensor_radius": 16,
"on_break": [
{
"block_list": [
"minecraft:beehive", "minecraft:bee_nest"
],
"on_block_broken": "hive_destroyed"
}
]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"bee_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"bee_baby"
]
}
}
]
},
{
"add": {
"component_groups": [
"track_attacker",
"shelter_detection",
"look_for_food"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"bee_baby",
"shelter_detection",
"track_attacker",
"look_for_food"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"bee_baby"
]
},
"add": {
"component_groups": [
"bee_adult"
]
}
},
"minecraft:exited_disturbed_hive": {
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection",
"shelter_detection",
"escape_fire"
]
}
},
"hive_destroyed": {
"sequence": [
{
"filters": {
"test": "is_family",
"subject": "self",
"operator": "!=",
"value": "pacified"
},
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"escape_fire"
]
}
}
]
},
"stop_panicking_after_fire" : {
"remove": {
"component_groups": [
"escape_fire"
]
}
},
"minecraft:exited_hive_on_fire": {
"add": {
"component_groups": [
"escape_fire"
]
}
},
"minecraft:exited_hive": {
"add": {
"component_groups": [
"look_for_food",
"shelter_detection"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection"
]
}
},
"minecraft:hive_full": {
"add": {
"component_groups": [
"hive_full"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home"
]
}
},
"attacked": {
"sequence": [
{
"add": {
"component_groups": [
"angry_bee"
]
},
"remove": {
"component_groups": [
"take_nearest_target"
]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "easy"},
"remove": {
"component_groups": [ "normal_attack", "hard_attack" ]
},
"add": {
"component_groups": [ "easy_attack" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "normal"},
"remove": {
"component_groups": [ "easy_attack", "hard_attack" ]
},
"add": {
"component_groups": [ "normal_attack" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "hard"},
"remove": {
"component_groups": [ "easy_attack", "normal_attack" ]
},
"add": {
"component_groups": [ "hard_attack" ]
}
}
]
},
"calmed_down": {
"add" : {
"component_groups": [
"shelter_detection",
"return_to_home"
]
},
"remove": {
"component_groups": [
"angry_bee",
"take_nearest_target"
]
}
},
"collected_nectar": {
"remove": {
"component_groups": [
"look_for_food"
]
},
"add": {
"component_groups": [
"return_to_home",
"has_nectar",
"default_sound"
]
}
},
"find_hive_event": {
"remove": {
"component_groups": [
"return_to_home",
"hive_full"
]
},
"add": {
"component_groups": [
"find_hive"
]
}
},
"find_hive_timeout": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"remove": {
"component_groups": [
"find_hive",
"escape_fire"
]
},
"add": {
"component_groups": [
"look_for_food"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"remove": {
"component_groups": [
"find_hive"
]
},
"add": {
"component_groups": [
"return_to_home"
]
}
}
]
},
"find_flower_timeout": {
"remove": {
"component_groups": [
"look_for_food"
]
},
"add": {
"component_groups": [
"return_to_home"
]
}
},
"seek_shelter": {
"remove": {
"component_groups": [
"look_for_food",
"collect_nectar",
"shelter_detection"
]
},
"add": {
"component_groups": [
"default_sound",
"return_to_home",
"abort_shelter_detection"
]
}
},
"abort_sheltering": {
"remove": {
"component_groups": [
"abort_shelter_detection",
"return_to_home",
"escape_fire"
]
},
"add": {
"component_groups": [
"shelter_detection",
"look_for_food"
]
}
},
"countdown_to_perish_event" : {
"remove": {
"component_groups": [
"collect_nectar",
"track_attacker",
"take_nearest_target",
"look_for_food",
"angry_bee",
"hive_full",
"find_hive",
"escape_fire"
]
},
"add": {
"component_groups": [
"countdown_to_perish"
]
}
},
"perish_event":{
"add": {
"component_groups": [
"perish"
]
}
}
}
}
}

View File

@ -0,0 +1,122 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:blaze",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/blaze.json"
},
"minecraft:collision_box": {
"width": 0.5,
"height": 1.8
},
"minecraft:attack": {
"damage": 6
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:movement": {
"value": 0.23
},
"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:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
"cause": "drowning",
"damage_per_tick": 1
}
]
},
"minecraft:follow_range": {
"value": 48,
"max": 48
},
"minecraft:fire_immune": true,
"minecraft:nameable": {
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 48.0
}
]
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true,
"random_stop_interval": 2
},
"minecraft:shooter": {
"def": "minecraft:small_fireball"
},
"minecraft:behavior.ranged_attack": {
"priority": 4,
"burst_shots": 3,
"burst_interval": 0.3,
"charge_charged_trigger": 0.0,
"charge_shoot_trigger": 4.0,
"attack_interval_min": 3.0,
"attack_interval_max": 5.0,
"attack_radius": 16.0
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:type_family": {
"family": [ "blaze", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
}
}
}

View File

@ -0,0 +1,692 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:cat_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.4
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "fish", "salmon" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:cat_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/cat.json"
},
"minecraft:scale": {
"value": 0.8
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": true,
"require_full_health": true,
"allow_sitting": true,
"breeds_with": {
"mate_type": "minecraft:cat",
"baby_type": "minecraft:cat",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "fish", "salmon" ]
}
},
"minecraft:cat_wild": {
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:tameable": {
"probability": 0.33,
"tame_items": [ "fish", "salmon" ],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.35, 0.0 ]
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"reselect_targets": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "rabbit" },
"max_dist": 8
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 0.5,
"within_radius": 16,
"can_get_scared": true,
"items": [
"fish",
"salmon"
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 6,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 10,
"walk_speed_multiplier": 0.8,
"sprint_speed_multiplier": 1.33
}
]
},
"minecraft:behavior.move_towards_restriction": {
"priority": 7
}
},
"minecraft:cat_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:color": {
"value": 14
},
"minecraft:sittable": {
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 0.5,
"within_radius": 16,
"items": [
"fish",
"salmon"
]
},
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:behavior.follow_owner": {
"priority": 4,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.ocelot_sit_on_block": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.pet_sleep_with_owner": {
"priority": 2,
"speed_multiplier": 1.2,
"search_radius": 10,
"search_height": 10,
"goal_radius": 1.0
},
"minecraft:on_wake_with_owner": {
"event": "minecraft:pet_slept_with_owner",
"target": "self"
}
},
"minecraft:cat_gift_for_owner": {
"minecraft:behavior.drop_item_for": {
"priority": 1,
"speed_multiplier": 1.0,
"search_range": 5,
"search_height": 2,
"search_count": 0,
"goal_radius": 1.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 6
}
],
"max_dist": 5,
"drop_item_chance": 0.7,
"offering_distance": 5,
"loot_table": "loot_tables/entities/cat_gift.json",
"time_of_day_range": [ 0.74999, 0.80 ],
"on_drop_attempt": {
"event": "minecraft:cat_gifted_owner",
"target": "self"
}
}
},
"minecraft:cat_white": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:cat_tuxedo": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:cat_red": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:cat_siamese": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:cat_british": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:cat_calico": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:cat_persian": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:cat_ragdoll": {
"minecraft:variant": {
"value": 7
}
},
"minecraft:cat_tabby": {
"minecraft:variant": {
"value": 8
}
},
"minecraft:cat_black": {
"minecraft:variant": {
"value": 9
}
},
"minecraft:cat_jellie": {
"minecraft:variant": {
"value": 10
}
}
},
"components": {
"minecraft:attack_damage": {
"value": 4
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "cat", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.7
},
"minecraft:healable": {
"items": [
{
"item": "fish",
"heal_amount": 2
},
{
"item": "salmon",
"heal_amount": 2
}
]
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_float": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "passive",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.leap_at_target": {
"priority": 3,
"target_dist": 0.3
},
"minecraft:behavior.ocelotattack": {
"priority": 4,
"cooldown_time": 1.0,
"x_max_rotation": 30.0,
"y_max_head_rotation": 30.0,
"max_distance": 15.0,
"max_sneak_range": 15.0,
"max_sprint_range": 4.0,
"reach_multiplier": 2.0,
"sneak_speed_multiplier": 0.6,
"sprint_speed_multiplier": 1.33,
"walk_speed_multiplier": 0.8
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_wild"
]
}
}
]
},
{
"randomize": [
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_white"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tuxedo"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_red"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_siamese"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_british"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_calico"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_persian"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_ragdoll"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tabby"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_black"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_jellie"
]
}
}
]
}
]
},
"minecraft:spawn_from_village": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_wild"
]
}
}
]
},
{
"randomize": [
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tuxedo"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_red"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_siamese"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_white"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_british"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_calico"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_persian"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_ragdoll"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tabby"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_jellie"
]
}
}
]
}
]
},
"minecraft:spawn_midnight_cat": {
"sequence": [
{
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild",
"minecraft:cat_black"
]
}
}
]
},
"minecraft:entity_born": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_tame"
]
}
}
]
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:cat_baby"
]
},
"add": {
"component_groups": [
"minecraft:cat_adult"
]
}
},
"minecraft:on_tame": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:cat_wild"
]
}
},
{
"add": {
"component_groups": [
"minecraft:cat_tame"
]
}
}
]
},
"minecraft:pet_slept_with_owner": {
"add": {
"component_groups": [
"minecraft:cat_gift_for_owner"
]
}
},
"minecraft:cat_gifted_owner": {
"remove": {
"component_groups": [
"minecraft:cat_gift_for_owner"
]
}
}
}
}
}

View File

@ -0,0 +1,439 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cave_spider",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:spider_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [0.0, 0.3, -0.1]
}
}
},
"minecraft:spider_stray_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton.stray"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [0.0, 0.3, -0.1]
}
}
},
"minecraft:spider_wither_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton.wither"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [0.0, 0.25, -0.1]
}
}
},
"minecraft:spider_neutral": {
"minecraft:environment_sensor": {
"triggers": {
"filters": { "test" : "is_brightness", "operator" : "<", "value" : 0.49 },
"event": "minecraft:become_hostile"
}
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry"
}
},
"minecraft:spider_hostile": {
"minecraft:environment_sensor": {
"triggers": {
"filters": { "test": "is_brightness", "operator": ">", "value": 0.49 },
"event": "minecraft:become_neutral"
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"attack_interval": 5,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"yd": 0.4,
"must_be_on_ground": false
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true,
"random_stop_interval": 100,
"reach_multiplier": 0.8
}
},
"minecraft:spider_angry": {
"minecraft:angry": {
"duration": 10,
"duration_delta": 3,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"attack_interval": 10,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"yd": 0.4,
"must_be_on_ground": false
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true,
"reach_multiplier": 1.4
}
},
"minecraft:spider_poison_easy": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 0
}
},
"minecraft:spider_poison_normal": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 7
}
},
"minecraft:spider_poison_hard": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 15
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "cavespider", "monster", "arthropod", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/spider.json"
},
"minecraft:collision_box": {
"width": 0.7,
"height": 0.5
},
"minecraft:health": {
"value": 12,
"max": 12
},
"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.climb": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"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": 7
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.3, 0.0 ]
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 1,
"randomize": [
{
"weight": 80,
"filters": {
"all_of" : [
{ "test" : "is_daytime", "value" : false },
{ "test" : "is_snow_covered", "value" : true },
{ "test" : "is_underground", "value" : false }
]
},
"remove": { },
"add": {
"component_groups":
[
"minecraft:spider_stray_jockey",
"minecraft:spider_neutral"
]
}
},
{
"weight": 80,
"filters": {
"test": "is_biome", "value" : "the_nether"
},
"remove": { },
"add": {
"component_groups":
[
"minecraft:spider_wither_jockey",
"minecraft:spider_neutral"
]
}
},
{
"weight": 20,
"filters": {
"all_of" : [
{ "test" : "is_daytime", "value" : false },
{ "test" : "is_underground", "value" : true }
]
},
"remove": { },
"add": {
"component_groups":
[
"minecraft:spider_jockey",
"minecraft:spider_neutral"
]
}
}
]
},
{
"weight": 99,
"remove": { },
"add": {
"component_groups":
[
"minecraft:spider_neutral"
]
}
}
]
},
"minecraft:become_hostile": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:spider_neutral"
]
},
"add": {
"component_groups": [
"minecraft:spider_hostile"
]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "easy"},
"remove": {
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_easy" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "normal"},
"remove": {
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_normal" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "hard"},
"remove": {
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_hard" ]
}
}
]
},
"minecraft:become_neutral": {
"remove": {
"component_groups": [
"minecraft:spider_hostile"
]
},
"add": {
"component_groups": [
"minecraft:spider_neutral"
]
}
},
"minecraft:become_angry": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:spider_neutral"
]
},
"add": {
"component_groups": [
"minecraft:spider_angry"
]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "easy"},
"remove": {
"component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_easy" ]
}
},
{
"filters": { "test": "is_difficulty", "value": "normal" },
"remove": {
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_normal" ]
}
},
{
"filters": { "test" : "is_difficulty", "value" : "hard"},
"remove": {
"component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ]
},
"add": {
"component_groups": [ "minecraft:spider_poison_hard" ]
}
}
]
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:spider_angry"
]
},
"add": {
"component_groups": [
"minecraft:spider_neutral"
]
}
}
}
}
}

View File

@ -0,0 +1,240 @@
{
"format_version": "1.13.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"
],
"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"
]
},
"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: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: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"
]
},
"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
}
},
"events": {
"from_egg": {
"add": { "component_groups": [ "minecraft:chicken_baby" ] }
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:chicken_adult"
]
}
},
{
"weight": 5,
"remove": {
},
"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"
]
}
}
}
}
}

View File

@ -0,0 +1,298 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:creeper",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:exploding": {
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 3,
"causes_fire": false,
"destroy_affected_by_griefing": true
}
},
"minecraft:charged_creeper": {
"minecraft:is_charged": {
}
},
"minecraft:charged_exploding": {
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 6,
"causes_fire": false,
"destroy_affected_by_griefing": true
}
},
"minecraft:forced_exploding": {
"minecraft:target_nearby_sensor": {
},
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 3,
"causes_fire": false,
"destroy_affected_by_griefing": true
},
"minecraft:on_target_escape": {
}
},
"minecraft:forced_charged_exploding": {
"minecraft:target_nearby_sensor": {
},
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 6,
"causes_fire": false,
"destroy_affected_by_griefing": true
},
"minecraft:on_target_escape": {
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "creeper", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
},
"minecraft:movement": {
"value": 0.2
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:loot": {
"table": "loot_tables/entities/creeper.json"
},
"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:attack": {
"damage": 3
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": { "test": "is_family", "subject": "other", "value": "lightning"
},
"event": "minecraft:become_charged"
},
"deals_damage": false
}
},
"minecraft:target_nearby_sensor": {
"inside_range": 2.5,
"outside_range": 6.0,
"must_see": true,
"on_inside_range": {
"event": "minecraft:start_exploding",
"target": "self"
},
"on_outside_range": {
"event": "minecraft:stop_exploding",
"target": "self"
},
"on_vision_lost_inside_range": {
"event": "minecraft:stop_exploding",
"target": "self"
}
},
"minecraft:interact": {
"interactions": {
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "flint_and_steel" },
{ "test": "has_component", "operator": "!=", "value": "minecraft:explode" }
]
},
"event": "minecraft:start_exploding_forced",
"target": "self"
},
"hurt_item": 1,
"swing": true,
"play_sounds": "ignite",
"interact_text": "action.interact.creeper"
}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.swell": {
"start_distance": 2.5,
"stop_distance": 6.0,
"priority": 2
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.25,
"track_target": false,
"reach_multiplier": 0.0 // this prevents creepers from ocasionally performing melee attacks while using this goal to chase
},
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "ocelot"},
{ "test" : "is_family", "subject" : "other", "value" : "cat"}
]
},
"max_dist": 6,
"sprint_speed_multiplier": 1.2
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"must_see": true,
"must_see_forget_duration": 3.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 16
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 2
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:on_target_escape": {
"event": "minecraft:stop_exploding",
"target": "self"
}
},
"events": {
"minecraft:start_exploding_forced": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:forced_exploding"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:forced_charged_exploding"
]
}
}
]
},
"minecraft:start_exploding": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:exploding"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:charged_exploding"
]
}
}
]
},
"minecraft:stop_exploding": {
"remove": {
"component_groups": [
"minecraft:exploding"
]
}
},
"minecraft:become_charged": {
"remove": {
"component_groups": [
"minecraft:exploding"
]
},
"add": {
"component_groups": [
"minecraft:charged_creeper"
]
}
}
}
}
}

View File

@ -0,0 +1,431 @@
{
"format_version": "1.13.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.swim_with_entity": {
"priority": 4,
"success_rate": 0.1,
"chance_to_stop": 0.0333,
"state_check_interval": 0.5,
"catch_up_threshold": 12.0,
"match_direction_threshold": 2.0,
"catch_up_multiplier": 2.5,
"speed_multiplier": 1.5,
"search_range": 20.0,
"stop_distance": 5.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" }
}
]
},
"minecraft: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,48 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:dragon_fireball",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"spawn_aoe_cloud": {
"radius": 6.0,
"radius_on_use": 0,
"potion": 23,
"particle": "dragonbreath",
"duration": 120,
"color": [ 220, 0, 239 ],
"affect_owner": false,
"reapplication_delay": 20
},
"remove_on_hit": { }
},
"power": 1.3,
"gravity": 0.00,
"inertia": 1,
"anchor": 2,
"offset": [ 0, 0.5, 0 ],
"semi_random_diff_damage": true,
"uncertainty_base": 10.0,
"reflect_on_hurt": true,
"hit_sound": "explode"
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
}

View File

@ -0,0 +1,389 @@
{
"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.0,
"attack_interval_max": 3.0,
"attack_radius": 10.0
}
},
"minecraft:melee_mode": {
"minecraft:attack": {
"damage": 3
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"speed_multiplier": 1,
"track_target": false,
"require_complete_path": true
},
"minecraft: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": 2,
"goal_radius": 1.14,
"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,
"reselect_targets": true,
"must_see": true,
"within_radius": 12.0,
"must_see_forget_duration": 17.0,
"persist_time": 0.5,
"entity_types": [
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20
},
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 20
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:on_target_acquired": {
"event": "minecraft:has_target",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:lost_target",
"target": "self"
}
},
"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,111 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:elder_guardian",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:collision_box": {
"width": 1.99,
"height": 1.99
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/elder_guardian.json"
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
},
"minecraft:movement.sway": {
},
"minecraft:jump.static": {
},
"minecraft:health": {
"value": 80,
"max": 80
},
"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:underwater_movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 5
},
"minecraft:follow_range": {
"value": 16,
"max": 16
},
"minecraft:breathable": {
"breathes_water": true
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:behavior.guardian_attack": {
"priority": 4
},
"minecraft:behavior.move_towards_restriction": {
"priority": 5,
"speed_multiplier": 1.0,
"control_flags": [ "move", "look" ]
},
"minecraft:behavior.random_swim": {
"priority": 7,
"speed_multiplier": 0.5,
"avoid_surface": false
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 12.0,
"probability": 0.01
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:type_family": {
"family": [ "guardian_elder", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
}
}

View File

@ -0,0 +1,203 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:enderman",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:enderman_calm": {
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:movement": {
"value": 0.3
}
},
"minecraft:enderman_angry": {
"minecraft:angry": {
"duration": 25,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:movement": {
"value": 0.45
},
"minecraft:behavior.melee_attack": {
"priority": 2
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "enderman", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/enderman.json"
},
"minecraft:health": {
"value": 40,
"max": 40
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
},
{
"filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
"cause": "drowning",
"damage_per_tick": 1
}
]
},
"minecraft:attack": {
"damage": 7
},
"minecraft:follow_range": {
"value": 32,
"max": 32
},
"minecraft:collision_box": {
"width": 0.6,
"height": 2.9
},
"minecraft:teleport": {
"random_teleports": true,
"max_random_teleport_time": 30,
"random_teleport_cube": [ 32, 32, 32 ],
"target_distance": 16,
"target_teleport_chance": 0.05,
"light_teleport_chance": 0.05
},
"minecraft:lookat": {
"search_radius": 64.0,
"set_target": true,
"look_cooldown": 5.0,
"filters": {
"all_of": [
{
"subject": "other",
"test": "is_family",
"value": "player"
},
{
"test": "has_equipment",
"domain": "head",
"subject": "other",
"operator": "not",
"value": "carved_pumpkin"
}
]
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"must_see": true,
"attack_interval": 10,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "endermite" },
"max_dist": 64
}
]
},
"minecraft:navigation.walk": {
"can_path_over_water": false,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 8.0,
"probability": 8.0
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.hurt_by_target": {
"priority": 3
},
"minecraft:behavior.enderman_leave_block": {
"priority": 10
},
"minecraft:behavior.enderman_take_block": {
"priority": 11
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:enderman_calm"
]
}
},
"minecraft:become_angry": {
"remove": {
"component_groups": [
"minecraft:enderman_calm"
]
},
"add": {
"component_groups": [
"minecraft:enderman_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:enderman_angry"
]
},
"add": {
"component_groups": [
"minecraft:enderman_calm"
]
}
}
}
}
}

View File

@ -0,0 +1,96 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:endermite",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 3 : 0"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "endermite", "arthropod", "monster", "mob" ]
},
"minecraft:collision_box": {
"width": 0.4,
"height": 0.3
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"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:attack": {
"damage": 2
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"must_see": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "enderman" }
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
}
}

View File

@ -0,0 +1,128 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cod",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "cod", "fish" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.3
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:loot": {
"table": "loot_tables/entities/fish.json"
},
"minecraft:scale": {
"value": 1.0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:underwater_movement": {
"value": 0.1
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:behavior.swim_idle": {
"priority": 5,
"idle_time": 5.0,
"success_rate": 0.1
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"priority": 3,
"speed_multiplier": 1.0,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 4,
"interval": 0.1,
"look_ahead": 2.0,
"speed_multiplier": 1.0,
"wander_time": 5.0
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 6,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 2.0
}
]
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": true,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 1.75,
"separation_threshold": 0.95,
"cohesion_weight": 2.0,
"cohesion_threshold": 1.95,
"innner_cohesion_threshold": 1.25,
"min_height": 1.5,
"max_height": 6.0,
"block_distance": 2.0,
"block_weight": 0.85
},
"minecraft:nameable": {
}
}
}
}

View File

@ -0,0 +1,862 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:fox",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:fox_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": "sweet_berries",
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 9,
"speed_multiplier": 1.1
}
},
"minecraft:fox_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/fox.json"
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breed_items": "sweet_berries",
"breeds_with": {
"mate_type": "minecraft:fox",
"baby_type": "minecraft:fox",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
}
},
"minecraft:fox_with_item": {
"minecraft:equipment": {
"table": "loot_tables/entities/fox_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.mainhand",
"drop_chance": 1.0
}
]
}
},
"minecraft:trusting_fox" : {
"minecraft:trust": {},
"minecraft:behavior.defend_trusted_target": {
"priority": 0,
"within_radius": 25,
"must_see": false,
"aggro_sound": "mad",
"sound_chance": 0.05,
"on_defend_start": {
"event": "minecraft:fox_configure_defending",
"target": "self"
}
}
},
"minecraft:docile_fox": {
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.melee_attack": {
"priority": 10,
"track_target": true,
"require_complete_path": true,
"reach_multiplier": 1.5
}
},
"minecraft:defending_fox": {
"minecraft:behavior.melee_attack": {
"priority": 1,
"track_target": true,
"require_complete_path": true,
"reach_multiplier": 1.5
},
"minecraft:behavior.panic": {
"priority": 2,
"speed_multiplier": 1.25
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{ "test": "is_daytime", "value": true },
{ "test": "has_target", "operator": "==", "value": false }
]
},
"event": "minecraft:fox_configure_docile_day"
},
{
"filters": {
"all_of": [
{ "test": "is_daytime", "value": false },
{ "test": "has_target", "operator": "==", "value": false }
]
},
"event": "minecraft:fox_configure_docile_night"
}
]
}
},
"minecraft:fox_red": {
"minecraft:variant": {
"value": 0
},
"minecraft:behavior.nearest_prioritized_attackable_target": {
"priority": 6,
"attack_interval": 2,
"reselect_targets": true,
"target_search_height": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "rabbit"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "cod"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "salmon"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "tropicalfish"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 12,
"priority": 0
}
]
}
},
"minecraft:fox_arctic": {
"minecraft:variant": {
"value": 1
},
"minecraft:behavior.nearest_prioritized_attackable_target": {
"priority": 6,
"attack_interval": 2,
"reselect_targets": true,
"target_search_height": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "rabbit"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "cod"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "salmon"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "tropicalfish"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 12,
"priority": 1
}
]
}
},
"minecraft:fox_thunderstorm": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
{ "test": "is_daytime", "value": true }
]
},
"event": "minecraft:fox_configure_day"
},
{
"filters": {
"all_of": [
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
{ "test": "is_daytime", "value": false }
]
},
"event": "minecraft:fox_configure_night"
}
]
},
"minecraft:behavior.find_cover": {
"priority": 0,
"speed_multiplier": 1,
"cooldown_time": 0.0
}
},
"minecraft:fox_day": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
"event": "minecraft:fox_configure_thunderstorm"
},
{
"filters": { "test": "is_daytime", "value": false },
"event": "minecraft:fox_configure_night"
}
]
},
"minecraft:behavior.nap": {
"priority": 8,
"cooldown_min": 2.0,
"cooldown_max": 7.0,
"mob_detect_dist": 12.0,
"mob_detect_height": 6.0,
"can_nap_filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "on_ground",
"subject": "self",
"operator": "==",
"value": true
},
{
"test": "is_underground",
"subject": "self",
"operator": "==",
"value": true
},
{
"test": "weather_at_position",
"subject": "self",
"operator": "!=",
"value": "thunderstorm"
}
]
},
"wake_mob_exceptions": {
"any_of": [
{
"test": "trusts",
"subject": "other",
"operator": "==",
"value": true
},
{
"test": "is_family",
"subject": "other",
"operator": "==",
"value": "fox"
},
{
"test": "is_sneaking",
"subject": "other",
"operator": "==",
"value": true
}
]
}
},
"minecraft:behavior.find_cover": {
"priority": 9,
"speed_multiplier": 1,
"cooldown_time": 5.0
}
},
"minecraft:fox_night": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
"event": "minecraft:fox_configure_thunderstorm"
},
{
"filters": { "test": "is_daytime", "value": true },
"event": "minecraft:fox_configure_day"
}
]
},
"minecraft:behavior.stroll_towards_village": {
"priority": 11,
"speed_multiplier": 1.0,
"goal_radius": 3.0,
"cooldown_time": 10.0,
"search_range": 32,
"start_chance": 0.005
}
},
"minecraft:fox_ambient_normal": {
"minecraft:ambient_sound_interval": {
"event_name": "ambient"
}
},
"minecraft:fox_ambient_sleep": {
"minecraft:ambient_sound_interval": {
"event_name": "sleep"
}
},
"minecraft:fox_ambient_night": {
"minecraft:ambient_sound_interval": {
"event_name": "screech",
"value": 80,
"range": 160
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "fox", "mob" ]
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"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.6,
"height": 0.7
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 2
},
"minecraft:shareables": {
"all_items": true,
"all_items_max_amount": 1,
"items": [
{ "item": "minecraft:apple", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:appleEnchanted", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:baked_potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beef", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beetroot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beetroot_soup", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:bread", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:carrot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:chicken", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:chorus_fruit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:clownfish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_beef", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_chicken", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_fish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_porkchop", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_rabbit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_salmon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cookie", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:dried_kelp", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:fish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:golden_apple", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:golden_carrot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:melon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:mushroom_stew", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:muttonCooked", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:muttonRaw", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:poisonous_potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:porkchop", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:pufferfish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:pumpkin_pie", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rabbit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rabbit_stew", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rotten_flesh", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:salmon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:spider_eye", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:sweet_berries", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:suspicious_stew", "priority": 0, "max_amount": 1 }
]
},
"minecraft:damage_sensor": {
"triggers": [
{
"on_damage": {
"filters": {
"test": "is_block",
"subject": "block",
"value": "minecraft:sweet_berry_bush"
}
},
"deals_damage": false
}
]
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.avoid_mob_type": {
"priority": 5,
"entity_types": [
{
"filters": {
"any_of": [
{
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "trusts", "subject": "other", "operator": "!=", "value": true },
{ "test": "is_sneaking", "subject": "other", "operator": "!=", "value": true }
]
},
{ "test": "is_family", "subject": "other", "value": "polarbear" },
{ "test": "is_family", "subject": "other", "value": "wolf" }
]
},
"max_dist": 10,
"sprint_speed_multiplier": 1.5
}
]
},
"minecraft:behavior.tempt": {
"priority": 3,
"speed_multiplier": 0.5,
"within_radius": 16,
"can_get_scared": true,
"items": [
"sweet_berries"
]
},
"minecraft:behavior.stalk_and_pounce_on_target": {
"priority": 7,
"stalk_speed": 1.2,
"max_stalk_dist": 12.0,
"leap_height": 0.9,
"leap_dist": 0.8,
"pounce_max_dist": 5.0,
"interest_time": 2.0,
"stuck_time": 2.0,
"strike_dist": 2.0,
"stuck_blocks": { "test": "is_block", "subject": "block", "operator": "==", "value": "snow_layer" }
},
"minecraft:behavior.pickup_items": {
"priority": 11,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 0.5
},
"minecraft:behavior.eat_carried_item": {
"priority": 12,
"delay_before_eating": 28
},
"minecraft:behavior.random_look_around_and_sit": {
"priority": 12,
"min_look_count": 2,
"max_look_count": 5,
"min_look_time": 80,
"max_look_time": 100,
"probability": 0.001
},
"minecraft:behavior.raid_garden": {
"priority": 12,
"blocks": [
"minecraft:sweet_berry_bush"
],
"speed_multiplier": 1.2,
"search_range": 12,
"search_height": 2,
"goal_radius": 0.8,
"max_to_eat": 0,
"initial_eat_delay": 2
},
"minecraft:behavior.random_stroll": {
"priority": 13,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 14,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 15
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.6
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:scheduler": {
"min_delay_secs": 0,
"max_delay_secs": 0,
"scheduled_events": [
{
"filters": [
{ "test": "is_sleeping", "value": true }
],
"event": "minecraft:ambient_sleep"
},
{
"filters": {
"all_of":[
{ "test" : "is_daytime", "value" : false },
{ "test": "distance_to_nearest_player", "operator": ">", "value": 16 }
]
},
"event": "minecraft:ambient_night"
},
{
"filters": {
"all_of":[
{ "test" : "is_sleeping", "value" : false },
{
"any_of":[
{ "test" : "is_daytime", "value" : true },
{ "test": "distance_to_nearest_player", "operator": "<=", "value": 16 }
]
}
]
},
"event": "minecraft:ambient_normal"
}
]
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "is_daytime", "value" : false },
"event": "minecraft:fox_configure_night"
},
{
"filters": { "test" : "is_daytime", "value" : true },
"event": "minecraft:fox_configure_day"
}
]
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"minecraft:fox_adult",
"minecraft:fox_with_item",
"minecraft:docile_fox"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"minecraft:fox_baby",
"minecraft:docile_fox"
]
}
}
]
},
{
"filters": {
"test": "is_snow_covered",
"value": true
},
"add": { "component_groups": [ "minecraft:fox_arctic" ] }
},
{
"filters": {
"test": "is_snow_covered",
"value": false
},
"add": { "component_groups": [ "minecraft:fox_red" ] }
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:fox_baby",
"minecraft:trusting_fox",
"minecraft:docile_fox"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:fox_baby"
]
},
"add": {
"component_groups": [
"minecraft:fox_adult"
]
}
},
"minecraft:fox_configure_thunderstorm": {
"remove": {
"component_groups": [
"minecraft:fox_night",
"minecraft:fox_day"
]
},
"add": {
"component_groups": [
"minecraft:fox_thunderstorm"
]
}
},
"minecraft:fox_configure_day": {
"remove": {
"component_groups": [
"minecraft:fox_night",
"minecraft:fox_thunderstorm"
]
},
"add": {
"component_groups": [
"minecraft:fox_day"
]
}
},
"minecraft:fox_configure_night": {
"remove": {
"component_groups": [
"minecraft:fox_day",
"minecraft:fox_thunderstorm"
]
},
"add": {
"component_groups": [
"minecraft:fox_night"
]
}
},
"minecraft:ambient_normal": {
"add": {
"component_groups": [
"minecraft:fox_ambient_normal"
]
}
},
"minecraft:ambient_sleep": {
"add": {
"component_groups": [
"minecraft:fox_ambient_sleep"
]
}
},
"minecraft:ambient_night": {
"add": {
"component_groups": [
"minecraft:fox_ambient_night"
]
}
},
"minecraft:fox_configure_defending": {
"remove": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_day",
"minecraft:fox_night"
]
},
"add": {
"component_groups": [
"minecraft:defending_fox"
]
}
},
"minecraft:fox_configure_docile_day": {
"remove": {
"component_groups": [
"minecraft:defending_fox",
"minecraft:fox_night"
]
},
"add": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_day"
]
}
},
"minecraft:fox_configure_docile_night": {
"remove": {
"component_groups": [
"minecraft:defending_fox",
"minecraft:fox_day"
]
},
"add": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_night"
]
}
}
}
}
}

View File

@ -0,0 +1,202 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:guardian",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:guardian_aggressive": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:target_nearby_sensor": {
"inside_range": 3.0,
"outside_range": 4.0,
"on_inside_range": {
"event": "minecraft:target_too_close",
"target": "self"
}
},
"minecraft:behavior.guardian_attack": {
"priority": 4
}
},
"minecraft:guardian_passive": {
"minecraft:timer": {
"time": [ 1, 3 ],
"looping": false,
"time_down_event": {
"event": "minecraft:target_far_enough",
"target": "self"
}
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {"test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 8,
"walk_speed_multiplier": 1,
"sprint_speed_multiplier": 1
}
]
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:health": {
"value": 30,
"max": 30
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.12
},
"minecraft:underwater_movement": {
"value": 0.12
},
"minecraft:attack": {
"damage": 5
},
"minecraft:follow_range": {
"value": 16,
"max": 16
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
},
"minecraft:movement.sway": {
},
"minecraft:jump.static": {
},
"minecraft:breathable": {
"breathes_water": true
},
"minecraft:loot": {
"table": "loot_tables/entities/guardian.json"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:target_nearby_sensor": {
"inside_range": 3.0,
"outside_range": 4.0,
"on_inside_range": {
"event": "minecraft:target_too_close",
"target": "self"
}
},
"minecraft:behavior.guardian_attack": {
"priority": 4
},
"minecraft:behavior.move_towards_restriction": {
"priority": 5,
"speed_multiplier": 1.0,
"control_flags": [ "move", "look" ]
},
"minecraft:behavior.random_swim": {
"priority": 7,
"speed_multiplier": 1.0,
"interval": 80,
"avoid_surface": false
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 12.0,
"probability": 0.01
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:type_family": {
"family": [ "guardian", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:target_too_close": {
"remove": {
"component_groups": [
"minecraft:guardian_aggressive"
]
},
"add": {
"component_groups": [
"minecraft:guardian_passive"
]
}
},
"minecraft:target_far_enough": {
"remove": {
"component_groups": [
"minecraft:guardian_passive"
]
},
"add": {
"component_groups": [
"minecraft:guardian_aggressive"
]
}
}
}
}
}

View File

@ -0,0 +1,620 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:horse",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:horse_baby": {
"minecraft:is_baby": {
},
"minecraft:scale_by_age": {
"start_scale": 0.5,
"end_scale": 1.0
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
{
"item": "wheat",
"growth": 0.016667
},
{
"item": "sugar",
"growth": 0.025
},
{
"item": "hay_block",
"growth": 0.15
},
{
"item": "apple",
"growth": 0.05
},
{
"item": "golden_carrot",
"growth": 0.05
},
{
"item": "golden_apple",
"growth": 0.2
},
{
"item": "appleEnchanted",
"growth": 0.2
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 4,
"speed_multiplier": 1.0
}
},
"minecraft:horse_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/horse.json"
},
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
}
},
"minecraft:horse_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player",
"zombie"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 1.1, -0.2 ]
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:tamemount": {
"min_temper": 0,
"max_temper": 100,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feed_items": [
{
"item": "wheat",
"temper_mod": 3
},
{
"item": "sugar",
"temper_mod": 3
},
{
"item": "apple",
"temper_mod": 3
},
{
"item": "golden_carrot",
"temper_mod": 5
},
{
"item": "golden_apple",
"temper_mod": 10
},
{
"item": "appleEnchanted",
"temper_mod": 10
}
],
"auto_reject_items": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "saddle"
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
},
"minecraft:horse_tamed": {
"minecraft:is_tamed": {
},
"minecraft:rideable": {
"priority": 0,
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 1.1, -0.2 ]
}
},
"minecraft:inventory": {
"inventory_size": 2,
"container_type": "horse"
},
"minecraft:breedable": {
"require_tame": true,
"inherit_tamed": false,
"breeds_with": [
{
"mate_type": "minecraft:horse",
"baby_type": "minecraft:horse",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
{
"mate_type": "minecraft:donkey",
"baby_type": "minecraft:mule",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
],
"breed_items": [
"golden_carrot",
"golden_apple",
"appleEnchanted"
]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"golden_apple",
"appleEnchanted",
"golden_carrot"
]
}
},
"minecraft:horse_saddled": {
"minecraft:is_saddled": {
},
"minecraft:input_ground_controlled": {
},
"minecraft:can_power_jump": {
},
"minecraft:behavior.player_ride_tamed": {
}
},
"minecraft:base_white": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:base_creamy": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:base_chestnut": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:base_brown": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:base_black": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:base_gray": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:base_darkbrown": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:markings_none": {
"minecraft:mark_variant": {
"value": 0
}
},
"minecraft:markings_white_details": {
"minecraft:mark_variant": {
"value": 1
}
},
"minecraft:markings_white_fields": {
"minecraft:mark_variant": {
"value": 2
}
},
"minecraft:markings_white_dots": {
"minecraft:mark_variant": {
"value": 3
}
},
"minecraft:markings_black_dots": {
"minecraft:mark_variant": {
"value": 4
}
}
},
"components": {
"minecraft:equippable": {
"slots": [
{
"slot": 0,
"item": "saddle",
"accepted_items": [ "saddle" ],
"on_equip": {
"event": "minecraft:horse_saddled"
},
"on_unequip": {
"event": "minecraft:horse_unsaddled"
}
},
{
"slot": 1,
"item": "horsearmoriron",
"accepted_items": [
"horsearmorleather",
"horsearmoriron",
"horsearmorgold",
"horsearmordiamond"
]
}
]
},
"minecraft:type_family": {
"family": [ "horse", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 1.4,
"height": 1.6
},
"minecraft:health": {
"value": {
"range_min": 15,
"range_max": 30
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": {
"range_min": 0.1125,
"range_max": 0.3375
}
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:nameable": {
},
"minecraft:horse.jump_strength": {
"value": {
"range_min": 0.4,
"range_max": 1.0
}
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:healable": {
"items": [
{
"item": "wheat",
"heal_amount": 2
},
{
"item": "sugar",
"heal_amount": 1
},
{
"item": "hay_block",
"heal_amount": 20
},
{
"item": "apple",
"heal_amount": 3
},
{
"item": "golden_carrot",
"heal_amount": 4
},
{
"item": "golden_apple",
"heal_amount": 10
},
{
"item": "appleEnchanted",
"heal_amount": 10
}
]
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 3,
"speed_multiplier": 1.2
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 36,
"add": {
"component_groups": [
"minecraft:horse_adult",
"minecraft:horse_wild"
]
}
},
{
"weight": 9,
"add": {
"component_groups": [
"minecraft:horse_baby"
]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_white" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_creamy" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_chestnut" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_brown" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_black" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_gray" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_darkbrown" ]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_none" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_details" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_fields" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_dots" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_black_dots" ]
}
}
]
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:horse_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:horse_wild"
]
},
"add": {
"component_groups": [
"minecraft:horse_tamed"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:horse_baby"
]
},
"add": {
"component_groups": [
"minecraft:horse_adult",
"minecraft:horse_wild"
]
}
},
"minecraft:horse_saddled": {
"add": {
"component_groups": [
"minecraft:horse_saddled"
]
}
},
"minecraft:horse_unsaddled": {
"remove": {
"component_groups": [
"minecraft:horse_saddled"
]
}
},
"minecraft:make_white": {
"add": {
"component_groups": [ "minecraft:base_white" ]
}
},
"minecraft:make_creamy": {
"add": {
"component_groups": [ "minecraft:base_creamy" ]
}
},
"minecraft:make_chestnut": {
"add": {
"component_groups": [ "minecraft:base_chestnut" ]
}
},
"minecraft:make_brown": {
"add": {
"component_groups": [ "minecraft:base_brown" ]
}
},
"minecraft:make_black": {
"add": {
"component_groups": [ "minecraft:base_black" ]
}
},
"minecraft:make_gray": {
"add": {
"component_groups": [ "minecraft:base_gray" ]
}
},
"minecraft:make_darkbrown": {
"add": {
"component_groups": [ "minecraft:base_darkbrown" ]
}
}
}
}
}

View File

@ -0,0 +1,357 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:husk",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:look_to_start_zombie_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": true
},
"event": "minecraft:start_transforming"
}
}
},
"minecraft:start_zombie_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": false
},
"event": "minecraft:stop_transforming"
}
},
"minecraft:timer": {
"looping": false,
"time": 30,
"time_down_event": {
"event": "minecraft:convert_to_zombie"
}
}
},
"minecraft:convert_to_zombie": {
"minecraft:transformation": {
"into": "minecraft:zombie<minecraft:as_adult>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:convert_to_baby_zombie": {
"minecraft:transformation": {
"into": "minecraft:zombie<minecraft:as_baby>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:zombie_husk_baby": {
"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.53125
},
"minecraft:movement": {
"value": 0.35
}
},
"minecraft:zombie_husk_adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ],
"lock_rider_rotation": 0
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"minecraft:scale": {
"value": 1.0625
}
},
"minecraft:zombie_husk_jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16
}
}
},
"components": {
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:nameable": {
},
// Zombie_husk Components
"minecraft:type_family": {
"family": [ "husk", "zombie", "undead", "monster", "mob" ]
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_equipment.json"
},
"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:attack": {
"damage": 3,
"effect_name": "hunger",
"effect_duration": 30
},
"minecraft:variant": {
"value": 2
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_break_doors": true,
"avoid_portals": false
},
"minecraft:annotation.break_door": {
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:start_transforming"
}
]
},
// Zombie_husk Behaviors
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.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,
"must_see": true,
"reselect_targets": true,
"within_radius": 25.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
"max_dist": 35
},
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 35,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby",
"minecraft:zombie_husk_jockey"
]
}
}
]
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_zombie_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_zombie_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
}
},
"minecraft:convert_to_zombie": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,299 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:iron_golem",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:player_created": {
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
]
}
}
}
},
"minecraft:village_created": {
"minecraft:behavior.defend_village_target": {
"priority": 1,
"must_reach": true,
"attack_chance": 0.05,
"entity_types": {
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "test": "is_family", "subject": "other", "value": "player" }
]
}
}
},
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "defender",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "irongolem", "mob" ]
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 1.4,
"height": 2.9
},
"minecraft:loot": {
"table": "loot_tables/entities/iron_golem.json"
},
"minecraft:health": {
"value": 100,
"max": 100
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": false,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": {
"range_min": 7,
"range_max": 21
}
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 2.0
},
"minecraft:preferred_path" : {
"max_fall_blocks" : 1,
"jump_cost" : 5,
"default_block_cost" : 1.5,
"preferred_path_blocks" : [
{
"cost" : 0,
"blocks" : [
"grass_path"
]
},
{
"cost" : 1,
"blocks" : [
"cobblestone",
"stone",
"stonebrick",
"sandstone",
"mossy_cobblestone",
"stone_slab",
"stone_slab2",
"stone_slab3",
"stone_slab4",
"double_stone_slab",
"double_stone_slab2",
"double_stone_slab3",
"double_stone_slab4",
"wooden_slab",
"double_wooden_slab",
"planks",
"brick_block",
"nether_brick",
"red_nether_brick",
"end_bricks",
"red_sandstone",
"stained_glass",
"glass",
"glowstone",
"prismarine",
"emerald_block",
"diamond_block",
"lapis_block",
"gold_block",
"redstone_block",
"purple_glazed_terracotta",
"white_glazed_terracotta",
"orange_glazed_terracotta",
"magenta_glazed_terracotta",
"light_blue_glazed_terracotta",
"yellow_glazed_terracotta",
"lime_glazed_terracotta",
"pink_glazed_terracotta",
"gray_glazed_terracotta",
"silver_glazed_terracotta",
"cyan_glazed_terracotta",
"blue_glazed_terracotta",
"brown_glazed_terracotta",
"green_glazed_terracotta",
"red_glazed_terracotta",
"black_glazed_terracotta"
]
},
{
"cost" : 50,
"blocks" : [
"bed",
"lectern",
"composter",
"grindstone",
"blast_furnace",
"smoker",
"fletching_table",
"cartography_table",
"brewing_stand",
"smithing_table",
"cauldron",
"barrel",
"loom",
"stonecutter"
]
}
]
},
"minecraft:behavior.target_when_pushed": {
"priority": 1,
"percent_chance": 5.0,
"entity_types": [
{
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "other", "value" : "monster" },
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper" }
]
}
}
]
},
"minecraft:behavior.melee_attack": {
"priority": 1,
"track_target": true
},
"minecraft:behavior.move_towards_target": {
"priority": 2,
"speed_multiplier": 0.9,
"within_radius": 32
},
"minecraft:behavior.move_through_village": {
"priority": 3,
"speed_multiplier": 0.6,
"only_at_night": true
},
"minecraft:behavior.move_towards_restriction": {
"priority": 4,
"speed_multiplier": 1
},
"minecraft:behavior.offer_flower": {
"priority": 5
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.6,
"xz_dist": 16
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"must_reach": true,
"must_see": true,
"entity_types": [
{
"filters": {
"all_of": [
{ "test" : "is_family", "subject" : "other", "value" : "monster"},
{ "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"}
]
},
"within_default": 10
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "creeper" }
}
},
"minecraft:persistent": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
}
},
"events": {
"minecraft:from_player": {
"add": {
"component_groups": [
"minecraft:player_created"
]
}
},
"minecraft:from_village": {
"add": {
"component_groups": [
"minecraft:village_created"
]
}
}
}
}
}

View File

@ -0,0 +1,186 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:magma_cube",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:slime_large": {
"minecraft:collision_box": {
"width": 2.08,
"height": 2.08
},
"minecraft:health": {
"value": 16,
"max": 16
},
"minecraft:movement": {
"value": 0.75
},
"minecraft:attack": {
"damage": 6
},
"minecraft:loot": {
"table": "loot_tables/entities/magma_cube.json"
}
},
"minecraft:slime_medium": {
"minecraft:collision_box": {
"width": 0.78,
"height": 0.78
},
"minecraft:health": {
"value": 4,
"max": 4
},
"minecraft:movement": {
"value": 0.66
},
"minecraft:attack": {
"damage": 4
},
"minecraft:loot": {
"table": "loot_tables/entities/magma_cube.json"
}
},
"minecraft:slime_small": {
"minecraft:collision_box": {
"width": 0.52,
"height": 0.52
},
"minecraft:health": {
"value": 1,
"max": 1
},
"minecraft:movement": {
"value": 0.6
},
"minecraft:attack": {
"damage": 2
}
},
"minecraft:slime_calm": {
"minecraft:movement.jump": {
"jump_delay": [ 2.0, 6.0 ]
}
},
"minecraft:slime_aggressive": {
"minecraft:movement.jump": {
"jump_delay": [ 0.667, 2.0 ]
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? query.variant : 0"
},
"minecraft:type_family": {
"family": [ "magmacube", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_lava": true
},
"minecraft:nameable": {
},
"minecraft:fire_immune": true,
"minecraft:burns_in_daylight": false,
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true
},
"minecraft:jump.static": {
},
"minecraft:movement.jump": {
"jump_delay": [ 2.0, 6.0 ]
},
"minecraft:can_climb": {
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_aggressive",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:become_calm",
"target": "self"
},
"minecraft:behavior.slime_float": {
"priority": 1,
"jump_chance_percentage": 0.8,
"speed_multiplier": 1.2
},
"minecraft:behavior.slime_attack": {
"priority": 3
},
"minecraft:behavior.slime_random_direction": {
"priority": 4,
"add_random_time_range": 3,
"turn_range": 360,
"min_change_direction_time": 2.0
},
"minecraft:behavior.slime_keep_on_jumping": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:slime_calm"
]
}
},
"minecraft:become_calm": {
"add": {
"component_groups": [
"minecraft:slime_calm"
]
}
},
"minecraft:become_aggressive": {
"add": {
"component_groups": [
"minecraft:slime_aggressive"
]
}
}
}
}
}

View File

@ -0,0 +1,387 @@
{
"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,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 8
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.leap_at_target": {
"priority": 3,
"target_dist": 0.3
},
"minecraft:behavior.ocelotattack": {
"priority": 4,
"cooldown_time": 1.0,
"x_max_rotation": 30.0,
"y_max_head_rotation": 30.0,
"max_distance": 15.0,
"max_sneak_range": 15.0,
"max_sprint_range": 4.0,
"reach_multiplier": 2.0,
"sneak_speed_multiplier": 0.6,
"sprint_speed_multiplier": 1.33,
"walk_speed_multiplier": 0.8
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 9
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"on_leash": {
"event": "minecraft:on_leash",
"target": "self"
},
"on_unleash": {
"event": "minecraft:on_unleash",
"target": "self"
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"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,690 @@
{
"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,
"attack_once": true,
"track_target": true,
"reach_multiplier": 1.0
}
},
"minecraft:panda_lazy": {
"minecraft:variant": {
"value": 1
},
"minecraft:behavior.lay_down": {
"priority": 5,
"interval": 400,
"random_stop_interval": 2000
},
"minecraft:behavior.random_sitting": {
"priority": 6,
"start_chance": 0.02,
"stop_chance": 0.2,
"cooldown": 25,
"min_sit_time": 15
},
"minecraft:behavior.snacking": {
"priority": 3,
"snacking_cooldown": 17.5,
"snacking_cooldown_min": 10,
"snacking_stop_chance": 0.0011,
"items": [
"bamboo",
"cake"
]
},
"minecraft:behavior.panic": {
"priority": 1,
// Lazy panda's move half the speed, so double their multiplier when they panic
// Otherwise, they don't actually look like they're panicking
"speed_multiplier": 2.5
},
"minecraft:movement": {
"value": 0.07
}
},
"minecraft:panda_worried": {
"minecraft:variant": {
"value": 2
},
"minecraft:behavior.scared": {
"priority": 1,
"sound_interval": 20
},
"minecraft:behavior.avoid_mob_type": {
"priority": 5,
"max_dist": 16,
"max_flee": 20,
"entity_types": [
{
"filters": {
"test": "is_family",
"operator": "!=",
"subject": "other",
"value": "panda"
},
"max_dist": 16,
"sprint_speed_multiplier": 1.5
}
]
}
},
"minecraft:panda_playful": {
"minecraft:variant": {
"value": 3
},
"minecraft:behavior.roll": {
"priority": 12,
"probability": 0.013
}
},
"minecraft:panda_brown": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:panda_weak": {
"minecraft:variant": {
"value": 5
},
"minecraft:health": {
"value": 10,
"max": 10
}
},
"minecraft:panda_sneezing": {
"minecraft:behavior.sneeze": {
"priority": 7,
"probability": 0.002,
"cooldown_time": 1.0,
"within_radius": 10.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"subject": "other",
"value": "panda"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
},
{
"test": "on_ground",
"operator": "==",
"value": true
}
]
},
"max_dist": 10
}
],
"drop_item_chance": 0.001,
"loot_table": "loot_tables/entities/panda_sneeze.json",
"prepare_sound": "presneeze",
"prepare_time": 1.0,
"sound": "sneeze"
}
},
"minecraft:panda_aggressive": {
"minecraft:type_family": {
"family": [ "panda" , "panda_aggressive", "mob" ]
},
"minecraft:variant": {
"value": 6
},
"minecraft:attack": {
"damage": 6.0
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"track_target": true,
"reach_multiplier": 1.0
},
"minecraft:on_friendly_anger": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
// Aggressive pandas don't panic from mob damage
"ignore_mob_damage": true
}
},
"minecraft:panda_angry": {
"minecraft:angry": {
"duration": 500,
"broadcast_anger": true,
"broadcast_range": 41,
"broadcast_filters": {
"test": "is_family",
"operator": "==",
"value": "panda_aggressive"
},
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
}
},
"minecraft:baby_scared": {
"minecraft:angry": {
"duration": 1,
"broadcast_anger": true,
"broadcast_range": 41,
"broadcast_filters": {
"test": "is_family",
"operator": "==",
"value": "panda_aggressive"
},
"calm_event": {
"event": "minecraft:baby_on_calm",
"target": "self"
}
}
}
},
"components": {
"minecraft: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": {
"mass": 1.5
},
"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,124 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:phantom",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "phantom", "undead", "monster", "mob" ]
},
"minecraft:loot": {
"table": "loot_tables/entities/phantom.json"
},
"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:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:attack": {
"damage": 6
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": false
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.5
},
"minecraft:movement": {
"value": 1.8
},
"minecraft:movement.glide": {
"start_speed": 0.1,
"speed_when_turning": 0.2
},
"minecraft:burns_in_daylight": {
},
"minecraft:follow_range": {
"value": 64,
"max": 64
},
"minecraft:behavior.avoid_mob_type": {
"priority": 0,
"max_dist": 16.0,
"ignore_visibility": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "ocelot" },
{ "test": "is_family", "subject": "other", "value": "cat" }
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"reselect_targets": true,
"scan_interval": 20,
"within_radius": 64.0,
"must_see_forget_duration": 0.5,
"target_search_height": 80.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 64
}
]
},
"minecraft:behavior.swoop_attack": {
"priority": 2,
"damage_reach": 0.2,
"speed_multiplier": 1.0,
"delay_range": [ 10.0, 20.0 ]
},
"minecraft:behavior.circle_around_anchor": {
"priority": 3,
"radius_change": 1.0,
"radius_adjustment_chance": 0.004,
"height_adjustment_chance": 0.002857,
"goal_radius": 1.0,
"angle_change": 15.0,
"radius_range": [ 5.0, 15.0 ],
"height_offset_range": [ -4.0, 5.0 ],
"height_above_target_range": [ 20.0, 40.0 ]
}
}
}
}

View File

@ -0,0 +1,433 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pillager",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:ranged_attack": {
"minecraft:behavior.ranged_attack": {
"priority": 4,
"attack_interval_min": 1.0,
"attack_interval_max": 1.0,
"attack_radius": 8.0
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true
},
"minecraft:attack": {
"damage": 3
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:ranged_mode"
}
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": false,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 5,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:loot": {
"table": "loot_tables/entities/pillager_raid.json"
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:illager_squad_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:patrol_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:calm",
"target": "self"
},
"minecraft:behavior.hold_ground": {
"priority": 5,
"min_radius": 10,
"broadcast": true,
"broadcast_range": 8,
"within_radius_event": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:behavior.move_to_random_block": {
"priority": 6,
"speed_multiplier": 0.55,
"within_radius": 8,
"block_distance": 512
}
},
"minecraft:patrol_follower": {
"minecraft:behavior.follow_target_captain": {
"priority": 5,
"speed_multiplier": 0.8,
"within_radius": 64,
"follow_distance": 5
},
"minecraft:behavior.hold_ground": {
"priority": 6,
"min_radius": 10,
"broadcast": true,
"broadcast_range": 8,
"within_radius_event": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:calm",
"target": "self"
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:type_family": {
"family": [ "pillager", "monster", "illager", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:health": {
"value": 24,
"max": 24
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:loot": {
"table": "loot_tables/entities/pillager.json"
},
"minecraft:movement": {
"value": 0.35
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:nameable": {
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_gear.json"
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"max_dist": 64
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "irongolem" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.charge_held_item": {
"priority": 3,
"items": [
"minecraft:arrow"
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_as_patrol_follower": {
"add": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:spawn_as_illager_captain": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:illager_squad_captain"
]
}
},
"minecraft:promote_to_illager_captain": {
"add": {
"component_groups": [
"minecraft:illager_squad_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:promote_to_patrol_captain": {
"add": {
"component_groups": [
"minecraft:patrol_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:melee_mode": {
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
"add": { "component_groups": [ "minecraft:melee_attack" ] }
},
"minecraft:ranged_mode": {
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:calm": {
"remove": { "component_groups": [ "minecraft:melee_attack", "minecraft:ranged_attack" ] }
}
}
}
}

View File

@ -0,0 +1,301 @@
{
"format_version": "1.13.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
}
]
}
},
"minecraft:baby_scared": {
"minecraft:angry": {
"duration": 1,
"broadcast_anger": true,
"broadcast_range": 41,
"calm_event": {
"event": "minecraft:baby_on_calm",
"target": "self"
}
}
},
"minecraft:adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/polar_bear.json"
}
},
"minecraft:adult_wild": {
"minecraft:on_target_acquired": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:on_friendly_anger": {
"event": "minecraft:on_anger",
"target": "self"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "fox"
},
"max_dist": 16
}
],
"must_see": false
}
},
"minecraft:adult_hostile": {
"minecraft:attack": {
"damage": 6.0
},
"minecraft:angry": {
"duration": 500,
"broadcast_anger": false,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.stomp_attack": {
"priority": 1,
"track_target": true,
"require_complete_path": true,
"stomp_range_multiplier": 2.0,
"no_damage_range_multiplier": 2.0
}
}
},
"components": {
"minecraft: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,291 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pufferfish",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:normal_puff": {
"minecraft:variant": {
"value": 0
},
"minecraft:entity_sensor": {
"sensor_range": 2.5,
"relative_range": false,
"minimum_count": 1,
"event_filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
]
},
"event": "minecraft:start_half_puff"
}
},
"minecraft:half_puff_primary": {
"minecraft:variant": {
"value": 1
},
"minecraft:timer": {
"looping": false,
"time": 2,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_half_puff"
}
}
},
"minecraft:half_puff_secondary": {
"minecraft:variant": {
"value": 1
},
"minecraft:entity_sensor": {
"sensor_range": 2.5,
"relative_range": false,
"minimum_count": 1,
"event_filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
]
},
"event": "minecraft:start_full_puff"
},
"minecraft:timer": {
"looping": false,
"time": 2,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_normal_puff"
}
}
},
"minecraft:full_puff": {
"minecraft:variant": {
"value": 2
},
"minecraft:area_attack" : {
"damage_range": 0.2,
"damage_per_tick": 2,
"cause": "contact",
"entity_filter": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "monster" }
]
}
},
"minecraft:mob_effect": {
"effect_range": 0.2,
"mob_effect": "poison",
"effect_time": 10,
"entity_filter": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "monster" }
]
}
}
},
"minecraft:deflate_sensor_buffer": {
"minecraft:timer": {
"looping": false,
"time": 0.01,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_full_puff"
}
}
},
"minecraft:deflate_sensor": {
"minecraft:entity_sensor": {
"sensor_range": 2.9,
"relative_range": false,
"require_all": true,
"event_filters": {
"none_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
],
"test": "distance_to_nearest_player", "operator": ">", "value": 2.9
},
"event": "minecraft:from_full_puff"
}
},
"minecraft:start_deflate": {
"minecraft:timer": {
"looping": false,
"time": 3,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_deflate"
}
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "pufferfish", "fish" ]
},
"minecraft:collision_box": {
"width": 0.8,
"height": 0.8
},
"minecraft:loot": {
"table": "loot_tables/entities/pufferfish.json"
},
"minecraft:scale": {
"value": 1.2
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.13
},
"minecraft:underwater_movement": {
"value": 0.13
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"priority": 3,
"speed_multiplier": 1.0,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 5,
"interval": 1.0,
"look_ahead": 2.0,
"speed_multiplier": 1.0,
"wander_time": 5.0
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": true,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 1.75,
"separation_threshold": 0.95,
"cohesion_weight": 2.0,
"cohesion_threshold": 1.95,
"innner_cohesion_threshold": 1.25,
"min_height": 1.5,
"max_height": 6.0,
"block_distance": 2.0,
"block_weight": 0.85
},
"minecraft:nameable": {
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [ "minecraft:normal_puff" ]
}
},
"minecraft:to_full_puff": {
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
},
"minecraft:start_half_puff": {
"add": { "component_groups": [ "minecraft:half_puff_primary" ] },
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
},
"minecraft:on_half_puff": {
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
"remove": { "component_groups": [ "minecraft:half_puff_primary" ] }
},
"minecraft:start_full_puff": {
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
},
"minecraft:on_full_puff": {
"add": { "component_groups": [ "minecraft:deflate_sensor" ] },
"remove": { "component_groups": [ "minecraft:deflate_sensor_buffer" ] }
},
"minecraft:from_full_puff": {
"add": { "component_groups": [ "minecraft:start_deflate" ] },
"remove": { "component_groups": [ "minecraft:deflate_sensor" ] }
},
"minecraft:on_deflate": {
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
"remove": { "component_groups": [ "minecraft:full_puff", "minecraft:start_deflate" ] }
},
"minecraft:on_normal_puff": {
"add": { "component_groups": [ "minecraft:normal_puff" ] },
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
}
}
}
}

View File

@ -0,0 +1,321 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:rabbit",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value":0.4
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"golden_carrot",
"carrot",
"yellow_flower"
],
"grow_up": {
"event": "grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1.1
}
},
"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/rabbit.json"
},
"minecraft:scale": {
"value": 0.6
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"breed_items": [
"golden_carrot",
"carrot",
"yellow_flower"
],
"breeds_with": {
"mate_type": "minecraft:rabbit",
"baby_type": "minecraft:rabbit"
},
"require_tame": false,
"mutation_factor": {
"variant": 0.2
}
}
},
"coat_brown": {
"minecraft:variant": { "value": 0 }
},
"coat_white": {
"minecraft:variant": { "value": 1 }
},
"coat_black": {
"minecraft:variant": { "value": 2 }
},
"coat_splotched": {
"minecraft:variant": { "value": 3 }
},
"coat_desert": {
"minecraft:variant": { "value": 4 }
},
"coat_salt": {
"minecraft:variant": { "value": 5 }
}
},
"components": {
"minecraft:type_family": {
"family":["rabbit", "mob"]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 3,
"max": 3
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:collision_box": {
"width": 0.67,
"height": 0.67
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true
},
"minecraft:movement.skip": {
},
"minecraft:jump.dynamic": {
},
"minecraft:can_climb": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.4
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic" : {
"priority": 1,
"speed_multiplier": 2.2
},
"minecraft:behavior.avoid_mob_type": {
"priority": 4,
"entity_types":[
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 8,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.8
},
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "wolf"},
"max_dist": 4,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.8
},
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
"max_dist": 4,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.5
}
]
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 0.8
},
"minecraft:behavior.tempt": {
"priority": 3,
"speed_multiplier": 1,
"items": [
"golden_carrot",
"carrot",
"yellow_flower"
]
},
"minecraft:behavior.raid_garden": {
"priority": 5,
"blocks": [
"carrots"
],
"search_range": 16,
"goal_radius": 0.8
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.6,
"xz_dist": 2,
"y_dist": 1
},
"minecraft:behavior.look_at_player": {
"priority": 11
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"in_desert": { "add": { "component_groups": [ "coat_desert" ] } },
"in_snow": {
"randomize": [
{
"weight": 80,
"add": { "component_groups": [ "coat_white" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "coat_splotched" ] }
}
]
},
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"add": { "component_groups": [ "adult" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "baby" ] }
}
]
},
{
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
"randomize": [
{
"weight": 50,
"add": { "component_groups": [ "coat_brown" ] }
},
{
"weight": 40,
"add": { "component_groups": [ "coat_black" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "coat_salt" ] }
}
]
},
{
"filters": { "test": "is_biome", "value": "desert" },
"add": { "component_groups": [ "coat_desert" ] }
},
{
"filters": { "test": "is_snow_covered", "value": true },
"randomize": [
{
"weight": 80,
"add": { "component_groups": [ "coat_white" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "coat_splotched" ] }
}
]
}
]
},
"minecraft:entity_born": {
"sequence": [
{ "add": { "component_groups": [ "baby" ] } },
{
"filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"},
"randomize": [
{
"weight": 50,
"add": { "component_groups": [ "coat_brown" ] }
},
{
"weight": 40,
"add": { "component_groups": [ "coat_black" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "coat_salt" ] }
}
]
},
{
"filters": { "test": "is_biome", "value": "desert" },
"add": { "component_groups": [ "coat_desert" ] }
},
{
"filters": { "test": "is_snow_covered", "value": true },
"randomize": [
{
"weight": 80,
"add": { "component_groups": [ "coat_white" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "coat_splotched" ] }
}
]
}
]
},
"grow_up": {
"remove": { "component_groups": [ "baby" ] },
"add": { "component_groups": [ "adult" ] }
}
}
}
}

View File

@ -0,0 +1,444 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ravager",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:pillager_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager"
}
},
"minecraft:pillager_rider_for_raid": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager",
"spawn_event": "minecraft:spawn_for_raid"
}
},
"minecraft:evoker_rider_for_raid": {
"minecraft:addrider": {
"entity_type": "minecraft:evocation_illager",
"spawn_event": "minecraft:spawn_for_raid"
}
},
"minecraft:pillager_captain_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager",
"spawn_event": "minecraft:spawn_as_illager_captain"
}
},
"minecraft:vindicator_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:vindicator"
}
},
"minecraft:vindicator_captain_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:vindicator",
"spawn_event": "minecraft:spawn_as_illager_captain"
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": false,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 5,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1.0
},
"minecraft:ambient_sound_interval": {
"value": 4.0,
"range": 8.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:hostile": {
"minecraft:movement": {
"value": 0.3
},
"minecraft:behavior.delayed_attack": {
"priority": 4,
"attack_once": false,
"track_target": true,
"require_complete_path": false,
"random_stop_interval": 0,
"reach_multiplier": 1.5,
"speed_multiplier": 1.0,
"attack_duration": 0.75,
"hit_delay_pct": 0.5
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.4
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6,
"angle_of_view_horizontal": 45,
"probability": 1
},
"minecraft:behavior.look_at_entity": {
"priority": 10,
"look_distance": 8,
"angle_of_view_horizontal": 45,
"filters": {
"test": "is_family",
"subject": "other",
"value": "mob"
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"max_dist": 64
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"must_see": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "subject": "other", "test": "is_family", "value": "player" },
{ "subject": "other", "test": "is_family", "value": "irongolem" }
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"stunned": {
"minecraft:is_stunned": {
},
"minecraft:timer": {
"looping": false,
"time": 2,
"time_down_event": {
"event": "minecraft:start_roar"
}
}
},
"roaring": {
"minecraft:behavior.knockback_roar": {
"priority": 1,
"duration": 1,
"attack_time": 0.5,
"knockback_damage": 6,
"knockback_strength": 3,
"knockback_range": 4,
"knockback_filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "ravager"
},
"damage_filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"on_roar_end": {
"event": "minecraft:end_roar"
},
"cooldown_time": 0.1
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 20 : 0"
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:ravager_blocked": {
"knockback_strength": 3.0,
"reaction_choices": [
{
"weight": 1,
"value": {
"event": "minecraft:become_stunned",
"target": "self"
}
},
{
// Default, large knockback case
"weight": 1
}
]
},
"minecraft:attack": {
"damage": 12.0
},
"minecraft:breathable": {
"suffocate_time": 0,
"total_supply": 15
},
"minecraft:collision_box": {
"height": 1.9,
"width": 1.2
},
"minecraft:health": {
"max": 100,
"value": 100
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:jump.static": {},
"minecraft:loot": {
"table": "loot_tables/entities/ravager.json"
},
"minecraft:knockback_resistance": {
"value": 0.5
},
"minecraft:movement": {
"value": 0.0
},
"minecraft:movement.basic": {},
"minecraft:nameable": {},
"minecraft:navigation.walk": {
"avoid_damage_blocks": true,
"can_path_over_water": true,
"can_sink": false
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:break_blocks": {
"breakable_blocks": [
"bamboo",
"bamboo_sapling",
"beetroot",
"brown_mushroom",
"carrots",
"carved_pumpkin",
"chorus_flower",
"chorus_plant",
"deadbush",
"double_plant",
"leaves",
"leaves2",
"lit_pumpkin",
"melon_block",
"melon_stem",
"potatoes",
"pumpkin",
"pumpkin_stem",
"red_flower",
"red_mushroom",
"reeds",
"sapling",
"snow_layer",
"sweet_berry_bush",
"tallgrass",
"turtle_egg",
"vine",
"waterlily",
"wheat",
"yellow_flower"
]
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"pillager",
"vindicator",
"evocation_illager"
],
"seats": {
"position": [ 0.0, 2.1, -0.3 ]
}
},
"minecraft:type_family": {
"family": [
"monster",
"illager",
"ravager",
"mob"
]
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_for_raid_with_evoker_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:evoker_rider_for_raid",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_for_raid_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider_for_raid",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider"
]
}
},
"minecraft:spawn_with_pillager_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_captain_rider"
]
}
},
"minecraft:spawn_with_vindicator_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_rider"
]
}
},
"minecraft:spawn_with_vindicator_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_captain_rider"
]
}
},
"minecraft:become_stunned": {
"add": {
"component_groups": [
"stunned"
]
},
"remove": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:start_roar": {
"add": {
"component_groups": [
"roaring"
]
},
"remove": {
"component_groups": [
"stunned"
]
}
},
"minecraft:end_roar": {
"add": {
"component_groups": [
"minecraft:hostile"
]
},
"remove": {
"component_groups": [
"roaring"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
}
}
}
}

View File

@ -0,0 +1,189 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:salmon",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"scale_small": {
"minecraft:scale": {
"value": 0.5
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_normal.json"
}
},
"scale_normal": {
"minecraft:scale": {
"value": 1
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_normal.json"
}
},
"scale_large": {
"minecraft:scale": {
"value": 1.5
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_large.json"
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "salmon", "fish" ]
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.5
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.12
},
"minecraft:underwater_movement": {
"value": 0.12
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 3,
"max_flee": 10,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 2.0
}
]
},
"minecraft:behavior.swim_idle": {
"priority": 5,
"idle_time": 5.0,
"success_rate": 0.1
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"speed_multiplier": 1.0,
"priority": 3,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 4,
"interval": 0.0166,
"look_ahead": 5.0,
"speed_multiplier": 0.014,
"wander_time": 5.0
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": false,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 0.65,
"separation_threshold": 0.15,
"cohesion_weight": 2.25,
"cohesion_threshold": 1.5,
"innner_cohesion_threshold": 1.5,
"min_height": 4.0,
"max_height": 4.0,
"block_distance": 1.0,
"block_weight": 0.75
},
"minecraft:nameable": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 30,
"add": {
"component_groups": [ "adult", "scale_small" ]
}
},
{
"weight": 50,
"add": {
"component_groups": [ "adult", "scale_normal" ]
}
},
{
"weight": 15,
"add": {
"component_groups": [ "adult", "scale_large" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,425 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:sheep",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:loot_sheared": {
"minecraft:loot": {
"table": "loot_tables/entities/sheep_sheared.json"
}
},
"minecraft:loot_wooly": {
"minecraft:loot": {
"table": "loot_tables/entities/sheep.json"
}
},
"minecraft:rideable_sheared": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.9, 0.0 ]
}
}
},
"minecraft:rideable_wooly": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.975, 0.0 ]
}
}
},
"minecraft:sheep_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:sheep_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": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:sheep",
"baby_type": "minecraft:sheep"
},
"breed_items": "wheat"
}
},
"minecraft:sheep_dyeable": {
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
}
},
"minecraft:sheep_sheared": {
"minecraft:is_sheared": {
}
},
"minecraft:sheep_white": {
"minecraft:color": {
"value": 0
}
},
"minecraft:sheep_brown": {
"minecraft:color": {
"value": 12
}
},
"minecraft:sheep_black": {
"minecraft:color": {
"value": 15
}
},
"minecraft:sheep_gray": {
"minecraft:color": {
"value": 8
}
},
"minecraft:sheep_light_gray": {
"minecraft:color": {
"value": 7
}
},
"minecraft:sheep_pink": {
"minecraft:color": {
"value": 6
}
},
"minecraft:sheep_red": {
"minecraft:color": {
"value": 14
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "sheep", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.9,
"height": 1.3
},
"minecraft:nameable": {
},
"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.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:interact": {
"interactions": [
{
"cooldown": 2.5,
"use_item": false,
"hurt_item": 1,
"spawn_items": { "table": "loot_tables/entities/sheep_shear.json" },
"play_sounds": "shear",
"interact_text": "action.interact.shear",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_component", "operator": "!=", "value" : "minecraft:is_baby"},
{ "test" : "has_component", "value" : "minecraft:is_dyeable"}
]
},
"event": "minecraft:on_sheared",
"target": "self"
}
}
]
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.75
},
"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.tempt": {
"priority": 4,
"speed_multiplier": 1.25,
"items": [
"wheat"
]
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.1
},
"minecraft:behavior.eat_block": {
"priority": 6,
"success_chance": "query.is_baby ? 0.02 : 0.001",
"time_until_eat": 1.8,
"eat_and_replace_block_pairs": [
{ "eat_block": "grass", "replace_block": "dirt" },
{ "eat_block": "tallgrass", "replace_block": "air" }
],
"on_eat": {
"event": "minecraft:on_eat_block",
"target": "self"
}
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"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:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:sheep_adult",
"minecraft:sheep_dyeable",
"minecraft:rideable_wooly",
"minecraft:loot_wooly"
]
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:sheep_baby",
"minecraft:sheep_dyeable",
"minecraft:rideable_sheared"
]
}
}
]
},
{
"randomize": [
{
"weight": 81836,
"add": {
"component_groups": [
"minecraft:sheep_white"
]
}
},
{
"weight": 5000,
"add": {
"component_groups": [
"minecraft:sheep_black"
]
}
},
{
"weight": 5000,
"add": {
"component_groups": [
"minecraft:sheep_light_gray"
]
}
},
{
"weight": 5000,
"add": {
"component_groups": [
"minecraft:sheep_gray"
]
}
},
{
"weight": 3000,
"add": {
"component_groups": [
"minecraft:sheep_brown"
]
}
},
{
"weight": 164,
"add": {
"component_groups": [
"minecraft:sheep_pink"
]
}
}
]
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:sheep_baby",
"minecraft:sheep_dyeable",
"minecraft:rideable_sheared"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:sheep_baby"
]
},
"add": {
"component_groups": [
"minecraft:sheep_adult",
"minecraft:rideable_wooly",
"minecraft:loot_wooly"
]
}
},
"minecraft:on_sheared": {
"remove": {
"component_groups": [
"minecraft:sheep_dyeable",
"minecraft:loot_wooly"
]
},
"add": {
"component_groups": [
"minecraft:sheep_sheared",
"minecraft:rideable_sheared",
"minecraft:loot_sheared"
]
}
},
"minecraft:on_eat_block": {
"sequence":[
{
"remove": {
"component_groups": [
"minecraft:sheep_sheared"
]
},
"add": {
"component_groups": [
"minecraft:sheep_dyeable"
]
}
},
{
"filters": { "test" : "has_component","subject" : "other", "operator": "!=", "value" : "minecraft:is_baby"},
"add": {
"component_groups": [
"minecraft:rideable_wooly",
"minecraft:loot_wooly"
]
},
"remove": {
"component_groups": [
"minecraft:loot_sheared"
]
}
}
]
},
"wololo": {
"add": {
"component_groups": [
"minecraft:sheep_red"
]
}
}
}
}
}

View File

@ -0,0 +1,155 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:silverfish",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:silverfish_calm": {
"minecraft:on_target_acquired" : {
"event": "minecraft:become_angry",
"target": "self"
}
},
"minecraft:silverfish_angry": {
"minecraft:angry": {
"duration": -1,
"broadcast_anger": true,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true
},
"minecraft:behavior.silverfish_wake_up_friends": {
"priority": 1
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family":["silverfish", "monster", "mob", "arthropod" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/silverfish.json"
},
"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.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 1
},
"minecraft:collision_box": {
"width": 0.4,
"height": 0.3
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.silverfish_merge_with_stone": {
"priority": 5
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"attack_interval": 10,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "snowgolem"},
{ "test" : "is_family", "subject" : "other", "value" : "irongolem"}
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"alert_same_type": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:silverfish_calm"
]
}
},
"minecraft:become_angry": {
"remove": {
"minecraft:silverfish_calm": { }
},
"add": {
"component_groups": [
"minecraft:silverfish_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"minecraft:silverfish_angry": { }
},
"add": {
"component_groups": [
"minecraft:silverfish_calm"
]
}
}
}
}
}

View File

@ -0,0 +1,244 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:skeleton",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:lightning_immune": {
"minecraft:damage_sensor": {
"triggers": {
"on_damage": { "filters": { "other_with_families": "lightning" } },
"deals_damage": false
}
}
},
"minecraft:ranged_attack": {
"minecraft:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true,
"speed_multiplier": 1.25
},
"minecraft:attack": {
"damage": 3
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:ranged_mode"
}
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:type_family": {
"family": [ "skeleton", "undead", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:burns_in_daylight": {
},
"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:loot": {
"table": "loot_tables/entities/skeleton.json"
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"avoid_sun": true,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:nameable": {
},
"minecraft:equipment": {
"table": "loot_tables/entities/skeleton_gear.json"
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
"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
}
]
},
"minecraft:behavior.flee_sun": {
"priority": 2,
"speed_multiplier": 1
},
"minecraft:behavior.avoid_mob_type": {
"priority": 4,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "wolf"
},
"max_dist": 6,
"walk_speed_multiplier": 1.2,
"sprint_speed_multiplier": 1.2
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"minecraft:spring_trap": {
"add": { "component_groups": [ "minecraft:lightning_immune" ] }
},
"minecraft:melee_mode": {
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
"add": { "component_groups": [ "minecraft:melee_attack" ] }
},
"minecraft:ranged_mode": {
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
}
}
}
}

View File

@ -0,0 +1,197 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:slime",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:slime_large": {
"minecraft:collision_box": {
"width": 2.08,
"height": 2.08
},
"minecraft:health": {
"value": 16,
"max": 16
},
"minecraft:movement": {
"value": 0.6
},
"minecraft:attack": {
"damage": 4
}
},
"minecraft:slime_medium": {
"minecraft:collision_box": {
"width": 1.04,
"height": 1.04
},
"minecraft:health": {
"value": 4,
"max": 4
},
"minecraft:movement": {
"value": 0.4
},
"minecraft:attack": {
"damage": 2
}
},
"minecraft:slime_small": {
"minecraft:collision_box": {
"width": 0.52,
"height": 0.52
},
"minecraft:health": {
"value": 1,
"max": 1
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 0
},
"minecraft:loot": {
"table": "loot_tables/entities/slime.json"
}
},
"minecraft:slime_calm": {
"minecraft:movement.jump": {
"jump_delay": [ 0.5, 1.5 ]
}
},
"minecraft:slime_aggressive": {
"minecraft:movement.jump": {
"jump_delay": [ 0.16, 0.5 ]
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? query.variant : 0"
},
"minecraft:type_family": {
"family": [ "slime", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement.jump": {
"jump_delay": [ 0.5, 1.5 ]
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_aggressive",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:become_calm",
"target": "self"
},
"minecraft:nameable": {
},
"minecraft:behavior.slime_float": {
"priority": 1,
"jump_chance_percentage": 0.8,
"speed_multiplier": 1.2
},
"minecraft:behavior.slime_attack": {
"priority": 3
},
"minecraft:behavior.slime_random_direction": {
"priority": 4,
"add_random_time_range": 3,
"turn_range": 360,
"min_change_direction_time": 2.0
},
"minecraft:behavior.slime_keep_on_jumping": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:slime_calm"
]
}
},
"minecraft:become_calm": {
"add": {
"component_groups": [
"minecraft:slime_calm"
]
}
},
"minecraft:become_aggressive": {
"add": {
"component_groups": [
"minecraft:slime_aggressive"
]
}
}
}
}
}

View File

@ -0,0 +1,163 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:snow_golem",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:snowman_sheared": {
"minecraft:is_sheared": {
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "snowgolem", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 0.4,
"height": 1.8
},
"minecraft:loot": {
"table": "loot_tables/entities/snowman.json"
},
"minecraft:health": {
"value": 4,
"max": 4
},
"minecraft:movement": {
"value": 0.2
},
"minecraft:navigation.walk": {
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 2
},
"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
},
{
"filters": { "test": "is_temperature_value", "operator": ">", "value": 1.0 },
"cause": "temperature",
"damage_per_tick": 1
},
{
"filters": { "test": "in_water_or_rain", "operator": "==", "value": true },
"cause": "drowning",
"damage_per_tick": 1
}
]
},
"minecraft:interact": {
"interactions": [
{
"cooldown": 2.5,
"use_item": false,
"hurt_item": 1,
"play_sounds": "shear",
"interact_text": "action.interact.shear",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"},
{ "test": "is_family", "subject": "other", "value": "player"},
{ "test": "has_component", "operator": "!=", "value": "minecraft:is_sheared"}
]
},
"event": "minecraft:on_sheared",
"target": "self"
}
}
]
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:behavior.ranged_attack": {
"priority": 1,
"speed_multiplier": 1.25,
"attack_interval": 1,
"attack_radius": 10
},
"minecraft:shooter": {
"def": "minecraft:snowball"
},
"minecraft:trail": {
"block_type": "minecraft:snow_layer",
"spawn_filter": { "test": "is_temperature_value", "operator": "<", "value": 0.81 }
},
"minecraft:behavior.random_stroll": {
"priority": 2,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 3,
"look_distance": 6.0
},
"minecraft:behavior.random_look_around": {
"priority": 4
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "monster"},
"within_default": 6
}
]
},
"minecraft:persistent": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:on_sheared": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:snowman_sheared"
]
}
}
}
}
}

View File

@ -0,0 +1,43 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:snowball",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"filter": "blaze",
"damage": 3,
"knockback": true
},
"remove_on_hit": { },
"particle_on_hit": {
"particle_type": "snowballpoof",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true
}
},
"anchor": 1,
"power": 1.5,
"gravity": 0.03,
"angle_offset": 0.0
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
}
}

View File

@ -0,0 +1,343 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:spider",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:spider_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [ 0.0, 0.54, 0.0 ]
}
}
},
"minecraft:spider_stray_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton.stray"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [ 0.0, 0.54, 0.0 ]
}
}
},
"minecraft:spider_wither_jockey": {
"minecraft:addrider": {
"entity_type": "minecraft:skeleton.wither"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"skeleton"
],
"seats": {
"position": [ 0.0, 0.54, 0.0 ]
}
}
},
"minecraft:spider_neutral": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_brightness",
"operator": "<",
"value": 0.49
},
"event": "minecraft:become_hostile"
}
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry"
}
},
"minecraft:spider_hostile": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_brightness",
"operator": ">",
"value": 0.49
},
"event": "minecraft:become_neutral"
}
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"attack_interval": 5,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
"max_dist": 16
}
]
}
},
"minecraft:spider_angry": {
"minecraft:angry": {
"duration": 10,
"duration_delta": 3,
"calm_event": {
"event": "minecraft:become_calm",
"target": "self"
}
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"yd": 0.4,
"must_be_on_ground": false
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true,
"reach_multiplier": 0.8
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "spider", "monster", "mob", "arthropod" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:loot": {
"table": "loot_tables/entities/spider.json"
},
"minecraft:collision_box": {
"width": 1.4,
"height": 0.9
},
"minecraft:health": {
"value": 16,
"max": 16
},
"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.climb": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 3
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"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": 7
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.54, -0.1 ]
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 1,
"randomize": [
{
"weight": 80,
"filters": {
"all_of": [
{
"test": "is_daytime",
"value": false
},
{
"test": "is_snow_covered",
"value": true
},
{
"test": "is_underground",
"value": false
}
]
},
"remove": {},
"add": {
"component_groups": [
"minecraft:spider_stray_jockey",
"minecraft:spider_neutral"
]
}
},
{
"weight": 80,
"filters": {
"test": "is_biome",
"value": "the_nether"
},
"remove": {},
"add": {
"component_groups": [
"minecraft:spider_wither_jockey",
"minecraft:spider_neutral"
]
}
},
{
"weight": 20,
"filters": {
"any_of": [
{
"test": "is_daytime",
"value": false
},
{
"test": "is_underground",
"value": true
}
]
},
"remove": {},
"add": {
"component_groups": [
"minecraft:spider_jockey",
"minecraft:spider_neutral"
]
}
}
]
},
{
"weight": 99,
"remove": {},
"add": {
"component_groups": [
"minecraft:spider_neutral"
]
}
}
]
},
"minecraft:become_hostile": {
"remove": {
"component_groups": [
"minecraft:spider_neutral"
]
},
"add": {
"component_groups": [
"minecraft:spider_hostile"
]
}
},
"minecraft:become_neutral": {
"remove": {
"component_groups": [
"minecraft:spider_hostile"
]
},
"add": {
"component_groups": [
"minecraft:spider_neutral"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:spider_angry"
]
}
},
"minecraft:become_calm": {
"remove": {
"component_groups": [
"minecraft:spider_angry"
]
}
}
}
}
}

View File

@ -0,0 +1,122 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:squid",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups":{
"minecraft:squid_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
}
}
},
"components":{
"minecraft:experience_reward": {
"on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family":["squid", "mob"]
},
"minecraft:collision_box": {
"width": 0.95,
"height": 0.95
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:loot": {
"table": "loot_tables/entities/squid.json"
},
"minecraft:breathable":{
"total_supply":15,
"suffocate_time":0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.2
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_sink": false
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:behavior.squid_move_away_from_ground": {
"priority": 1
},
"minecraft:behavior.squid_flee": {
"priority": 2
},
"minecraft:behavior.squid_idle": {
"priority": 2
},
"minecraft:behavior.squid_dive": {
"priority": 2
},
"minecraft:behavior.squid_out_of_water": {
"priority": 2
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events":{
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:squid_baby"
]
}
}
]
}
}
}
}

View File

@ -0,0 +1,272 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:stray",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:revert_to_skeleton": {
"minecraft:transformation": {
"into": "minecraft:skeleton",
"delay": 0.5
}
},
"minecraft:ranged_attack": {
"minecraft:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:shooter": {
"def": "minecraft:arrow",
"aux_val": 19
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true,
"speed_multiplier": 1.25
},
"minecraft:attack": {
"damage": 3,
"effect_name": "slowness",
"effect_duration": 10
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:ranged_mode"
}
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:burns_in_daylight": {},
"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:loot": {
"table": "loot_tables/entities/stray.json"
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"avoid_sun": true,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:equipment": {
"table": "loot_tables/entities/skeleton_gear.json"
},
"minecraft:shooter": {
"def": "minecraft:arrow",
"aux_val": 19
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
"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
}
]
},
"minecraft:behavior.flee_sun": {
"priority": 2,
"speed_multiplier": 1
},
"minecraft:behavior.avoid_mob_type": {
"priority": 4,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "wolf"
},
"max_dist": 6,
"walk_speed_multiplier": 1.2,
"sprint_speed_multiplier": 1.2
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:type_family": {
"family": [ "stray", "skeleton", "monster", "mob", "undead" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"change_to_skeleton": {
"sequence": [
{
"filters": {
"test": "is_underground",
"value": true
},
"remove": {},
"add": {
"component_groups": [
"minecraft:revert_to_skeleton"
]
}
},
{
"randomize": [
{
"weight": 20,
"remove": {},
"add": {
"component_groups": [ "minecraft:revert_to_skeleton" ]
}
},
{
"weight": 80,
"remove": {},
"add": {}
}
]
}
]
},
"minecraft:melee_mode": {
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
"add": { "component_groups": [ "minecraft:melee_attack" ] }
},
"minecraft:ranged_mode": {
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,294 @@
{
"format_version": "1.15.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.5,
"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"
]
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,416 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:vindicator",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:vindicator_aggro": {
"minecraft:angry": {
"duration": -1,
"broadcast_anger": false,
"calm_event": {
"event": "minecraft:stop_aggro",
"target": "self"
}
}
},
"minecraft:vindicator_johnny": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"within_radius": 12.0,
"must_see_forget_duration": 40.0,
"entity_types": [
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" }
]
},
"max_dist": 12
}
]
}
},
"minecraft:default_targeting": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"within_radius": 12.0,
"must_see_forget_duration": 40.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 12
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
]
},
"max_dist": 12
}
]
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": false,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 4,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:loot": {
"table": "loot_tables/entities/vindicator_raid.json"
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_pass_doors": true,
"can_break_doors": true
},
"minecraft:annotation.break_door": {
"break_time": 30,
"min_difficulty": "normal"
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:illager_squad_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
}
},
"minecraft:patrol_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:behavior.move_to_random_block": {
"priority": 5,
"speed_multiplier": 0.55,
"within_radius": 8,
"block_distance": 512
}
},
"minecraft:patrol_follower": {
"minecraft:behavior.follow_target_captain": {
"priority": 5,
"speed_multiplier": 0.8,
"within_radius": 64,
"follow_distance": 5
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
},
"minecraft:nameable": {
"default_trigger": {
"event": "minecraft:stop_johnny",
"target": "self"
},
"name_actions": [
{
"name_filter": "Johnny",
"on_named": {
"event": "minecraft:start_johnny",
"target": "self"
}
}
]
},
// vindicator Components
"minecraft:type_family": {
"family": [ "vindicator", "monster", "illager", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:health": {
"value": 24,
"max": 24
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 8
},
"minecraft:movement": {
"value": 0.35
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:loot": {
"table": "loot_tables/entities/vindication_illager.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_gear.json"
},
// vindicator Behaviors
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 10,
"look_distance": 8,
"probability": 0.02
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_aggro",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:stop_aggro",
"target": "self"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:default_targeting"
]
}
},
"minecraft:spawn_as_patrol_follower": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:patrol_follower"
]
}
},
"minecraft:become_aggro": {
"add": {
"component_groups": [
"minecraft:vindicator_aggro"
]
}
},
"minecraft:stop_aggro": {
"remove": {
"component_groups": [
"minecraft:vindicator_aggro"
]
}
},
"minecraft:start_johnny": {
"add": {
"component_groups": [
"minecraft:vindicator_johnny"
]
}
},
"minecraft:stop_johnny": {
"remove": {
"component_groups": [
"minecraft:vindicator_johnny"
]
},
"add": {
"component_groups": [
"minecraft:default_targeting"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_as_illager_captain": {
"add": {
"component_groups": [
"minecraft:illager_squad_captain"
]
}
},
"minecraft:promote_to_illager_captain": {
"add": {
"component_groups": [
"minecraft:illager_squad_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:promote_to_patrol_captain": {
"add": {
"component_groups": [
"minecraft:patrol_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
}
}
}
}

View File

@ -0,0 +1,137 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wither_skeleton",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:nameable": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:collision_box": {
"width": 0.72,
"height": 2.01
},
"minecraft:attack": {
"damage": 4,
"effect_name": "wither",
"effect_duration": 10
},
"minecraft:loot": {
"table": "loot_tables/entities/wither_skeleton.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/wither_skeleton_gear.json"
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"avoid_sun": true,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:scale": {
"value": 1.2
},
"minecraft:fire_immune": true,
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"reselect_targets": true,
"must_see": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
"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
}
]
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true,
"speed_multiplier": 1.25
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:type_family": {
"family": [ "wither", "monster", "undead", "skeleton", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
}
}
}
}

View File

@ -0,0 +1,509 @@
{
"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,
"require_full_health": true,
"breeds_with": {
"mate_type": "minecraft:wolf",
"baby_type": "minecraft:wolf",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [
"chicken",
"cooked_chicken",
"beef",
"cooked_beef",
"muttonRaw",
"muttonCooked",
"porkchop",
"cooked_porkchop",
"rabbit",
"cooked_rabbit",
"rotten_flesh"
]
}
},
"minecraft:wolf_angry": {
"minecraft:angry": {
"duration": 25,
"broadcast_anger": true,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:on_target_acquired": {
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.675, -0.1 ]
}
}
},
"minecraft:wolf_wild": {
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "llama" },
"max_dist": 24,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 1.5
}
],
"probability_per_strength": 0.14
},
"minecraft:tameable": {
"probability": 0.33,
"tame_items": "bone",
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"reselect_targets": true,
"must_see": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "skeleton"},
{ "test" : "is_family", "subject" : "other", "value" : "sheep"},
{ "test" : "is_family", "subject" : "other", "value" : "rabbit"},
{ "test" : "is_family", "subject" : "other", "value" : "fox"}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "skeleton" },
{ "test": "is_underwater", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 16
}
]
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.675, -0.1 ]
}
}
},
"minecraft:wolf_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:color": {
"value": 14
},
"minecraft:behavior.follow_owner": {
"priority": 6,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:attack": {
"damage": 4
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
},
"minecraft:behavior.owner_hurt_by_target": {
"priority": 1
},
"minecraft:behavior.owner_hurt_target": {
"priority": 2
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"must_see": true,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "skeleton"},
"max_dist": 16
}
]
},
"minecraft:sittable": {
},
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"on_leash": {
"event": "minecraft:on_leash",
"target": "self"
},
"on_unleash": {
"event": "minecraft:on_unleash",
"target": "self"
}
}
}
},
"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
},
"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,367 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:look_to_start_drowned_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": true
},
"event": "minecraft:start_transforming"
}
}
},
"minecraft:start_drowned_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": false
},
"event": "minecraft:stop_transforming"
}
},
"minecraft:timer": {
"looping": false,
"time": 30,
"time_down_event": {
"event": "minecraft:convert_to_drowned"
}
}
},
"minecraft:convert_to_drowned": {
"minecraft:transformation": {
"into": "minecraft:drowned<minecraft:as_adult>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:convert_to_baby_drowned": {
"minecraft:transformation": {
"into": "minecraft:drowned<minecraft:as_baby>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:zombie_baby": {
"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.35
}
},
"minecraft:zombie_adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ],
"lock_rider_rotation": 0
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"minecraft:zombie_jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16,
"start_delay": 15,
"max_failed_attempts": 20
}
},
"minecraft:can_have_equipment": {
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_equipment.json"
}
}
},
"components": {
"minecraft:nameable": {
},
// Zombie Components
"minecraft:type_family": {
"family": [ "zombie", "undead", "monster", "mob" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:burns_in_daylight": {
},
"minecraft:movement.basic": {
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_walk": true,
"can_break_doors": true
},
"minecraft:annotation.break_door": {
},
"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:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": true
},
"minecraft:attack": {
"damage": 3
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"operator": "==",
"value": true
},
"event": "minecraft:start_transforming"
}
},
// Zombie Behaviors
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.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,
"must_see": true,
"reselect_targets": true,
"within_radius": 25.0,
"must_see_forget_duration": 17.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
"max_dist": 35
},
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 35,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 380,
"remove": {},
"add": {
"component_groups": [
"minecraft:zombie_adult",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 17,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:zombie_jockey",
"minecraft:can_have_equipment"
]
}
}
]
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:zombie_adult"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:zombie_baby"
]
}
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_drowned_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_drowned_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
}
},
"minecraft:convert_to_drowned": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,234 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie_pigman",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:pig_zombie_baby": {
"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:pig_zombie_adult": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ],
"lock_rider_rotation": 0
}
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
}
},
"minecraft:pig_zombie_angry": {
"minecraft:angry": {
"duration": 25,
"broadcast_anger": true,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
}
},
"minecraft:pig_zombie_calm": {
"minecraft:on_target_acquired": {
"event": "minecraft:become_angry",
"target": "self"
}
}
},
"components": {
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:nameable": {
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_open_doors": true,
"avoid_water": true,
"avoid_portals": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:fire_immune": true,
"minecraft:burns_in_daylight": false,
"minecraft:type_family": {
"family": [ "zombie_pigman", "undead", "monster", "mob" ]
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie_pigman.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_pigman_gear.json"
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:attack": {
"damage": 5
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"speed_multiplier": 1.5
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.move_towards_restriction": {
"priority": 5
},
"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:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_transformed": {
"sequence": [
// Transform baby pig to baby zombie pigman
{
"filters": {
"test": "has_component",
"subject": "other",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"minecraft:pig_zombie_baby",
"minecraft:pig_zombie_calm"
]
}
},
// Transform adult pig to adult zombie pigman
{
"filters": {
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"minecraft:pig_zombie_adult",
"minecraft:pig_zombie_calm"
]
}
}
]
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_zombie_adult",
"minecraft:pig_zombie_calm"
]
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_zombie_baby",
"minecraft:pig_zombie_calm"
]
}
}
]
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:pig_zombie_angry"
]
},
"add": {
"component_groups": [
"minecraft:pig_zombie_calm"
]
}
},
"minecraft:become_angry": {
"remove": {
"component_groups": [
"minecraft:pig_zombie_calm"
]
},
"add": {
"component_groups": [
"minecraft:pig_zombie_angry"
]
}
}
}
}
}

View File

@ -0,0 +1,656 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie_villager",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"become_zombie_villager_v2": {
"minecraft:transformation": {
"into": "minecraft:zombie_villager_v2",
"keep_level": false
}
},
"baby": {
"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.35
}
},
"adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ]
}
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16
}
},
"from_abandoned_village": {
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_open_doors": true,
"avoid_water": true,
"avoid_sun": true
},
"minecraft:behavior.flee_sun": {
"priority": 4,
"speed_multiplier": 1
}
},
"to_villager": {
"minecraft:transformation": {
"into": "minecraft:villager",
"begin_transform_sound": "remedy",
"transformation_sound": "unfect",
"delay": {
"value": 100,
"block_assist_chance": 0.01,
"block_radius": 4,
"block_chance": 0.3,
"block_types": [
"minecraft:bed",
"minecraft:iron_bars"
]
}
},
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "strength",
"duration": 100
},
{
"effect": "heal",
"duration": 100
}
],
"remove_effects": "weakness"
},
"minecraft:is_shaking": {
}
},
"farmer": {
"minecraft:type_family": {
"family": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"fisherman": {
"minecraft:type_family": {
"family": [ "fisherman", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"shepherd": {
"minecraft:type_family": {
"family": [ "shepherd", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"fletcher": {
"minecraft:type_family": {
"family": [ "fletcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"librarian": {
"minecraft:type_family": {
"family": [ "librarian", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 1
}
},
"cartographer": {
"minecraft:type_family": {
"family": [ "cartographer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 1
}
},
"cleric": {
"minecraft:type_family": {
"family": [ "cleric", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 2
}
},
"armorer": {
"minecraft:type_family": {
"family": [ "armorer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 3
}
},
"weaponsmith": {
"minecraft:type_family": {
"family": [ "weaponsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 3
}
},
"toolsmith": {
"minecraft:type_family": {
"family": [ "toolsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 3
}
},
"butcher": {
"minecraft:type_family": {
"family": [ "butcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 4
}
},
"leatherworker": {
"minecraft:type_family": {
"family": [ "leatherworker", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 4
}
}
},
"components": {
// Zombie_villager Components
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_break_doors": true,
"avoid_sun": false
},
"minecraft:annotation.break_door": {
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:burns_in_daylight": {},
"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:attack": {
"damage": 3
},
"minecraft:nameable": {
},
"minecraft:interact": {
"interactions": {
// Curing the villager
"on_interact": {
"filters": {
"all_of": [
{
"test": "has_equipment",
"domain": "hand",
"subject": "other",
"value": "golden_apple"
},
{
"test": "has_component",
"subject": "self",
"value": "minecraft:effect.weakness"
}
]
},
"event": "villager_converted",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.cure"
}
},
// Zombie_villager Behaviors
"minecraft:behavior.melee_attack": {
"priority": 6
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.move_towards_restriction": {
"priority": 7,
"speed_multiplier": 1
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 9,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
"max_dist": 35
},
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 35,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"villager_converted": {
"remove": {
},
"add": {
"component_groups": [
"to_villager"
]
}
},
"minecraft:entity_spawned": {
"sequence": [
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"baby",
"jockey"
]
}
}
]
},
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant"
},
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "farmer" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fisherman" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "shepherd" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fletcher" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "librarian" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cartographer" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cleric" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "armorer" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "weaponsmith" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "toolsmith" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "butcher" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "leatherworker" ] }
}
]
}
]
},
"minecraft:entity_transformed": {
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"sequence": [
// Transform baby villager to baby zombie
{
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "baby" ] }
},
// Transform adult villager to adult zombie
{
"filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "adult" ] }
},
// Transform farmer zombie to farmer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "farmer" },
"add": { "component_groups": [ "farmer" ] }
},
// Transform fisherman zombie to fisherman villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fisherman" },
"add": { "component_groups": [ "fisherman" ] }
},
// Transform shepherd zombie to shepherd villager
{
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
"add": { "component_groups": [ "shepherd" ] }
},
// Transform fletcher zombie to fletcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
"add": { "component_groups": [ "fletcher" ] }
},
// Transform librarian zombie to librarian villager
{
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
"add": { "component_groups": [ "librarian" ] }
},
// Transform cartographer zombie to cartographer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
"add": { "component_groups": [ "cartographer" ] }
},
// Transform cleric zombie to cleric villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
"add": { "component_groups": [ "cleric" ] }
},
// Transform armorer zombie to armorer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
"add": { "component_groups": [ "armorer" ] }
},
// Transform weaponsmith zombie to weaponsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
"add": { "component_groups": [ "weaponsmith" ] }
},
// Transform toolsmith zombie to toolsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
"add": { "component_groups": [ "toolsmith" ] }
},
// Transform butcher zombie to butcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
"add": { "component_groups": [ "butcher" ] }
},
// Transform leatherworker zombie to leatherworker villager
{
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
"add": { "component_groups": [ "leatherworker" ] }
}
]
},
"minecraft:become_cleric": {
"add": { "component_groups": [ "cleric" ] }
},
"from_village": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:variant"
},
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"baby",
"jockey"
]
}
}
]
},
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:variant"
},
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "farmer" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fisherman" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "shepherd" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fletcher" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "librarian" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cartographer" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cleric" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "armorer" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "weaponsmith" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "toolsmith" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "butcher" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "leatherworker" ] }
}
]
},
{ "add": { "component_groups": [ "from_abandoned_village" ] } }
]
}
}
}
}

View File

@ -0,0 +1,986 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie_villager_v2",
"is_spawnable": true,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"baby": {
"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.35
}
},
"adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ]
}
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16
}
},
"from_abandoned_village": {
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_open_doors": true,
"avoid_water": true,
"avoid_sun": true
},
"minecraft:behavior.flee_sun": {
"priority": 4,
"speed_multiplier": 1
}
},
"to_villager": {
"minecraft:transformation": {
"into": "minecraft:villager_v2",
"begin_transform_sound": "remedy",
"transformation_sound": "unfect",
"keep_level": true,
"delay": {
"value": 100,
"block_assist_chance": 0.01,
"block_radius": 4,
"block_chance": 0.3,
"block_types": [
"minecraft:bed",
"minecraft:iron_bars"
]
}
},
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "strength",
"duration": 100
},
{
"effect": "heal",
"duration": 100
}
],
"remove_effects": "weakness"
},
"minecraft:is_shaking": {
}
},
"unskilled": {
"minecraft:type_family": {
"family": [ "unskilled", "zombie", "zombie_villager", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"nitwit": {
"minecraft:type_family": {
"family": [ "nitwit", "zombie", "zombie_villager", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"farmer": {
"minecraft:type_family": {
"family": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"fisherman": {
"minecraft:type_family": {
"family": [ "fisherman", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"shepherd": {
"minecraft:type_family": {
"family": [ "shepherd", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"fletcher": {
"minecraft:type_family": {
"family": [ "fletcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"librarian": {
"minecraft:type_family": {
"family": [ "librarian", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"cartographer": {
"minecraft:type_family": {
"family": [ "cartographer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"cleric": {
"minecraft:type_family": {
"family": [ "cleric", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"armorer": {
"minecraft:type_family": {
"family": [ "armorer", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"weaponsmith": {
"minecraft:type_family": {
"family": [ "weaponsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"toolsmith": {
"minecraft:type_family": {
"family": [ "toolsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"butcher": {
"minecraft:type_family": {
"family": [ "butcher", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"leatherworker": {
"minecraft:type_family": {
"family": [ "leatherworker", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"mason": {
"minecraft:type_family": {
"family": [ "mason", "zombie_villager", "zombie", "undead", "monster", "mob" ]
},
"minecraft:variant": {
"value": 0
}
},
"desert_villager": {
"minecraft:mark_variant": {
"value": 1
}
},
"jungle_villager": {
"minecraft:mark_variant": {
"value": 2
}
},
"savanna_villager": {
"minecraft:mark_variant": {
"value": 3
}
},
"snow_villager": {
"minecraft:mark_variant": {
"value": 4
}
},
"swamp_villager": {
"minecraft:mark_variant": {
"value": 5
}
},
"taiga_villager": {
"minecraft:mark_variant": {
"value": 6
}
},
"villager_skin_0": {
"minecraft:skin_id": {
"value": 0
}
},
"villager_skin_1": {
"minecraft:skin_id": {
"value": 1
}
},
"villager_skin_2": {
"minecraft:skin_id": {
"value": 2
}
},
"villager_skin_3": {
"minecraft:skin_id": {
"value": 3
}
},
"villager_skin_4": {
"minecraft:skin_id": {
"value": 4
}
},
"villager_skin_5": {
"minecraft:skin_id": {
"value": 5
}
}
},
"components": {
// Zombie_villager Components
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_break_doors": true,
"avoid_sun": false
},
"minecraft:annotation.break_door": {
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:burns_in_daylight": {},
"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:attack": {
"damage": 3
},
"minecraft:nameable": {
},
"minecraft:interact": {
"interactions": {
// Curing the villager
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "golden_apple" },
{ "test": "has_component", "subject": "self", "value": "minecraft:effect.weakness" }
]
},
"event": "villager_converted",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.cure"
}
},
// Zombie_villager Behaviors
"minecraft:behavior.melee_attack": {
"priority": 6
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.move_towards_restriction": {
"priority": 7,
"speed_multiplier": 1
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 9,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" },
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 35
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"villager_converted": {
"remove": {
},
"add": {
"component_groups": [
"to_villager"
]
}
},
"minecraft:entity_spawned": {
"sequence": [
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"baby",
"jockey"
]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_0" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_1" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_2" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_3" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_4" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_5" ] }
}
]
},
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant"
},
"randomize": [
{
"weight": 1,
"add": { "component_groups": [ "unskilled" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "nitwit" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "farmer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "fisherman" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "shepherd" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "fletcher" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "librarian" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "cartographer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "cleric" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "armorer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "weaponsmith" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "toolsmith" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "butcher" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "leatherworker" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "mason" ] }
}
]
},
{
"filters": {
"any_of": [
{ "test": "has_biome_tag", "value": "desert" },
{ "test": "has_biome_tag", "value": "mesa" }
]
},
"add": { "component_groups": [ "desert_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "jungle" },
"add": { "component_groups": [ "jungle_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "savanna" },
"add": { "component_groups": [ "savanna_villager" ] }
},
{
"filters": {
"any_of": [
{
"all_of": [
{ "test": "has_biome_tag", "value": "cold" },
{ "test": "has_biome_tag", "operator": "!=", "value": "ocean" }
]
},
{ "test": "has_biome_tag", "value": "frozen" }
]
},
"add": { "component_groups": [ "snow_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "swamp" },
"add": { "component_groups": [ "swamp_villager" ] }
},
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "has_biome_tag", "value": "taiga" },
{ "test": "has_biome_tag", "value": "extreme_hills" }
]
},
{ "test": "has_biome_tag", "operator": "!=", "value": "cold" }
]
},
"add": { "component_groups": [ "taiga_villager" ] }
}
]
},
"minecraft:entity_transformed": {
"sequence": [
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"sequence": [
// Transform baby villager to baby zombie
{
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "baby" ] }
},
// Transform adult villager to adult zombie
{
"filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "adult" ] }
},
// Transform unskilled zombie to unskilled villager
{
"filters": { "test": "is_family", "subject": "other", "value": "unskilled" },
"add": { "component_groups": [ "unskilled" ] }
},
// Transform nitwit zombie to nitwit villager
{
"filters": { "test": "is_family", "subject": "other", "value": "nitwit" },
"add": { "component_groups": [ "nitwit" ] }
},
// Transform farmer zombie to farmer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "farmer" },
"add": { "component_groups": [ "farmer" ] }
},
// Transform fisherman zombie to fisherman villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fisherman" },
"add": { "component_groups": [ "fisherman" ] }
},
// Transform shepherd zombie to shepherd villager
{
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
"add": { "component_groups": [ "shepherd" ] }
},
// Transform fletcher zombie to fletcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
"add": { "component_groups": [ "fletcher" ] }
},
// Transform librarian zombie to librarian villager
{
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
"add": { "component_groups": [ "librarian" ] }
},
// Transform cartographer zombie to cartographer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
"add": { "component_groups": [ "cartographer" ] }
},
// Transform cleric zombie to cleric villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
"add": { "component_groups": [ "cleric" ] }
},
// Transform armorer zombie to armorer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
"add": { "component_groups": [ "armorer" ] }
},
// Transform weaponsmith zombie to weaponsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
"add": { "component_groups": [ "weaponsmith" ] }
},
// Transform toolsmith zombie to toolsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
"add": { "component_groups": [ "toolsmith" ] }
},
// Transform butcher zombie to butcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
"add": { "component_groups": [ "butcher" ] }
},
// Transform leatherworker zombie to leatherworker villager
{
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
"add": { "component_groups": [ "leatherworker" ] }
},
// Transform mason zombie to mason villager
{
"filters": { "test": "is_family", "subject": "other", "value": "mason" },
"add": { "component_groups": [ "mason" ] }
}
]
},
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:mark_variant" },
"sequence": [
// Transform desert zombie to desert villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 1 },
"add": { "component_groups": [ "desert_villager" ] }
},
// Transform jungle zombie to jungle villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 2 },
"add": { "component_groups": [ "jungle_villager" ] }
},
// Transform jungle zombie to jungle villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 3 },
"add": { "component_groups": [ "savanna_villager" ] }
},
// Transform jungle zombie to jungle villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 4 },
"add": { "component_groups": [ "snow_villager" ] }
},
// Transform jungle zombie to jungle villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 5 },
"add": { "component_groups": [ "swamp_villager" ] }
},
// Transform taiga zombie to taiga villager
{
"filters": { "test": "is_mark_variant", "subject": "other", "value": 6 },
"add": { "component_groups": [ "taiga_villager" ] }
}
]
},
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:skin_id" },
"sequence": [
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 0 },
"add": { "component_groups": [ "villager_skin_0" ] }
},
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 1 },
"add": { "component_groups": [ "villager_skin_1" ] }
},
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 2 },
"add": { "component_groups": [ "villager_skin_2" ] }
},
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 3 },
"add": { "component_groups": [ "villager_skin_3" ] }
},
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 4 },
"add": { "component_groups": [ "villager_skin_4" ] }
},
{
"filters": { "test": "is_skin_id", "subject": "other", "value": 5 },
"add": { "component_groups": [ "villager_skin_5" ] }
}
]
}
]
},
"minecraft:become_cleric": {
"add": { "component_groups": [ "cleric" ] }
},
"from_village": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:variant"
},
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"baby",
"jockey"
]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_0" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_1" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_2" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_3" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_4" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "villager_skin_5" ] }
}
]
},
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:variant"
},
"randomize": [
{
"weight": 1,
"add": { "component_groups": [ "unskilled" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "nitwit" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "farmer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "fisherman" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "shepherd" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "fletcher" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "librarian" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "cartographer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "cleric" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "armorer" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "weaponsmith" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "toolsmith" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "butcher" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "leatherworker" ] }
},
{
"weight": 1,
"add": { "component_groups": [ "mason" ] }
}
]
},
{
"filters": {
"any_of": [
{ "test": "has_biome_tag", "value": "desert" },
{ "test": "has_biome_tag", "value": "mesa" }
]
},
"add": { "component_groups": [ "desert_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "jungle" },
"add": { "component_groups": [ "jungle_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "savanna" },
"add": { "component_groups": [ "savanna_villager" ] }
},
{
"filters": {
"any_of": [
{
"all_of": [
{ "test": "has_biome_tag", "value": "cold" },
{ "test": "has_biome_tag", "operator": "!=", "value": "ocean" }
]
},
{ "test": "has_biome_tag", "value": "frozen" }
]
},
"add": { "component_groups": [ "snow_villager" ] }
},
{
"filters": { "test": "has_biome_tag", "value": "swamp" },
"add": { "component_groups": [ "swamp_villager" ] }
},
{
"filters": {
"any_of": [
{ "test": "has_biome_tag", "value": "taiga" },
{ "test": "has_biome_tag", "value": "extreme_hills" }
]
},
"add": { "component_groups": [ "taiga_villager" ] }
},
{ "add": { "component_groups": [ "from_abandoned_village" ] } }
]
}
}
}
}

View File

@ -0,0 +1,50 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:rotten_flesh",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player"
},
{
"condition": "random_chance_with_looting",
"chance": 0.11,
"looting_multiplier": 0.02
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:gold_ingot",
"weight": 5
}
]
}
]
}

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,
15,
0
],
"min_engine_version": [
1,
15,
0
]
},
"modules": [
{
"description": "resourcePack.vanilla_server.description",
"type": "data",
"uuid": "79fccc3b-7bad-4f4f-aa97-d98108e6aa33",
"version": [
0,
0,
1
]
}
]
}

View File

@ -0,0 +1,15 @@
{
"format_version": "1.12",
"minecraft:recipe_brewing_mix": {
"description": {
"identifier": "minecraft:brew_slowness_glowstone_dust"
},
"tags": [ "brewing_stand" ],
"input": "minecraft:potion_type:slowness",
"reagent": "minecraft:glowstone_dust",
"output": "minecraft:potion_type:strong_slowness"
}
}

View File

@ -0,0 +1,15 @@
{
"format_version": "1.12",
"minecraft:recipe_brewing_mix": {
"description": {
"identifier": "minecraft:brew_strong_poison_fermented_spider_eye"
},
"tags": [ "brewing_stand" ],
"input": "minecraft:potion_type:strong_poison",
"reagent": "minecraft:fermented_spider_eye",
"output": "minecraft:potion_type:strong_harming"
}
}

View File

@ -0,0 +1,61 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:horse",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 4
},
"minecraft:herd": [
{"min_size":2, "max_size":6, "event":"minecraft:make_white"},
{"min_size":2, "max_size":6, "event":"minecraft:make_creamy"},
{"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"},
{"min_size":2, "max_size":6, "event":"minecraft:make_brown"},
{"min_size":2, "max_size":6, "event":"minecraft:make_black"},
{"min_size":2, "max_size":6, "event":"minecraft:make_gray"},
{"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"}
],
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "plains"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 1
},
"minecraft:herd": [
{"min_size":2, "max_size":6, "event":"minecraft:make_white"},
{"min_size":2, "max_size":6, "event":"minecraft:make_creamy"},
{"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"},
{"min_size":2, "max_size":6, "event":"minecraft:make_brown"},
{"min_size":2, "max_size":6, "event":"minecraft:make_black"},
{"min_size":2, "max_size":6, "event":"minecraft:make_gray"},
{"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"}
],
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "savanna"
}
}
]
}
}

View File

@ -0,0 +1,51 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:llama",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 5
},
"minecraft:herd": {
"min_size":4,
"max_size":6
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "extreme_hills"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 8
},
"minecraft:herd": {
"min_size":4,
"max_size":4
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "savanna"
}
}
]
}
}

View File

@ -0,0 +1,52 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:panda",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 10
},
"minecraft:herd": {
"min_size":1,
"max_size":2
},
"minecraft:biome_filter": [
{ "test": "has_biome_tag", "operator":"==", "value": "jungle" },
{ "test": "has_biome_tag", "operator": "!=", "value": "bamboo" }
]
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 40
},
"minecraft:herd": {
"min_size":1,
"max_size":2
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "bamboo"
}
}
]
}
}

View File

@ -0,0 +1,172 @@
{
"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": 32
}
},
{
"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: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": 32
}
},
{
"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: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": 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": 32
}
}
]
}
}

View File

@ -0,0 +1,57 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:polar_bear",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:ice",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 1
},
"minecraft:herd": {
"min_size": 1,
"max_size": 2,
"event":"minecraft:entity_born",
"event_skip_count": 1
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "frozen"},
{"test": "has_biome_tag", "operator":"!=", "value": "ocean"}
]
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:ice",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 5
},
"minecraft:herd": {
"min_size": 1,
"max_size": 2,
"event":"minecraft:entity_born",
"event_skip_count": 1
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "frozen"},
{"test": "has_biome_tag", "operator":"==", "value": "ocean"}
]
}
]
}
}

View File

@ -0,0 +1,68 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:rabbit",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": [
"minecraft:grass",
"minecraft:snow",
"minecraft:sand"
],
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 4
},
"minecraft:herd": {
"min_size":2,
"max_size":3
},
"minecraft:biome_filter": {
"any_of": [
{
"all_of": [
{ "test": "has_biome_tag", "operator":"==", "value": "taiga"},
{ "test": "has_biome_tag", "operator":"!=", "value": "mega"}
]
},
{"test": "is_snow_covered", "operator":"==", "value": true},
{"test": "has_biome_tag", "operator":"==", "value":"desert"}
]
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": [
"minecraft:grass",
"minecraft:snow",
"minecraft:sand"
],
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 20
},
"minecraft:herd": {
"min_size":2,
"max_size":4
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "flower_forest"
}
}
]
}
}

View File

@ -0,0 +1,49 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:squid",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:weight": {
"default": 8
},
"minecraft:density_limit": {
"surface": 4
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator": "==", "value": "ocean"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:weight": {
"default": 8
},
"minecraft:density_limit": {
"surface": 2
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:biome_filter": {
"any_of": [
{ "test": "has_biome_tag", "operator": "==", "value": "river" }
]
}
}
]
}
}

View File

@ -0,0 +1,35 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:turtle",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:sand",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:height_filter": {
"min": 60,
"max": 67
},
"minecraft:weight": {
"default": 8
},
"minecraft:herd": {
"min_size": 2,
"max_size": 6
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator": "==", "value": "beach" },
{"test": "has_biome_tag", "operator": "==", "value": "warm"}
]
}
]
}
}

View File

@ -0,0 +1,59 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:wolf",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": [
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt"
],
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 8
},
"minecraft:herd": {
"min_size":4,
"max_size":4
},
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator":"==", "value": "taiga"
}
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_on_block_filter": "minecraft:grass",
"minecraft:brightness_filter": {
"min": 7,
"max": 15,
"adjust_for_weather": false
},
"minecraft:weight": {
"default": 5
},
"minecraft:herd": {
"min_size":4,
"max_size":4
},
"minecraft:biome_filter": {
"all_of": [
{"test": "has_biome_tag", "operator":"==", "value": "forest"},
{"test": "has_biome_tag", "operator":"!=", "value": "mutated"},
{"test": "has_biome_tag", "operator":"!=", "value": "birch"},
{"test": "has_biome_tag", "operator":"!=", "value": "roofed"},
{"test": "has_biome_tag", "operator":"!=", "value": "mountain"}
]
}
}
]
}
}

View File

@ -0,0 +1,43 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:zombie",
"population_control": "monster"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underground": {},
"minecraft:brightness_filter": {
"min": 0,
"max": 7,
"adjust_for_weather": true
},
"minecraft:difficulty_filter": {
"min": "easy",
"max": "hard"
},
"minecraft:weight": {
"default": 100
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:permute_type": [
{
"weight": 95
},
{
"weight": 5,
"entity_type": "minecraft:zombie_villager_v2"
}
],
"minecraft:biome_filter": {
"test": "has_biome_tag", "operator": "==", "value": "monster"
}
}
]
}
}