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,39 @@
{
"format_version": "1.13.0",
"minecraft:biome": {
"description": {
"identifier": "cold_taiga"
},
"components": {
"minecraft:climate": {
"downfall": 0.4,
"snow_accumulation": [ 0.125, 0.5 ],
"temperature": -0.5
},
"minecraft:overworld_height": {
"noise_type": "taiga"
},
"minecraft:surface_parameters": {
"sea_floor_depth": 7,
"sea_floor_material": "minecraft:gravel",
"foundation_material": "minecraft:stone",
"mid_material": "minecraft:dirt",
"top_material": "minecraft:grass",
"sea_material": "minecraft:water"
},
"minecraft:overworld_generation_rules": {
"hills_transformation": "cold_taiga_hills",
"mutate_transformation": "cold_taiga_mutated",
"generate_for_climates": [
[ "frozen", 1 ]
]
},
"cold": {},
"forest": {},
"monster": {},
"overworld": {},
"taiga": {}
}
}
}

View File

@ -0,0 +1,33 @@
{
"format_version": "1.13.0",
"minecraft:biome": {
"description": {
"identifier": "cold_taiga_hills"
},
"components": {
"minecraft:climate": {
"downfall": 0.4,
"snow_accumulation": [ 0.125, 0.5 ],
"temperature": -0.5
},
"minecraft:overworld_height": {
"noise_type": "mountains"
},
"minecraft:surface_parameters": {
"sea_floor_depth": 7,
"sea_floor_material": "minecraft:gravel",
"foundation_material": "minecraft:stone",
"mid_material": "minecraft:dirt",
"top_material": "minecraft:grass",
"sea_material": "minecraft:water"
},
"cold": {},
"forest": {},
"hills": {},
"monster": {},
"overworld": {},
"taiga": {}
}
}
}

View File

@ -0,0 +1,35 @@
{
"format_version": "1.13.0",
"minecraft:biome": {
"description": {
"identifier": "cold_taiga_mutated"
},
"components": {
"minecraft:climate": {
"downfall": 0.4,
"snow_accumulation": [ 0.0, 0.125 ],
"temperature": -0.5
},
"minecraft:overworld_height": {
"noise_params": [ 0.3, 0.4 ]
},
"minecraft:surface_parameters": {
"sea_floor_depth": 7,
"sea_floor_material": "minecraft:gravel",
"foundation_material": "minecraft:stone",
"mid_material": "minecraft:dirt",
"top_material": "minecraft:grass",
"sea_material": "minecraft:water"
},
"cold": {},
"forest": {},
"monster": {},
"mutated": {},
"taiga": {},
// "overworld" tag cannot be present in order to match legacy behavior, but is
// required for correct world generation -- hence: overworld_generation
"overworld_generation": {}
}
}
}

View File

@ -0,0 +1,847 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:bee",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"bee_baby": {
"minecraft:is_baby": {},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:0", // Sunflower
"minecraft:double_plant:1", // Lilac
"minecraft:double_plant:4", // Rose Bush
"minecraft:double_plant:5", // Peony
"minecraft:flowering_azalea", //Flowering Azalea
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 11, // This has to be lower priority than move to block goal so that bee seek shelter in rain instead of following parents
"speed_multiplier": 1.1
}
},
"bee_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:bee",
"baby_type": "minecraft:bee",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:0", // Sunflower
"minecraft:double_plant:1", // Lilac
"minecraft:double_plant:4", // Rose Bush
"minecraft:double_plant:5", // Peony
"minecraft:flowering_azalea", //Flowering Azalea
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
]
}
},
"track_attacker": {
"minecraft:behavior.hurt_by_target": {
"priority": 1
}
},
"angry_bee": {
"minecraft:angry": {
"duration": 25,
"broadcastAnger": true,
"broadcastRange": 20,
"broadcast_filters": {
"test": "is_family",
"operator": "!=",
"value": "pacified"
},
"calm_event": {
"event": "calmed_down",
"target": "self"
}
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"attack_once": true,
"speed_multiplier": 1.4,
"on_attack": {
"event": "countdown_to_perish_event",
"target": "self"
}
}
},
"escape_fire": {
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [20,50],
"randomInterval": true,
"time_down_event": {
"event": "stop_panicking_after_fire",
"target": "self"
}
}
},
"countdown_to_perish": {
"minecraft:mark_variant": {
"value": 1
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [10, 60],
"randomInterval": true,
"time_down_event": {
"event": "perish_event",
"target": "self"
}
},
"minecraft:type_family": {
"family": [ "bee", "mob", "arthropod", "pacified" ]
}
},
"perish": {
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "none",
"damage_per_tick": 999
}
]
}
},
"take_nearest_target": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 10
}
]
},
"minecraft:timer": {
"looping": true,
"time": 5,
"time_down_event": {
"event": "calmed_down",
"target": "self"
}
}
},
"look_for_food": {
"minecraft:behavior.move_to_block": {
"priority": 10,
"tick_interval": 1,
"start_chance": 0.5,
"search_range": 6,
"search_height": 4,
"goal_radius": 1.0,
"stay_duration": 20.0,
"target_selection_method": "random",
"target_offset": [0, 0.25, 0],
"target_blocks": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:8", // Sunflower top
"minecraft:double_plant:9", // Lilac top
"minecraft:double_plant:12", // Rose Bush top
"minecraft:double_plant:13", // Peony top
"minecraft:flowering_azalea", //Flowering azalea
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
],
"on_stay_completed": [
{
"event": "collected_nectar",
"target": "self"
}
]
},
"minecraft:timer": {
"looping": true,
"time": 180,
"time_down_event": {
"event": "find_flower_timeout"
}
},
"minecraft:ambient_sound_interval" :{
"event_name" : "ambient.pollinate",
"range" : 3.0,
"value" : 2.0
}
},
"has_nectar": {
"minecraft:is_charged": {},
"minecraft:grows_crop": {
"charges": 10,
"chance": 0.03
}
},
"return_to_home": {
"minecraft:behavior.go_home": {
"priority": 4,
"speed_multiplier": 1.0,
"interval": 1,
"goal_radius": 1.2,
"on_home": [
{
"filters": {
"any_of":[
{ "test": "is_block", "subject": "block", "value": "minecraft:bee_nest" },
{ "test": "is_block", "subject": "block", "value": "minecraft:beehive" }
]
},
"event": "minecraft:bee_returned_to_hive",
"target": "block"
},
{
"filters": {
"all_of":[
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:bee_nest" },
{ "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:beehive" }
]
},
"event": "find_hive_event",
"target": "self"
}
],
"on_failed": [
{
"event": "find_hive_event",
"target": "self"
}
]
}
},
"find_hive": {
"minecraft:behavior.move_to_block": {
"priority": 10,
"search_range": 16,
"search_height": 10,
"tick_interval": 1,
"goal_radius": 0.633, // was tested with 0.4 when the goal radius wasn't squared. sqrt(0.4)~0.633
"target_blocks": [
"bee_nest",
"beehive"
],
"on_reach": [
{
"event": "minecraft:bee_returned_to_hive",
"target": "block"
}
]
},
"minecraft:timer": {
"looping": false,
"time": 180,
"time_down_event": {
"event": "find_hive_timeout",
"target": "self"
}
}
},
"hive_full": {
"minecraft:timer": {
"looping": false,
"time": [5, 20],
"randomInterval": true,
"time_down_event": {
"event": "find_hive_event",
"target": "self"
}
}
},
"shelter_detection": {
"minecraft:environment_sensor": {
"triggers": [
{
"event": "seek_shelter",
"filters": {
"all_of": [
{
"any_of": [
{
"test": "is_daytime",
"value": false
},
{
"test": "weather",
"operator": "==",
"value": "precipitation"
}
]
},
{ // Assume we are already going home if we have nectar
"test": "has_component",
"value": "minecraft:is_charged",
"operator": "!="
},
{ // Assume we are already going home if we have nectar
"test": "has_biome_tag",
"value": "overworld"
}
]
}
}
]
}
},
"abort_shelter_detection": {
"minecraft:environment_sensor": {
"triggers": [
{
"event": "abort_sheltering",
"filters": {
"all_of": [
{
"test": "weather",
"operator": "==",
"value": "clear"
},
{
"test": "is_daytime",
"value": true
}
]
}
}
]
}
},
"easy_attack": {
"minecraft:attack": {
"damage": 2
}
},
"normal_attack": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 10
}
},
"hard_attack": {
"minecraft:attack": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 18
}
},
"default_sound" : {
"minecraft:ambient_sound_interval" :{
"event_name" : "ambient",
"range" : 0.0,
"value" : 0.0
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.25,
"within_radius": 8,
"can_tempt_vertically": true,
"items": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:0", // Sunflower
"minecraft:double_plant:1", // Lilac
"minecraft:double_plant:4", // Rose Bush
"minecraft:double_plant:5", // Peony
"minecraft:flowering_azalea", //Flowering azalea
"minecraft:azalea_leaves_flowered" //Flowering Azalea leaves
]
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 9
},
"minecraft:behavior.random_hover": {
"priority": 12,
"xz_dist": 8,
"y_dist": 8,
"y_offset": -1,
"interval": 1,
"hover_height": [1, 4]
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.5
},
"minecraft:behavior.float": {
"priority": 19
},
"minecraft:type_family": {
"family": [ "bee", "mob", "arthropod" ]
},
"minecraft:on_target_acquired": {
"event": "attacked",
"target": "self"
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:collision_box": {
"width": 0.55,
"height": 0.5
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:home": {
"restriction_radius": 22,
"home_block_list": [
"minecraft:bee_nest",
"minecraft:beehive"
]
},
"minecraft:follow_range": {
"value": 1024
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:flying_speed": {
"value": 0.15
},
"minecraft:navigation.hover": {
"can_path_over_water": true,
"can_sink": false,
"can_pass_doors": false,
"can_path_from_air": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"avoid_sun": false
},
"minecraft:movement.hover": {},
"minecraft:jump.static": {},
"minecraft:can_fly": {},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:nameable": {},
"minecraft:block_sensor": {
"sensor_radius": 16,
"sources" : [
{
"test": "has_silk_touch",
"subject": "other",
"value": false
}
],
"on_break": [
{
"block_list": [
"minecraft:beehive", "minecraft:bee_nest"
],
"on_block_broken": "hive_destroyed"
}
]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"bee_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"bee_baby"
]
}
}
]
},
{
"add": {
"component_groups": [
"track_attacker",
"shelter_detection",
"look_for_food"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"bee_baby",
"shelter_detection",
"track_attacker",
"look_for_food"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"bee_baby"
]
},
"add": {
"component_groups": [
"bee_adult"
]
}
},
"minecraft:exited_disturbed_hive": {
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection",
"shelter_detection",
"escape_fire"
]
}
},
"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,513 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:hoglin",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"zombification_sensor": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": false
},
"event": "start_zombification_event"
}
}
},
"start_zombification": {
"minecraft:is_shaking": {},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": true
},
"event": "stop_zombification_event"
}
},
"minecraft:timer": {
"looping": false,
"time": 15,
"time_down_event": {
"event": "become_zombie_event"
}
}
},
"become_zombie": {
"minecraft:transformation": {
"into": "minecraft:zoglin",
"transformation_sound": "converted_to_zombified",
"keep_level": true
}
},
"angry_hoglin": {
"minecraft:angry": {
"duration": 10,
"broadcast_anger": true,
"broadcast_range": 16,
"calm_event": {
"event": "become_calm_event",
"target": "self"
},
"angry_sound": "angry",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
}
},
"attack_cooldown": {
"minecraft:attack_cooldown": {
"attack_cooldown_time": [ 10.0, 15.0 ],
"attack_cooldown_complete_event": {
"event": "attack_cooldown_complete_event",
"target": "self"
}
}
},
"minecraft:hoglin_baby": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_baby", "mob" ]
},
"minecraft:is_baby": {
},
"minecraft:movement": {
"value": 0.36
},
"minecraft:attack": {
"damage": 1.0
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 1.0,
"height": 0.85,
"pivot": [ 0, 0.5, 0 ]
}
]
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "crimson_fungus" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:rideable": {
"seat_count": 3,
"family_types": [
"piglin"
],
"seats": [
{
"position": [ 0.0, 0.9, -0.3 ],
"lock_rider_rotation": 0
},
{
"position": [ 0.0, 2.4, -0.3 ],
"lock_rider_rotation": 0
},
{
"position": [ 0.0, 3.9, -0.3 ],
"lock_rider_rotation": 0
}
]
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1
}
},
"minecraft:hoglin_adult": {
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 2.0,
"height": 1.75,
"pivot": [ 0, 1, 0 ]
}
]
},
"minecraft:group_size": {
"radius": 32,
"filters": {
"all_of": [
{
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"value": "hoglin"
}
]
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 2
},
"minecraft:on_target_acquired": {
"event": "become_angry_event",
"target": "self"
},
"minecraft:loot": {
"table": "loot_tables/entities/hoglin.json"
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1,
"track_target": true,
"reach_multiplier": 2.5,
"cooldown_time": 2
},
"minecraft:attack": {
"damage": [ 3, 9 ]
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 0.6
},
"minecraft:breedable": {
"require_tame": false,
"love_filters": {
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:attack_cooldown"
},
"breeds_with": {
"mate_type": "minecraft:hoglin",
"baby_type": "minecraft:hoglin",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "crimson_fungus" ]
}
},
"unhuntable_adult": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_adult", "mob" ]
}
},
"huntable_adult": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_adult", "hoglin_huntable", "mob" ]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 40,
"max": 40
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:knockback_resistance": {
"value": 0.5
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:attack_cooldown"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 0,
"remove_target": true,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "has_target",
"subject": "other",
"value": true
},
{
"test": "is_family",
"subject": "other",
"value": "piglin"
}
]
},
"check_if_outnumbered": true,
"max_dist": 10,
"sprint_speed_multiplier": 1.2
}
],
"avoid_mob_sound": "retreat",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
},
"minecraft:behavior.avoid_block": {
"priority": 1,
"tick_interval": 5,
"search_range": 8,
"search_height": 4,
"walk_speed_modifier": 1,
"sprint_speed_modifier": 1,
"avoid_block_sound": "retreat",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
},
"target_selection_method": "nearest",
"target_blocks": [
"minecraft:warped_fungus",
"minecraft:portal",
"minecraft:respawn_anchor"
],
"on_escape": [
{
"event": "escaped_event",
"target": "self"
}
]
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.4
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:balloonable": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "spawn_adult"
},
{
"weight": 5,
"trigger": "spawn_baby"
}
]
},
"minecraft:entity_born": {
"trigger": "spawn_baby"
},
"spawn_adult": {
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"huntable_adult",
"zombification_sensor"
]
}
},
"spawn_baby": {
"add": {
"component_groups": [
"minecraft:hoglin_baby",
"zombification_sensor"
]
}
},
"stop_zombification_event": {
"add": {
"component_groups": [
"zombification_sensor"
]
},
"remove": {
"component_groups": [
"start_zombification"
]
}
},
"become_zombie_event": {
"add": {
"component_groups": [
"become_zombie"
]
}
},
"start_zombification_event": {
"add": {
"component_groups": [
"start_zombification"
]
},
"remove": {
"component_groups": [
"zombification_sensor"
]
}
},
"spawn_adult_unhuntable": {
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"unhuntable_adult",
"zombification_sensor"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:hoglin_baby"
]
},
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"huntable_adult"
]
}
},
"become_angry_event": {
"add": {
"component_groups": [
"angry_hoglin"
]
}
},
"become_calm_event": {
"remove": {
"component_groups": [
"angry_hoglin"
]
}
},
"escaped_event": {
"add": {
"component_groups": [
"attack_cooldown"
]
},
"remove": {
"component_groups": [
"angry_hoglin"
]
}
},
"attack_cooldown_complete_event": {
"remove": {
"component_groups": [
"attack_cooldown"
]
}
}
}
}
}

View File

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

View File

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

View File

@ -0,0 +1,377 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:piglin_brute",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"zombification_sensor": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": false
},
"event": "start_zombification_event"
}
}
},
"start_zombification": {
"minecraft:is_shaking": {},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": true
},
"event": "stop_zombification_event"
}
},
"minecraft:timer": {
"looping": false,
"time": 15,
"time_down_event": {
"event": "become_zombie_event"
}
}
},
"become_zombie": {
"minecraft:transformation": {
"into": "minecraft:zombie_pigman",
"transformation_sound" : "converted_to_zombified",
"keep_level": true,
"preserve_equipment": true
}
},
"melee_unit": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1,
"track_target": true
},
"minecraft:attack": {
"damage": 7
},
"minecraft:equipment": {
"table": "loot_tables/entities/piglin_brute_gear.json"
},
"minecraft:variant": {
"value": 1
}
},
"angry": {
"minecraft:angry": {
"duration": 30,
"broadcast_anger": false,
"broadcast_anger_on_attack": false,
"broadcast_anger_on_being_attacked": true,
"broadcast_range": 16,
"broadcast_targets": [
"piglin" // we want to broadcast to both normal piglins and piglin_brute
],
"calm_event": {
"event": "become_calm_event",
"target": "self"
},
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "piglin"
}
]
},
"angry_sound": "angry",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
}
},
"alert_for_attack_targets": {
"minecraft:behavior.nearest_prioritized_attackable_target": {
"priority": 3,
"within_radius": 12.0,
"persist_time": 2.0,
"must_see": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "wither"
},
"max_dist": 12,
"priority": 1
}
]
}
},
"take_target_as_response_to_block_break": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
}
]
}
},
"go_back_to_spawn": {
"minecraft:behavior.go_home": {
"priority": 6,
"interval": 200,
"speed_multiplier": 0.6,
"goal_radius": 4.0,
"on_failed": [
{
"event": "go_back_to_spawn_failed",
"target": "self"
}
]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:type_family": {
"family": [
"piglin",
"adult_piglin",
"piglin_brute",
"monster"
]
},
"minecraft:home": {
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 20 : 0"
},
"minecraft:on_target_acquired": {
"event": "become_angry_event",
"target": "self"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:health": {
"value": 50,
"max": 50
},
"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/piglin.json"
},
"minecraft:movement": {
"value": 0.35
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_open_doors": true
},
"minecraft:annotation.open_door": {
},
"minecraft:movement.basic": {},
"minecraft:jump.static": {},
"minecraft:nameable": {},
"minecraft:despawn": {
"filters": {
"any_of": [
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 54
}
]
},
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "inactivity_timer",
"subject": "self",
"value": 30
},
{
"test": "random_chance",
"value": 800
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 32
}
]
}
]
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.6
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"zombification_sensor",
"alert_for_attack_targets",
"melee_unit",
"go_back_to_spawn"
]
}
},
"stop_zombification_event": {
"add": {
"component_groups": [
"zombification_sensor"
]
},
"remove": {
"component_groups": [
"start_zombification"
]
}
},
"start_zombification_event": {
"add": {
"component_groups": [
"start_zombification"
]
},
"remove": {
"component_groups": [
"zombification_sensor"
]
}
},
"become_angry_event": {
"add": {
"component_groups": [
"angry"
]
}
},
"become_calm_event": {
"remove": {
"component_groups": [
"angry"
]
},
"add": {
"component_groups": [
"alert_for_attack_targets"
]
}
},
"become_zombie_event": {
"add": {
"component_groups": [
"become_zombie"
]
}
},
"important_block_destroyed_event": {
"remove": {
"component_groups": [
"alert_for_attack_targets"
]
},
"add": {
"component_groups": [
"take_target_as_response_to_block_break"
]
}
},
"go_back_to_spawn_failed": {
"remove": {
"component_groups": [
"go_back_to_spawn"
]
}
}
}
}
}

View File

@ -0,0 +1,209 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"minecraft:add_bad_omen": {
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "bad_omen",
"duration": 6000,
"visible": false,
"display_on_screen_animation": true
}
]
},
"minecraft:timer": {
"time": [ 0.0, 0.0 ],
"looping": false,
"time_down_event": {
"event": "minecraft:clear_add_bad_omen",
"target": "self"
}
}
},
"minecraft:clear_bad_omen_spell_effect": {
"minecraft:spell_effects": {
}
},
"minecraft:raid_trigger": {
"minecraft:raid_trigger": {
"triggered_event": {
"event": "minecraft:remove_raid_trigger",
"target": "self"
}
},
"minecraft:spell_effects": {
"remove_effects": "bad_omen"
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "Math.Min(query.player_level * 7, 100)"
},
"minecraft:type_family": {
"family": [ "player" ]
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:loot": {
"table": "loot_tables/empty.json"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
},
"minecraft:can_climb": {
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 1
},
"minecraft:exhaustion_values": {
"heal": 6,
"jump": 0.05,
"sprint_jump": 0.2,
"mine": 0.005,
"attack": 0.1,
"damage": 0.1,
"walk": 0.0,
"sprint": 0.01,
"swim": 0.01
},
"minecraft:player.saturation": {
"value": 5,
"max": 20
},
"minecraft:player.exhaustion": {
"value": 0,
"max": 20
},
"minecraft:player.level": {
"value": 0,
"max": 24791
},
"minecraft:player.experience": {
"value": 0,
"max": 1
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": -1,
"inhale_time": 3.75,
"generates_bubbles": false
},
"minecraft:nameable": {
"always_show": true,
"allow_name_tag_renaming": false
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": true
},
"minecraft:insomnia": {
"days_until_insomnia": 3
},
"minecraft:rideable": {
"seat_count": 2,
"family_types": [
"parrot_tame"
],
"pull_in_entities": true,
"seats": [
{
"position": [ 0.4, -0.2, -0.1 ],
"min_rider_count": 0,
"max_rider_count": 0,
"lock_rider_rotation": 0
},
{
"position": [ -0.4, -0.2, -0.1 ],
"min_rider_count": 1,
"max_rider_count": 2,
"lock_rider_rotation": 0
}
]
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:block_climber": {},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"all_of": [
{
"test": "has_mob_effect",
"subject": "self",
"value": "bad_omen"
},
{
"test": "is_in_village",
"subject": "self",
"value": true
}
]
},
"event": "minecraft:trigger_raid"
}
}
},
"events": {
"minecraft:gain_bad_omen": {
"add": {
"component_groups": [
"minecraft:add_bad_omen"
]
}
},
"minecraft:clear_add_bad_omen": {
"remove": {
"component_groups": [
"minecraft:add_bad_omen"
]
},
"add": {
"component_groups": [
"minecraft:clear_bad_omen_spell_effect"
]
}
},
"minecraft:trigger_raid": {
"add": {
"component_groups": [ "minecraft:raid_trigger" ]
}
},
"minecraft:remove_raid_trigger": {
"remove": {
"component_groups": [ "minecraft:raid_trigger" ]
}
}
}
}
}

View File

@ -0,0 +1,660 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:skeleton",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"in_powder_snow": {
"minecraft:is_shaking": {},
"minecraft:timer": {
"looping": false,
"time": 20,
"time_down_event": {
"event": "become_stray_event"
}
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "!=",
"value": "minecraft:powder_snow"
},
"event": "got_out_of_powder_snow"
}
]
}
},
"got_out_of_powder_snow_environment_sensor": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": true
}
]
},
"event": "minecraft:ranged_mode"
}
]
}
},
"minecraft:lightning_immune": {
"minecraft:damage_sensor": {
"triggers": {
"on_damage": { "filters": { "other_with_families": "lightning" } },
"deals_damage": false
}
}
},
"become_stray": {
"minecraft:transformation": {
"into": "minecraft:stray",
"transformation_sound" : "convert_to_stray",
"keep_level": true,
"drop_inventory": true,
"preserve_equipment": true
}
},
"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"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true,
"speed_multiplier": 1.25
},
"minecraft:attack": {
"damage": 2
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": true
}
]
},
"event": "minecraft:ranged_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:equip_item": {
},
"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"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:shareables": {
"items": [
{
"item": "minecraft:netherite_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:stone_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:wooden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:bow",
"want_amount": 1,
"surplus_amount": 1,
"priority": 6
},
{
"item": "minecraft:netherite_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:turtle_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 6
},
{
"item": "minecraft:skull:0",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:skull:1",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:carved_pumpkin",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:netherite_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:netherite_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:netherite_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
}
]
},
"minecraft: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.equip_item": {
"priority": 3
},
"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.pickup_items": {
"priority": 5,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 1.0,
"pickup_based_on_chance": true,
"can_pickup_any_item": true
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"become_stray_event": {
"add": {
"component_groups": [
"become_stray"
]
}
},
"got_in_powder_snow": {
"add": {
"component_groups": [
"in_powder_snow"
]
}
},
"got_out_of_powder_snow": {
"remove": {
"component_groups": [
"in_powder_snow"
]
},
"add": {
"component_groups": [
"got_out_of_powder_snow_environment_sensor"
]
}
},
"minecraft:spring_trap": {
"add": {
"component_groups": [
"minecraft:lightning_immune"
]
}
},
"minecraft:melee_mode": {
"remove": {
"component_groups": [
"minecraft:ranged_attack",
"got_out_of_powder_snow_environment_sensor"
]
},
"add": {
"component_groups": [
"minecraft:melee_attack"
]
}
},
"minecraft:ranged_mode": {
"remove": {
"component_groups": [
"minecraft:melee_attack",
"got_out_of_powder_snow_environment_sensor"
]
},
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
}
}
}
}

View File

@ -0,0 +1,361 @@
{
"format_version": "1.18.20",
"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:is_hidden_when_invisible": {
},
"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": 2
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"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
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"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,303 @@
{
"format_version": "1.18.20",
"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:is_hidden_when_invisible": {
},
"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:despawn": {
"despawn_from_distance": {}
},
"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,
"can_tempt_vertically": true,
"items": [
"seagrass"
]
},
"minecraft:behavior.move_to_water": {
"priority": 4,
"search_range": 16,
"search_height": 5,
"goal_radius": 1.5
},
"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
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"add": {
"component_groups": [
"minecraft:adult"
]
}
},
{
"weight": 1,
"add": {
"component_groups": [
"minecraft:baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:baby"
]
},
"add": {
"component_groups": [
"minecraft:adult"
]
}
},
"minecraft:become_pregnant": {
"add": {
"component_groups": [
"minecraft:pregnant"
]
}
},
"minecraft:go_lay_egg": {
"add": {
"component_groups": [
"minecraft:wants_to_lay_egg"
]
},
"remove": {
"component_groups": [
"minecraft:pregnant"
]
}
},
"minecraft:laid_egg": {
"remove": {
"component_groups": [
"minecraft:wants_to_lay_egg"
]
}
}
}
}
}

View File

@ -0,0 +1,852 @@
{
"format_version": "1.18.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:villager",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate_survive": {
"priority": 5,
"fireworks_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
},
"minecraft:behavior.move_outdoors": {
"priority": 2,
"speed_multiplier": 0.8,
"timeout_cooldown": 8.0
}
},
"become_witch": {
"minecraft:transformation": {
"into": "minecraft:witch",
"delay": 0.5
}
},
"become_villager_v2": {
"minecraft:transformation": {
"into": "minecraft:villager_v2",
"keep_level": true
}
},
"become_zombie": {
"minecraft:transformation": {
"into": "minecraft:zombie_villager"
}
},
"behavior_peasant": {
"minecraft:shareables": {
"items": [
{
"item": "minecraft:bread",
"want_amount": 3,
"surplus_amount": 6,
"stored_in_inventory": true
},
{
"item": "minecraft:carrot",
"want_amount": 60,
"surplus_amount": 4,
"stored_in_inventory": true
},
{
"item": "minecraft:potato",
"want_amount": 60,
"surplus_amount": 24,
"stored_in_inventory": true
},
{
"item": "minecraft:beetroot",
"want_amount": 60,
"surplus_amount": 24,
"stored_in_inventory": true
},
{
"item": "minecraft:wheat_seeds",
"want_amount": 64,
"surplus_amount": 64,
"stored_in_inventory": true,
"pickup_only": true
},
{
"item": "minecraft:beetroot_seeds",
"want_amount": 64,
"surplus_amount": 64,
"stored_in_inventory": true,
"pickup_only": true
},
{
"item": "minecraft:wheat",
"want_amount": 45,
"surplus_amount": 18,
"craft_into": "minecraft:bread",
"stored_in_inventory": true
}
]
},
"minecraft:behavior.harvest_farm_block": {
"priority": 9,
"speed_multiplier": 0.5
}
},
"behavior_non_peasant": {
"minecraft:shareables": {
"items": [
{
"item": "minecraft:bread",
"want_amount": 3,
"surplus_amount": 6,
"stored_in_inventory": true
},
{
"item": "minecraft:carrot",
"want_amount": 12,
"surplus_amount": 24,
"stored_in_inventory": true
},
{
"item": "minecraft:potato",
"want_amount": 12,
"surplus_amount": 24,
"stored_in_inventory": true
},
{
"item": "minecraft:beetroot",
"want_amount": 12,
"surplus_amount": 24,
"stored_in_inventory": true
}
]
}
},
"farmer":{
"minecraft:type_family": {
"family":[ "villager", "peasant", "farmer", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:trade_table": {
"display_name": "entity.villager.farmer",
"table": "trading/farmer_trades.json",
"convert_trades_economy": true
}
},
"fisherman":{
"minecraft:type_family": {
"family":[ "villager", "peasant", "fisherman", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:trade_table": {
"display_name": "entity.villager.fisherman",
"table": "trading/fisherman_trades.json",
"convert_trades_economy": true
}
},
"shepherd":{
"minecraft:type_family": {
"family":[ "villager", "peasant", "shepherd", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:trade_table": {
"display_name": "entity.villager.shepherd",
"table": "trading/shepherd_trades.json",
"convert_trades_economy": true
}
},
"fletcher":{
"minecraft:type_family": {
"family":[ "villager", "peasant", "fletcher", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:trade_table": {
"display_name": "entity.villager.fletcher",
"table": "trading/fletcher_trades.json",
"convert_trades_economy": true
}
},
"librarian":{
"minecraft:type_family": {
"family":[ "villager", "librarian", "mob" ]
},
"minecraft:variant": {
"value": 1
},
"minecraft:trade_table": {
"display_name": "entity.villager.librarian",
"table": "trading/librarian_trades.json",
"convert_trades_economy": true
}
},
"cartographer":{
"minecraft:type_family": {
"family":[ "villager", "cartographer", "mob" ]
},
"minecraft:variant": {
"value": 1
},
"minecraft:trade_table": {
"display_name": "entity.villager.cartographer",
"table": "trading/cartographer_trades.json",
"convert_trades_economy": true
}
},
"cleric":{
"minecraft:type_family": {
"family":[ "villager", "priest", "cleric", "mob" ]
},
"minecraft:variant": {
"value": 2
},
"minecraft:trade_table": {
"display_name": "entity.villager.cleric",
"table": "trading/cleric_trades.json",
"convert_trades_economy": true
}
},
"armorer":{
"minecraft:type_family": {
"family":[ "villager", "blacksmith", "armorer", "mob" ]
},
"minecraft:variant": {
"value": 3
},
"minecraft:trade_table": {
"display_name": "entity.villager.armor",
"table": "trading/armorer_trades.json",
"convert_trades_economy": true
}
},
"weaponsmith":{
"minecraft:type_family": {
"family":[ "villager", "blacksmith", "weaponsmith", "mob" ]
},
"minecraft:variant": {
"value": 3
},
"minecraft:trade_table": {
"display_name": "entity.villager.weapon",
"table": "trading/weapon_smith_trades.json",
"convert_trades_economy": true
}
},
"toolsmith":{
"minecraft:type_family": {
"family":[ "villager", "blacksmith", "toolsmith", "mob" ]
},
"minecraft:variant": {
"value": 3
},
"minecraft:trade_table": {
"display_name": "entity.villager.tool",
"table": "trading/tool_smith_trades.json",
"convert_trades_economy": true
}
},
"butcher":{
"minecraft:type_family": {
"family":[ "villager", "artisan", "butcher", "mob" ]
},
"minecraft:variant": {
"value": 4
},
"minecraft:trade_table": {
"display_name": "entity.villager.butcher",
"table": "trading/butcher_trades.json",
"convert_trades_economy": true
}
},
"leatherworker":{
"minecraft:type_family": {
"family":[ "villager", "artisan", "leatherworker", "mob" ]
},
"minecraft:variant": {
"value": 4
},
"minecraft:trade_table": {
"display_name": "entity.villager.leather",
"table": "trading/leather_worker_trades.json",
"convert_trades_economy": true
}
},
"baby": {
"minecraft:is_baby": { },
"minecraft:scale": {
"value":0.5
},
"minecraft:ageable": {
"duration": 1200,
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.take_flower":{
"priority": 7
},
"minecraft:behavior.play": {
"priority": 8,
"speed_multiplier": 0.32
}
},
"adult": {
"minecraft:behavior.make_love": {
"priority": 6
},
"minecraft:behavior.receive_love":{
"priority": 7
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": ["villager", "mob"]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:nameable": {
},
"minecraft:movement": {
"value": 0.5
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_path_over_water": true,
"can_pass_doors": true,
"can_open_doors": true,
"can_walk": true,
"avoid_water": true
},
"minecraft:annotation.open_door": {
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:inventory": {
"inventory_size": 8,
"private": true
},
"minecraft:damage_sensor": {
"triggers": [
{
"on_damage": {
"filters": { "test" : "is_family", "subject" : "other", "value" : "lightning" },
"event": "become_witch"
},
"deals_damage": false
},
{
"on_damage": {
"filters": {
"any_of": [
{"test": "is_family", "subject": "other", "value": "zombie"},
{"test": "is_family", "subject": "other", "value": "husk"}
],
"all_of": [
{"test": "has_damage", "value": "fatal"}
]
},
"event": "become_zombie"
}
}
]
},
"minecraft:persistent": {
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.trade_with_player": {
"priority": 1
},
"minecraft:behavior.look_at_trading_player": {
"priority": 2
},
"minecraft:behavior.panic": {
"priority": 3,
"speed_multiplier": 0.6
},
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "zombie"},
{ "test" : "is_family", "subject" : "other", "value" : "zombie_villager"},
{ "test" : "is_family", "subject" : "other", "value" : "illager"},
{ "test" : "is_family", "subject" : "other", "value" : "vex"}
]
},
"max_dist": 8,
"walk_speed_multiplier": 0.6,
"sprint_speed_multiplier": 0.6
}
]
},
"minecraft:behavior.move_indoors": {
"priority": 4,
"speed_multiplier": 0.8
},
"minecraft:behavior.restrict_open_door": {
"priority": 5
},
"minecraft:behavior.open_door": {
"priority": 6,
"close_door_after": true
},
"minecraft:behavior.share_items": {
"priority": 8,
"max_dist": 3,
"goal_radius": 2.0,
"speed_multiplier": 0.5,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "villager"}
}
]
},
"minecraft:behavior.pickup_items": {
"priority": 9,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 0.5,
"can_pickup_to_hand_or_equipment": false
},
"minecraft:behavior.random_stroll": {
"priority": 11,
"speed_multiplier": 0.6
},
"minecraft:behavior.look_at_player": {
"priority": 12,
"look_distance": 8,
"probability": 0.02
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events":{
"become_witch": {
"add": {
"component_groups": [
"become_witch"
]
}
},
"become_zombie": {
"sequence": [
{
"filters": {"test": "is_difficulty", "value": "normal"},
"randomize": [
{
"weight": 50,
"add": { "component_groups": [ "become_zombie" ] }
},
{
"weight": 50
}
]
},
{
"filters": {"test": "is_difficulty", "value": "hard"},
"add": {
"component_groups": [
"become_zombie"
]
}
}
]
},
"minecraft:entity_spawned": {
"sequence": [
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "baby" ] }
},
{
"weight": 95,
"add": { "component_groups": [ "adult" ] }
}
]
},
{
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" },
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
}
]
}
]
},
"minecraft:entity_transformed": {
"sequence": [
// Transform baby zombie to baby villager
{
"filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "baby" ] }
},
// Transform adult zombie to adult villager
{
"filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" },
"add": { "component_groups": [ "adult" ] }
},
// Transform farmer zombie to farmer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "farmer"},
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
},
// Transform fisherman zombie to fisherman villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fisherman"},
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
},
// Transform shepherd zombie to shepherd villager
{
"filters": { "test": "is_family", "subject": "other", "value": "shepherd" },
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
},
// Transform fletcher zombie to fletcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "fletcher" },
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
},
// Transform librarian zombie to librarian villager
{
"filters": { "test": "is_family", "subject": "other", "value": "librarian" },
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
},
// Transform cartographer zombie to cartographer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cartographer" },
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
},
// Transform cleric zombie to cleric villager
{
"filters": { "test": "is_family", "subject": "other", "value": "cleric" },
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
},
// Transform armorer zombie to armorer villager
{
"filters": { "test": "is_family", "subject": "other", "value": "armorer" },
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
},
// Transform weaponsmith zombie to weaponsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" },
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
},
// Transform toolsmith zombie to toolsmith villager
{
"filters": { "test": "is_family", "subject": "other", "value": "toolsmith" },
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
},
// Transform butcher zombie to butcher villager
{
"filters": { "test": "is_family", "subject": "other", "value": "butcher" },
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
},
// Transform leatherworker zombie to leatherworker villager
{
"filters": { "test": "is_family", "subject": "other", "value": "leatherworker" },
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
}
]
},
"minecraft:entity_born": {
"sequence": [
{
"add": { "component_groups": [ "baby" ] }
},
{
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "farmer", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fisherman", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "shepherd", "behavior_peasant" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fletcher", "behavior_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "librarian", "behavior_non_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cleric", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "armorer", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "butcher", "behavior_non_peasant" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] }
}
]
}
]
},
"minecraft:spawn_farmer": {
"randomize": [
{
"weight": 5,
"add": { "component_groups": [ "farmer", "adult", "behavior_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fisherman", "adult", "behavior_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "shepherd", "adult", "behavior_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 5,
"add": { "component_groups": [ "fletcher", "adult", "behavior_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
}
]
},
"minecraft:spawn_librarian": {
"randomize": [
{
"weight": 20,
"add": { "component_groups": [ "librarian", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 20,
"add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
}
]
},
"minecraft:spawn_cleric": {
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
"minecraft:spawn_armorer": {
"randomize": [
{
"weight": 6,
"add": { "component_groups": [ "armorer", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "weaponsmith", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 6,
"add": { "component_groups": [ "toolsmith", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
}
]
},
"minecraft:spawn_butcher": {
"randomize": [
{
"weight": 10,
"add": { "component_groups": [ "butcher", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
{
"weight": 10,
"add": { "component_groups": [ "leatherworker", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
}
]
},
"minecraft:ageable_grow_up": {
"sequence": [
{
"remove": { "component_groups": [ "baby" ] },
"add": { "component_groups": [ "adult" ] }
}
]
},
"minecraft:become_cleric": {
"add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] },
"remove": { "component_groups": [ "baby" ] }
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is won
"add": { "component_groups": [ "minecraft:celebrate"] }
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,204 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:witch",
"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: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": 3,
"speed_multiplier": 1.2,
"goal_radius": 2.0
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:raid_persistence": {
"minecraft:persistent": {}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"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:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/witch.json"
},
"minecraft:health": {
"value": 26,
"max": 26
},
"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": false
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"speed_multiplier": 1.0,
"attack_interval_min": 3,
"attack_interval_max": 3,
"attack_radius": 10.0
},
"minecraft:behavior.random_stroll": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 5,
"look_distance": 8.0
},
"minecraft:behavior.random_look_around": {
"priority": 5,
"look_distance": 8.0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"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": 10
}
],
"must_reach": true
},
"minecraft:type_family": {
"family": [ "witch", "monster", "mob" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"sequence": [
{
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:raid_expired": {
"sequence": [
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
}
}
}
}

View File

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

View File

@ -0,0 +1,273 @@
{
"format_version": "1.18.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zoglin",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"zoglin_baby": {
"minecraft:type_family": {
"family": [ "zoglin", "zoglin_baby", "undead", "mob" ]
},
"minecraft:is_baby": {
},
"minecraft:attack": {
"damage": 0.5
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 1.0,
"height": 0.85,
"pivot": [ 0, 0.5, 0 ]
}
]
}
},
"zoglin_adult": {
"minecraft:type_family": {
"family": [ "zoglin", "zoglin_adult", "undead", "mob" ]
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 2.0,
"height": 1.75,
"pivot": [ 0, 1, 0 ]
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:attack": {
"damage": [ 3, 8 ]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/zoglin.json"
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:health": {
"value": 40,
"max": 40
},
"minecraft:knockback_resistance": {
"value": 0.5
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "zoglin"
},
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "creeper"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.4,
"track_target": true
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_path_over_water": false,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:fire_immune": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:despawn": {
"filters": {
"any_of": [
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 54
}
]
},
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "inactivity_timer",
"subject": "self",
"value": 30
},
{
"test": "random_chance",
"value": 800
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 32
}
]
}
]
}
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_transformed": {
"sequence": [
{
"filters": {
"test": "has_component",
"subject": "other",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"zoglin_baby"
]
}
},
{
"filters": {
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"zoglin_adult"
]
}
}
]
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"zoglin_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"zoglin_baby"
]
}
}
]
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"zoglin_adult"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"zoglin_baby"
]
}
}
}
}
}

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

View File

@ -0,0 +1,39 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:cod",
"population_control": "water_animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 75
},
"minecraft:density_limit": {
"surface":20
},
"minecraft:height_filter": {
"min": 0,
"max": 64
},
"minecraft:herd": {
"min_size":4,
"max_size":7
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "ocean"},
{"test": "has_biome_tag", "operator":"!=", "value": "warm"}
]
}
]
}
}

View File

@ -0,0 +1,35 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:dolphin",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:weight": {
"default": 7
},
"minecraft:height_filter": {
"min": 0,
"max": 64
},
"minecraft:herd": {
"min_size": 3,
"max_size": 5
},
"minecraft:density_limit": {
"surface": 5,
"underground": 0
},
"minecraft:biome_filter": [
{ "test": "has_biome_tag", "operator": "==", "value": "ocean" },
{ "test": "has_biome_tag", "operator": "!=", "value": "frozen"}
]
}
]
}
}

View File

@ -0,0 +1,39 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:pufferfish",
"population_control": "water_animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 25
},
"minecraft:density_limit": {
"surface":3
},
"minecraft:height_filter": {
"min": 0,
"max": 64
},
"minecraft:herd": {
"min_size":3,
"max_size":5
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "ocean"},
{"test": "has_biome_tag", "operator":"==", "value": "warm"}
]
}
]
}
}

View File

@ -0,0 +1,66 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:salmon",
"population_control": "water_animal"
},
"conditions": [
{
"minecraft:density_limit": {
"surface":10
},
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 26
},
"minecraft:height_filter": {
"min": 0,
"max": 64
},
"minecraft:herd": {
"min_size":3,
"max_size":5
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "ocean"},
{"test": "has_biome_tag", "operator":"!=", "value": "warm"}
]
},
{
"minecraft:density_limit": {
"surface":4
},
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 16
},
"minecraft:height_filter": {
"min": 50,
"max": 64
},
"minecraft:herd": {
"min_size":3,
"max_size":5
},
"minecraft:biome_filter": [
{"test": "has_biome_tag", "operator":"==", "value": "river"}
]
}
]
}
}

View File

@ -0,0 +1,364 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:tropicalfish",
"population_control": "water_animal"
},
"conditions": [
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 75
},
"minecraft:density_limit": {
"surface": 20
},
"minecraft:height_filter": {
"min": 0,
"max": 64
},
"minecraft:herd": [
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_anenonme"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_black_tang"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_blue_dory"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_butterfly_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_cichlid"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_clownfish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_cc_betta"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_dog_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_e_red_snapper"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_goat_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_moorish_idol"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_ornate_butterfly"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_parrot_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_queen_angel_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_cichlid"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_lipped_benny"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_snapper"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_threadfin"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_tomato_clown"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_triggerfish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_yellow_tang"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_yellow_tail_parrot"
}
],
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "ocean"
},
{
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "warm"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "lukewarm"
}
]
}
]
},
{
"minecraft:spawns_on_surface": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 25
},
"minecraft:density_limit": {
"surface": 20
},
"minecraft:height_filter": {
"min": 50,
"max": 64
},
"minecraft:herd": {
"min_size": 1,
"max_size": 3
},
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "ocean"
},
{
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "warm"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "lukewarm"
}
]
}
]
},
{
"minecraft:spawns_underground": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 75
},
"minecraft:density_limit": {
"surface": 20
},
"minecraft:herd": [
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_anenonme"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_black_tang"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_blue_dory"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_butterfly_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_cichlid"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_clownfish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_cc_betta"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_dog_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_e_red_snapper"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_goat_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_moorish_idol"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_ornate_butterfly"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_parrot_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_queen_angel_fish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_cichlid"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_lipped_benny"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_red_snapper"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_threadfin"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_tomato_clown"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_triggerfish"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_yellow_tang"
},
{
"min_size": 3,
"max_size": 5,
"event": "minecraft:become_yellow_tail_parrot"
}
],
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "lush_caves"
}
},
{
"minecraft:spawns_underground": {},
"minecraft:spawns_underwater": {},
"minecraft:distance_filter": {
"min": 12,
"max": 32
},
"minecraft:weight": {
"default": 25
},
"minecraft:density_limit": {
"surface": 20
},
"minecraft:herd": {
"min_size": 1,
"max_size": 3
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "lush_caves"
}
}
]
}
}

View File

@ -0,0 +1,438 @@
{
"tiers": [
{
"total_exp_required": 0,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:coal:0",
"quantity": 15,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 7,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_leggings",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 4,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_boots",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_helmet",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 9,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_chestplate",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 10,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:iron_ingot",
"quantity": 4,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 36,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:bell",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:chainmail_boots",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:chainmail_leggings",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 70,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:bucket:10",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:diamond",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:chainmail_helmet",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 4,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:chainmail_chestplate",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:shield",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 150,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 14,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_leggings",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 15,
"max_uses": 3,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 8,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_boots",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 15,
"max_uses": 3,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 250,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 8,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_helmet",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 30,
"max_uses": 3,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 16,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_chestplate",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 30,
"max_uses": 3,
"reward_exp": true
}
]
}
]
}
]
}

View File

@ -0,0 +1,277 @@
{
"tiers": [
{
"total_exp_required": 0,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:rotten_flesh",
"quantity": 32,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:redstone",
"quantity": 2
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 10,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:gold_ingot",
"quantity": 3,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:dye:4",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 70,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:rabbit_foot",
"quantity": 2,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 4,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:glowstone",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 150,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:turtle_shell_piece",
"quantity": 4,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:glass_bottle",
"quantity": 9,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:ender_pearl",
"quantity": 1
}
],
"trader_exp": 15,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 250,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:nether_wart",
"quantity": 22,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:experience_bottle",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
}
]
}
]
}

View File

@ -0,0 +1,344 @@
{
"format_version":"1.18.10",
"tiers": [
{
"total_exp_required": 0,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:string",
"quantity": 20,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:coal:0",
"quantity": 10,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:bucket:2",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 16,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.05
},
{
"item": "minecraft:fish",
"quantity": 6
}
],
"gives": [
{
"item": "minecraft:cooked_fish",
"quantity": 6
}
],
"trader_exp": 1,
"max_uses": 16,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 10,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:fish",
"quantity": 15,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 2,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:campfire",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1,
"price_multiplier": 0.05
},
{
"item": "minecraft:salmon",
"quantity": 6
}
],
"gives": [
{
"item": "minecraft:cooked_salmon",
"quantity": 6
}
],
"trader_exp": 5,
"max_uses": 16,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 70,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:salmon",
"quantity": 13,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:fishing_rod",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 10,
"max_uses": 3,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 150,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:clownfish",
"quantity": 6,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 250,
"groups": [
{
"trades": [
{
"wants": [
{
"item": "minecraft:pufferfish",
"quantity": 4,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
},
{
"wants": [
{
"choice" : [
{
"item": "minecraft:oak_boat",
"quantity": 1,
"price_multiplier": 0.05,
"biomes": [
"plains"
]
},
{
"item": "minecraft:spruce_boat",
"quantity": 1,
"price_multiplier": 0.05,
"biomes": [
"snow",
"taiga"
]
},
{
"item": "minecraft:jungle_boat",
"quantity": 1,
"price_multiplier": 0.05,
"biomes": [
"desert",
"jungle"
]
},
{
"item": "minecraft:acacia_boat",
"quantity": 1,
"price_multiplier": 0.05,
"biomes": [
"savannah"
]
},
{
"item": "minecraft:dark_oak_boat",
"quantity": 1,
"price_multiplier": 0.05,
"biomes": [
"swamp"
]
}
]
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
}
]
}
]
}

View File

@ -0,0 +1,267 @@
{
"tiers": [
{
"total_exp_required": 0,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:coal:0",
"quantity": 15,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_axe",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 2,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:iron_sword",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 5,
"max_uses": 3,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 10,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:iron_ingot",
"quantity": 4,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 36,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:bell",
"quantity": 1
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 70,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:flint",
"quantity": 24,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 150,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:diamond",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 12,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_axe",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 15,
"max_uses": 3,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 250,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 8,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:diamond_sword",
"quantity": 1,
"functions": [
{
"function": "enchant_with_levels",
"treasure": false,
"levels": {
"min": 5,
"max": 19
}
}
]
}
],
"trader_exp": 30,
"max_uses": 3,
"reward_exp": true
}
]
}
]
}
]
}