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,264 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:allay",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"pickup_item_delay": {
"minecraft:timer": {
"looping": false,
"time": 3,
"time_down_event": {
"event": "pickup_item_delay_complete"
}
}
},
"pickup_item": {
"minecraft:behavior.pickup_items": {
"priority": 2,
"max_dist": 32,
"search_height": 32,
"goal_radius": 2.2,
"speed_multiplier": 6,
"pickup_based_on_chance": false,
"can_pickup_any_item": false,
"can_pickup_to_hand_or_equipment": false,
"pickup_same_items_as_in_hand": true
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "allay", "mob" ]
},
"minecraft:collision_box": {
"width": 0.35,
"height": 0.6
},
"minecraft:balloonable": {
"mass": 0.5
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:nameable": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:health": {
"value": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:damage_sensor": {
"triggers": [
{
"on_damage": {
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_owner",
"subject": "other",
"value": true
}
]
}
},
"deals_damage": false
}
]
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:flying_speed": {
"value": 0.1
},
"minecraft:navigation.hover": {
"can_path_over_water": true,
"can_sink": false,
"can_pass_doors": false,
"can_path_from_air": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"avoid_sun": false
},
"minecraft:movement.hover": {},
"minecraft:follow_range": {
"value": 1024
},
"minecraft:ambient_sound_interval": {
"value": 5.0,
"range": 5.0,
"event_name": "ambient",
"event_names": [
{
"event_name": "ambient.tame",
"condition": "query.is_using_item"
},
{
"event_name": "ambient",
"condition": "!query.is_using_item"
}
]
},
"minecraft:jump.static": {},
"minecraft:can_fly": {},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:vibration_listener": {},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
},
"minecraft:inventory": {
"inventory_size": 1
},
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
}
},
"give_item": true,
"take_item": true,
"interact_text": "action.interact.allay"
}
]
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 2.0
},
"minecraft:behavior.go_and_give_items_to_noteblock": {
"priority": 3,
"run_speed": 8,
"throw_sound": "item_thrown",
"on_item_throw": [
{
"event": "pickup_item_delay",
"target": "self"
}
]
},
"minecraft:behavior.go_and_give_items_to_owner": {
"priority": 4,
"run_speed": 8,
"throw_sound": "item_thrown",
"on_item_throw": [
{
"event": "pickup_item_delay",
"target": "self"
}
]
},
"minecraft:behavior.stay_near_noteblock": {
"priority": 5,
"speed": 8,
"start_distance": 16,
"stop_distance": 4
},
"minecraft:behavior.follow_owner": {
"priority": 6,
"speed_multiplier": 8,
"start_distance": 16,
"stop_distance": 4,
"can_teleport": false,
"ignore_vibration": false
},
"minecraft:behavior.float": {
"priority": 7
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"target_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.random_hover": {
"priority": 9,
"xz_dist": 8,
"y_dist": 8,
"y_offset": -1,
"interval": 1,
"hover_height": [ 1, 4 ]
}
},
"events": {
"pickup_item_delay": {
"remove": {
"component_groups": [
"pickup_item"
]
},
"add": {
"component_groups": [
"pickup_item_delay"
]
}
},
"pickup_item_delay_complete": {
"remove": {
"component_groups": [
"pickup_item_delay"
]
},
"add": {
"component_groups": [
"pickup_item"
]
}
},
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"pickup_item"
]
}
}
}
}
}

View File

@ -0,0 +1,85 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:bat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "bat", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.9
},
"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.1
},
"minecraft:navigation.float": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.float_wander": {
"xz_dist": 10,
"y_dist": 7,
"y_offset": -2.0,
"random_reselect": true,
"float_duration": [ 0.1, 0.35 ]
},
"minecraft:can_fly": {
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:nameable": {
},
"minecraft:physics": {
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
}
},
"events": {
}
}
}

View File

@ -0,0 +1,855 @@
{
"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
"minecraft:mangrove_propagule"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 11, // This has to be lower priority than move to block goal so that bee seek shelter in rain instead of following parents
"speed_multiplier": 1.1
}
},
"bee_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:bee",
"baby_type": "minecraft:bee",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:0", // Sunflower
"minecraft:double_plant:1", // Lilac
"minecraft:double_plant:4", // Rose Bush
"minecraft:double_plant:5", // Peony
"minecraft:flowering_azalea", //Flowering Azalea
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
"minecraft:mangrove_propagule"
]
}
},
"track_attacker": {
"minecraft:behavior.hurt_by_target": {
"priority": 1
}
},
"angry_bee": {
"minecraft:angry": {
"duration": 25,
"broadcastAnger": true,
"broadcastRange": 20,
"broadcast_filters": {
"test": "is_family",
"operator": "!=",
"value": "pacified"
},
"calm_event": {
"event": "calmed_down",
"target": "self"
}
},
"minecraft:behavior.melee_attack": {
"priority": 2,
"attack_once": true,
"speed_multiplier": 1.4,
"on_attack": {
"event": "countdown_to_perish_event",
"target": "self"
}
}
},
"escape_fire": {
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [20,50],
"randomInterval": true,
"time_down_event": {
"event": "stop_panicking_after_fire",
"target": "self"
}
}
},
"countdown_to_perish": {
"minecraft:mark_variant": {
"value": 1
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25,
"force": true
},
"minecraft:timer": {
"looping": false,
"time": [10, 60],
"randomInterval": true,
"time_down_event": {
"event": "perish_event",
"target": "self"
}
},
"minecraft:type_family": {
"family": [ "bee", "mob", "arthropod", "pacified" ]
}
},
"perish": {
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "none",
"damage_per_tick": 999
}
]
}
},
"take_nearest_target": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 10
}
]
},
"minecraft:timer": {
"looping": true,
"time": 5,
"time_down_event": {
"event": "calmed_down",
"target": "self"
}
}
},
"look_for_food": {
"minecraft:behavior.move_to_block": {
"priority": 10,
"tick_interval": 1,
"start_chance": 0.5,
"search_range": 6,
"search_height": 4,
"goal_radius": 1.0,
"stay_duration": 20.0,
"target_selection_method": "random",
"target_offset": [0, 0.25, 0],
"target_block_filters": { "test": "is_waterlogged", "subject": "block", "operator": "==", "value": false },
"target_blocks": [
"minecraft:red_flower", // All small flowers except Dandelion
"minecraft:yellow_flower", // Dandelion
"minecraft:wither_rose",
"minecraft:double_plant:8", // Sunflower top
"minecraft:double_plant:9", // Lilac top
"minecraft:double_plant:12", // Rose Bush top
"minecraft:double_plant:13", // Peony top
"minecraft:flowering_azalea", //Flowering azalea
"minecraft:azalea_leaves_flowered", //Flowering Azalea leaves
"minecraft:mangrove_propagule"
],
"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:mangrove_propagule"
]
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 9
},
"minecraft:behavior.random_hover": {
"priority": 12,
"xz_dist": 8,
"y_dist": 8,
"y_offset": -1,
"interval": 1,
"hover_height": [1, 4]
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.5
},
"minecraft:behavior.float": {
"priority": 19
},
"minecraft:type_family": {
"family": [ "bee", "mob", "arthropod" ]
},
"minecraft:on_target_acquired": {
"event": "attacked",
"target": "self"
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:collision_box": {
"width": 0.55,
"height": 0.5
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
},
"minecraft:home": {
"restriction_radius": 22,
"home_block_list": [
"minecraft:bee_nest",
"minecraft:beehive"
]
},
"minecraft:follow_range": {
"value": 1024
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:flying_speed": {
"value": 0.15
},
"minecraft:navigation.hover": {
"can_path_over_water": true,
"can_sink": false,
"can_pass_doors": false,
"can_path_from_air": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"avoid_sun": false
},
"minecraft:movement.hover": {},
"minecraft:jump.static": {},
"minecraft:can_fly": {},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:nameable": {},
"minecraft:block_sensor": {
"sensor_radius": 16,
"sources" : [
{
"test": "has_silk_touch",
"subject": "other",
"value": false
}
],
"on_break": [
{
"block_list": [
"minecraft:beehive", "minecraft:bee_nest"
],
"on_block_broken": "hive_destroyed"
}
]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"bee_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"bee_baby"
]
}
}
]
},
{
"add": {
"component_groups": [
"track_attacker",
"shelter_detection",
"look_for_food"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"bee_baby",
"shelter_detection",
"track_attacker",
"look_for_food"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"bee_baby"
]
},
"add": {
"component_groups": [
"bee_adult"
]
}
},
"minecraft:exited_disturbed_hive": {
"add": {
"component_groups": [
"take_nearest_target"
]
},
"remove": {
"component_groups": [
"find_hive",
"return_to_home",
"has_nectar",
"abort_shelter_detection",
"shelter_detection",
"escape_fire"
]
}
},
"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,723 @@
{
"format_version": "1.18.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:cat_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.4
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "fish", "salmon" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
}
},
"minecraft:cat_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/cat.json"
},
"minecraft:scale": {
"value": 0.8
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": true,
"require_full_health": true,
"allow_sitting": true,
"breeds_with": {
"mate_type": "minecraft:cat",
"baby_type": "minecraft:cat",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "fish", "salmon" ]
}
},
"minecraft:cat_wild": {
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:tameable": {
"probability": 0.33,
"tame_items": [ "fish", "salmon" ],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.35, 0.0 ]
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"reselect_targets": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "rabbit"
},
"max_dist": 8
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 0.5,
"within_radius": 16,
"can_get_scared": true,
"items": [
"fish",
"salmon"
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 6,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 10,
"walk_speed_multiplier": 0.8,
"sprint_speed_multiplier": 1.33
}
]
},
"minecraft:behavior.move_towards_dwelling_restriction": {
"priority": 7
}
},
"minecraft:cat_tame": {
"minecraft:is_tamed": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:color": {
"value": 14
},
"minecraft:sittable": {
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 0.5,
"within_radius": 16,
"items": [
"fish",
"salmon"
]
},
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
},
"minecraft:behavior.follow_owner": {
"priority": 4,
"speed_multiplier": 1.0,
"start_distance": 10,
"stop_distance": 2
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.ocelot_sit_on_block": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.pet_sleep_with_owner": {
"priority": 2,
"speed_multiplier": 1.2,
"search_radius": 10,
"search_height": 10,
"goal_radius": 1.0
},
"minecraft:on_wake_with_owner": {
"event": "minecraft:pet_slept_with_owner",
"target": "self"
}
},
"minecraft:cat_gift_for_owner": {
"minecraft:behavior.drop_item_for": {
"priority": 1,
"seconds_before_pickup": 0.0,
"cooldown": 0.25,
"drop_item_chance": 0.7,
"offering_distance": 5.0,
"minimum_teleport_distance": 2.0,
"max_head_look_at_height": 10.0,
"target_range": [ 5.0, 5.0, 5.0 ],
"teleport_offset": [ 0.0, 1.0, 0.0],
"time_of_day_range": [ 0.74999, 0.80 ],
"speed_multiplier": 1.0,
"search_range": 5,
"search_height": 2,
"search_count": 0,
"goal_radius": 1.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 6
}
],
"loot_table": "loot_tables/entities/cat_gift.json",
"on_drop_attempt": {
"event": "minecraft:cat_gifted_owner",
"target": "self"
}
}
},
"minecraft:cat_white": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:cat_tuxedo": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:cat_red": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:cat_siamese": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:cat_british": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:cat_calico": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:cat_persian": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:cat_ragdoll": {
"minecraft:variant": {
"value": 7
}
},
"minecraft:cat_tabby": {
"minecraft:variant": {
"value": 8
}
},
"minecraft:cat_black": {
"minecraft:variant": {
"value": 9
}
},
"minecraft:cat_jellie": {
"minecraft:variant": {
"value": 10
}
}
},
"components": {
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.6
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:attack_damage": {
"value": 4
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "cat", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.7
},
"minecraft:healable": {
"items": [
{
"item": "fish",
"heal_amount": 2
},
{
"item": "salmon",
"heal_amount": 2
}
]
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_float": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "passive",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.leap_at_target": {
"priority": 3,
"target_dist": 0.3
},
"minecraft:behavior.ocelotattack": {
"priority": 4,
"cooldown_time": 1.0,
"x_max_rotation": 30.0,
"y_max_head_rotation": 30.0,
"max_distance": 15.0,
"max_sneak_range": 15.0,
"max_sprint_range": 4.0,
"reach_multiplier": 2.0,
"sneak_speed_multiplier": 0.6,
"sprint_speed_multiplier": 1.33,
"walk_speed_multiplier": 0.8
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_wild"
]
}
}
]
},
{
"randomize": [
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_white"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tuxedo"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_red"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_siamese"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_british"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_calico"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_persian"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_ragdoll"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tabby"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_black"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_jellie"
]
}
}
]
}
]
},
"minecraft:spawn_from_village": {
"sequence": [
{
"randomize": [
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_wild"
]
}
}
]
},
{
"randomize": [
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tuxedo"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_red"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_siamese"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_white"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_british"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_calico"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_persian"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_ragdoll"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_tabby"
]
}
},
{
"weight": 15,
"add": {
"component_groups": [
"minecraft:cat_jellie"
]
}
}
]
}
]
},
"minecraft:spawn_midnight_cat": {
"sequence": [
{
"add": {
"component_groups": [
"minecraft:cat_adult",
"minecraft:cat_wild",
"minecraft:cat_black"
]
}
}
]
},
"minecraft:entity_born": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"remove": {
},
"add": {
"component_groups": [
"minecraft:cat_baby",
"minecraft:cat_tame"
]
}
}
]
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:cat_baby"
]
},
"add": {
"component_groups": [
"minecraft:cat_adult"
]
}
},
"minecraft:on_tame": {
"sequence": [
{
"remove": {
"component_groups": [
"minecraft:cat_wild"
]
}
},
{
"add": {
"component_groups": [
"minecraft:cat_tame"
]
}
}
]
},
"minecraft:pet_slept_with_owner": {
"add": {
"component_groups": [
"minecraft:cat_gift_for_owner"
]
}
},
"minecraft:cat_gifted_owner": {
"remove": {
"component_groups": [
"minecraft:cat_gift_for_owner"
]
}
}
}
}
}

View File

@ -0,0 +1,249 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:chicken",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:chicken_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value":0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"wheat_seeds",
"beetroot_seeds",
"melon_seeds",
"pumpkin_seeds"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.1
}
},
"minecraft:chicken_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/chicken.json"
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:chicken",
"baby_type": "minecraft:chicken",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [
"wheat_seeds",
"beetroot_seeds",
"melon_seeds",
"pumpkin_seeds"
]
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.4, 0.0 ]
}
},
"minecraft:spawn_entity": {
"entities": {
"min_wait_time": 300,
"max_wait_time": 600,
"spawn_sound": "plop",
"spawn_item": "egg",
"filters": {
"test": "rider_count", "subject": "self", "operator": "==", "value": 0
}
}
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "chicken", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.8
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 4,
"max": 4
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.5
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.5
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 1.0,
"items": [
"wheat_seeds",
"beetroot_seeds",
"melon_seeds",
"pumpkin_seeds"
]
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
}
},
"events": {
"from_egg": {
"add": { "component_groups": [ "minecraft:chicken_baby" ] }
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "minecraft:spawn_adult"
},
{
"weight": 5,
"add": {
"component_groups": [
"minecraft:chicken_baby"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:chicken_baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:chicken_baby"
]
},
"add": {
"component_groups": [
"minecraft:chicken_adult"
]
}
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:chicken_adult"
]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,158 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ender_dragon",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"dragon_sitting": {
"minecraft:behavior.dragonlanding": {
"priority": 0
},
"minecraft:behavior.dragonflaming": {
"priority": 1
},
"minecraft:behavior.dragonscanning": {
"priority": 2
}
},
"dragon_flying": {
"minecraft:behavior.dragontakeoff": {
"priority": 0
},
"minecraft:behavior.dragonchargeplayer": {
"priority": 1
},
"minecraft:behavior.dragonstrafeplayer": {
"priority": 2
},
"minecraft:behavior.dragonholdingpattern": {
"priority": 3
},
"minecraft:shooter": {
"type": "dragonfireball",
"def": "minecraft:dragon_fireball"
}
},
"dragon_death": {
"minecraft:behavior.dragondeath": {
"priority": 0
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "dragon", "mob" ]
},
"minecraft:health": {
"value": 200,
"max": 200
},
"minecraft:boss": {
"should_darken_sky": false,
"hud_range": 125
},
"minecraft:collision_box": {
"width": 13,
"height": 4
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:fire_immune": true,
"minecraft:knockback_resistance": {
"value": 100,
"max": 100
},
"minecraft:flying_speed": {
"value": 0.6
},
"minecraft:attack": {
"damage": 3
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:on_start_landing": {
"event": "minecraft:start_land",
"target": "self"
},
"minecraft:on_start_takeoff": {
"event": "minecraft:start_fly",
"target": "self"
},
"minecraft:on_death": {
"event": "minecraft:start_death",
"target": "self"
},
"minecraft:persistent": {
},
"minecraft:physics": {
"has_gravity": false,
"has_collision": false
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
}
},
"events": {
"minecraft:entity_spawned": {
"remove": {
},
"add": {
"component_groups": [
"dragon_flying"
]
}
},
"minecraft:start_land": {
"remove": {
"component_groups": [
"dragon_flying"
]
},
"add": {
"component_groups": [
"dragon_sitting"
]
}
},
"minecraft:start_fly": {
"remove": {
"component_groups": [
"dragon_sitting"
]
},
"add": {
"component_groups": [
"dragon_flying"
]
}
},
"minecraft:start_death": {
"remove": {
"component_groups": [
"dragon_sitting",
"dragon_flying"
]
},
"add": {
"component_groups": [
"dragon_death"
]
}
}
}
}
}

View File

@ -0,0 +1,80 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:fireball",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"minecraft:exploding": {
"minecraft:explode": {
"fuse_length": 0,
"fuse_lit": true,
"power": 1,
"causes_fire": true,
"fire_affected_by_griefing": true,
"destroy_affected_by_griefing": true
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 6,
"knockback": false,
"semi_random_diff_damage": false
},
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
}
},
"power": 1.6,
"gravity": 0.00,
"inertia": 1,
"liquid_inertia": 1,
"uncertainty_base": 0,
"uncertainty_multiplier": 0,
"anchor": 1,
"offset": [ 0, -0.1, 0 ],
"reflect_on_hurt": true,
"catch_fire": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 7,
"use_motion_prediction_hints": true
}
}
},
"events": {
"minecraft:explode": {
"add": {
"component_groups": [
"minecraft:exploding"
]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,349 @@
{
"format_version": "1.19.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:parrot",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:parrot_red": {
"minecraft:variant": { "value": 0 }
},
"minecraft:parrot_blue": {
"minecraft:variant": { "value": 1 }
},
"minecraft:parrot_green": {
"minecraft:variant": { "value": 2 }
},
"minecraft:parrot_cyan": {
"minecraft:variant": { "value": 3 }
},
"minecraft:parrot_silver": {
"minecraft:variant": { "value": 4 }
},
"minecraft:parrot_adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/parrot.json"
}
},
"minecraft:parrot_wild": {
"minecraft:type_family": {
"family": [ "parrot_wild", "mob" ]
},
"minecraft:tameable": {
"probability": 0.33,
"tame_items": [
"wheat_seeds",
"pumpkin_seeds",
"melon_seeds",
"beetroot_seeds"
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
},
"minecraft:behavior.random_fly": {
"priority": 2,
"xz_dist": 15,
"y_dist": 1,
"y_offset": 0,
"speed_multiplier": 1.0,
"can_land_on_trees": true,
"avoid_damage_blocks": true
},
"minecraft:behavior.follow_mob": {
"priority": 3,
"speed_multiplier": 1.0,
"stop_distance": 3,
"search_range": 20
}
},
"minecraft:parrot_tame": {
"minecraft:type_family": {
"family": [ "parrot_tame", "mob" ]
},
"minecraft:is_tamed": {
},
"minecraft:behavior.follow_owner": {
"priority": 2,
"speed_multiplier": 1.0,
"start_distance": 5,
"stop_distance": 1
},
"minecraft:sittable": {
},
"minecraft:behavior.stay_while_sitting": {
"priority": 1
},
"minecraft:behavior.find_mount": {
"priority": 3,
"within_radius": 16,
"avoid_water": true,
"start_delay": 100,
"target_needed": false,
"mount_distance": 2.0
}
},
"minecraft:parrot_not_riding_player": {
"minecraft:entity_sensor": {
"sensor_range": 2.0,
"relative_range": false,
"event_filters": {
"all_of": [
{
"test": "is_riding",
"subject": "self",
"operator": "equals",
"value": true
},
{
"test": "has_component",
"subject": "self",
"operator": "equals",
"value": "minecraft:behavior.look_at_player"
}
]
},
"event": "minecraft:on_riding_player"
},
"minecraft:behavior.look_at_player": {
"priority": 1,
"look_distance": 8.0
}
},
"minecraft:parrot_riding_player": {
"minecraft:entity_sensor": {
"sensor_range": 2.0,
"relative_range": false,
"event_filters": {
"all_of": [
{
"test": "is_riding",
"subject": "self",
"operator": "equals",
"value": false
},
{
"test": "has_component",
"subject": "self",
"operator": "not",
"value": "minecraft:behavior.look_at_player"
}
]
},
"event": "minecraft:on_not_riding_player"
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.5,
"height": 1
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.4
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:jump.static": {
},
"minecraft:can_fly": {
},
"minecraft:navigation.fly": {
"can_path_over_water": true,
"can_path_from_air": true
},
"minecraft:movement.fly": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 0,
"speed_multiplier": 1.25
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
},
"minecraft:healable": {
"force_use": true,
"filters": {
"test": "is_riding",
"operator": "!=",
"value": true
},
"items": [
{
"item": "cookie",
"heal_amount": 0,
"effects": [
{
"name": "fatal_poison",
"chance": 1.0,
"duration": 1000,
"amplifier": 0
}
]
}
]
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_red",
"minecraft:parrot_adult",
"minecraft:parrot_wild",
"minecraft:parrot_not_riding_player"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_blue",
"minecraft:parrot_adult",
"minecraft:parrot_wild",
"minecraft:parrot_not_riding_player"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_green",
"minecraft:parrot_adult",
"minecraft:parrot_wild",
"minecraft:parrot_not_riding_player"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_cyan",
"minecraft:parrot_adult",
"minecraft:parrot_wild",
"minecraft:parrot_not_riding_player"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:parrot_silver",
"minecraft:parrot_adult",
"minecraft:parrot_wild",
"minecraft:parrot_not_riding_player"
]
}
}
]
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:parrot_wild"
]
},
"add": {
"component_groups": [
"minecraft:parrot_tame"
]
}
},
"minecraft:on_riding_player": {
"remove": {
"component_groups": [
"minecraft:parrot_not_riding_player"
]
},
"add": {
"component_groups": [
"minecraft:parrot_riding_player"
]
}
},
"minecraft:on_not_riding_player": {
"remove": {
"component_groups": [
"minecraft:parrot_riding_player"
]
},
"add": {
"component_groups": [
"minecraft:parrot_not_riding_player"
]
}
}
}
}
}

View File

@ -0,0 +1,134 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:phantom",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "phantom", "undead", "monster", "mob" ]
},
"minecraft:loot": {
"table": "loot_tables/entities/phantom.json"
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:game_event_movement_tracking": {
"emit_flap": true
},
"minecraft:attack": {
"damage": 6
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": false
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.5
},
"minecraft:movement": {
"value": 1.8
},
"minecraft:movement.glide": {
"start_speed": 0.1,
"speed_when_turning": 0.2
},
"minecraft:burns_in_daylight": {
},
"minecraft:follow_range": {
"value": 64,
"max": 64
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.avoid_mob_type": {
"priority": 0,
"max_dist": 16.0,
"ignore_visibility": true,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "ocelot" },
{ "test": "is_family", "subject": "other", "value": "cat" }
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"reselect_targets": true,
"scan_interval": 20,
"within_radius": 64.0,
"must_see_forget_duration": 0.5,
"target_search_height": 80.0,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 64
}
]
},
"minecraft:behavior.swoop_attack": {
"priority": 2,
"damage_reach": 0.2,
"speed_multiplier": 1.0,
"delay_range": [ 10.0, 20.0 ]
},
"minecraft:behavior.circle_around_anchor": {
"priority": 3,
"radius_change": 1.0,
"radius_adjustment_chance": 0.004,
"height_adjustment_chance": 0.002857,
"goal_radius": 1.0,
"angle_change": 15.0,
"radius_range": [ 5.0, 15.0 ],
"height_offset_range": [ -4.0, 5.0 ],
"height_above_target_range": [ 20.0, 40.0 ]
}
}
}
}

View File

@ -0,0 +1,324 @@
{
"format_version": "1.18.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pig",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:pig_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "carrot", "beetroot", "potato" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1.1
}
},
"minecraft:pig_transform": {
"minecraft:transformation": {
"into": "minecraft:pig_zombie",
"delay": 0.5
}
},
"minecraft:pig_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/pig.json"
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:pig",
"baby_type": "minecraft:pig",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "carrot", "beetroot", "potato" ]
}
},
"minecraft:pig_unsaddled": {
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
"event": "minecraft:on_saddled"
},
"use_item": true,
"play_sounds": "saddle",
"interact_text": "action.interact.saddle"
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.63, 0.0 ]
}
}
},
"minecraft:pig_saddled": {
"minecraft:is_saddled": {
},
"minecraft:loot": {
"table": "loot_tables/entities/pig_saddled.json"
},
"minecraft:boostable": {
"speed_multiplier": 2.0,
"duration": 3.0,
"boost_items": [
{
"item": "carrotOnAStick",
"damage": 2,
"replace_item": "fishing_rod"
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"interact_text": "action.interact.ride.horse",
"family_types": [
"player"
],
"seats": {
"position": [ 0.0, 0.63, 0.0 ]
}
},
"minecraft:item_controllable": {
"control_items": "carrotOnAStick"
},
"minecraft:behavior.controlled_by_player": {
"priority": 0
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": [
{
"test": "is_family",
"subject": "other",
"value": "lightning"
},
{
"test": "is_difficulty",
"operator": "!=",
"value": "peaceful"
}
],
"event": "become_zombie"
},
"deals_damage": false
}
},
"minecraft:type_family": {
"family": [ "pig", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.9
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.float": {
"priority": 2
},
"minecraft:behavior.panic": {
"priority": 3,
"speed_multiplier": 1.25
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"potato",
"carrot",
"beetroot",
"carrotOnAStick"
]
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"become_zombie": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_transform"
]
}
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "minecraft:spawn_adult"
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_baby"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:pig_baby"
]
},
"add": {
"component_groups": [
"minecraft:pig_adult",
"minecraft:pig_unsaddled"
]
}
},
"minecraft:on_saddled": {
"remove": {
"component_groups": [
"minecraft:pig_unsaddled"
]
},
"add": {
"component_groups": [
"minecraft:pig_saddled"
]
}
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:pig_adult",
"minecraft:pig_unsaddled"
]
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,230 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:warden",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"emerging": {
"minecraft:behavior.emerge": {
"duration": 7.0,
"on_done": {
"event": "minecraft:emerged",
"target": "self"
}
}
},
"pushable": {
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
},
"components": {
"minecraft:movement_sound_distance_offset": {
"value": 0.55
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:attack": {
"damage": 30
},
"minecraft:vibration_listener": {},
"minecraft:vibration_damper": {},
"minecraft:suspect_tracking": {},
"minecraft:anger_level": {
"max_anger": 150,
"angry_threshold": 80,
"remove_targets_below_angry_threshold": true,
"angry_boost": 20,
"anger_decrement_interval": 1.0,
"default_annoyingness": 35,
"default_projectile_annoyingness": 10,
"on_increase_sounds": [
{ "sound": "listening_angry", "condition" : "query.anger_level(this) >= 40" },
{ "sound": "listening", "condition" : "query.anger_level(this) >= 0" }
],
"nuisance_filter": {
"all_of": [
{ "test": "is_family", "subject": "other", "operator": "not", "value": "warden" },
{ "test": "is_family", "subject": "other", "operator": "not", "value": "inanimate" }
]
}
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [
"warden",
"monster",
"mob"
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_path_over_lava": true,
"avoid_damage_blocks": true
},
"minecraft:preferred_path": {
"max_fall_blocks": 20
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient",
"event_names": [
{
"event_name" : "angry",
"condition" : "query.anger_level(this) >= 80"
},
{
"event_name" : "agitated",
"condition" : "query.anger_level(this) >= 40"
}
]
},
"minecraft:heartbeat": {
"interval": "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)"
},
"minecraft:movement.basic": {},
"minecraft:jump.static": {},
"minecraft:can_climb": {},
"minecraft:collision_box": {
"width": 0.9,
"height": 2.9
},
"minecraft:health": {
"value": 500,
"max": 500
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.dig": {
"priority": 1,
"duration": 5.5,
"idle_time": 60.0,
"vibration_is_disturbance": true,
"suspicion_is_disturbance": true,
"digs_in_daylight": false,
"on_start": {
"event": "on_digging_event",
"target": "self"
}
},
"minecraft:behavior.roar": {
"priority": 2,
"duration": 4.2
},
"minecraft:behavior.sonic_boom": {
"priority": 3,
"duration": 3.0,
"speed_multiplier": 1.2,
"attack_damage": 10,
"attack_range_horizontal": 15,
"attack_range_vertical": 20,
"attack_cooldown": 2,
"knockback_vertical_strength": 0.5,
"knockback_horizontal_strength": 2.5,
"knockback_height_cap": 0.5,
"duration_until_attack_sound": 1.7,
"charge_sound": "sonic_charge",
"attack_sound": "sonic_boom"
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.2,
"melee_fov": 360
},
"minecraft:behavior.investigate_suspicious_location": {
"priority": 5,
"speed_multiplier": 0.7
},
"minecraft:behavior.sniff": {
"priority": 6,
"duration": 4.16,
"sniffing_radius": 24.0,
"suspicion_radius_horizontal" : 6.0,
"suspicion_radius_vertical": 20.0,
"cooldown_range": [ 5.0, 10.0 ]
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"speed_multiplier": 0.5
},
"minecraft:behavior.random_look_around": {
"priority": 11
},
"minecraft:physics": {},
"minecraft:mob_effect": {
"effect_range": 20,
"effect_time": 13,
"mob_effect": "darkness",
"cooldown_time": 6,
"entity_filter": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "operator": "not", "test": "has_ability", "subject" : "other", "value" : "invulnerable" }
]
}
},
"minecraft:follow_range": 30,
"minecraft:fire_immune": {},
"minecraft:nameable": {},
"minecraft:loot": {
"table": "loot_tables/entities/warden.json"
}
},
"events": {
"minecraft:spawn_emerging": {
"add": {
"component_groups": [
"emerging"
]
}
},
"minecraft:emerged": {
"add": {
"component_groups": [
"pushable"
]
},
"remove": {
"component_groups": [
"emerging"
]
}
},
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"pushable"
]
}
},
"on_digging_event": {
"remove": {
"component_groups": [
"pushable"
]
}
}
}
}
}

View File

@ -0,0 +1,534 @@
{
"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"
}
}
},
"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:balloonable": {
"mass": 0.8
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "wolf", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.8
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 3
},
"minecraft:healable": {
"items": [
{
"item": "porkchop",
"heal_amount": 3
},
{
"item": "cooked_porkchop",
"heal_amount": 8
},
{
"item": "fish",
"heal_amount": 2
},
{
"item": "salmon",
"heal_amount": 2
},
{
"item": "clownfish",
"heal_amount": 1
},
{
"item": "pufferfish",
"heal_amount": 1
},
{
"item": "cooked_fish",
"heal_amount": 5
},
{
"item": "cooked_salmon",
"heal_amount": 6
},
{
"item": "beef",
"heal_amount": 3
},
{
"item": "cooked_beef",
"heal_amount": 8
},
{
"item": "chicken",
"heal_amount": 2
},
{
"item": "cooked_chicken",
"heal_amount": 6
},
{
"item": "muttonRaw",
"heal_amount": 2
},
{
"item": "muttonCooked",
"heal_amount": 6
},
{
"item": "rotten_flesh",
"heal_amount": 4
},
{
"item": "rabbit",
"heal_amount": 3
},
{
"item": "cooked_rabbit",
"heal_amount": 5
},
{
"item": "rabbit_stew",
"heal_amount": 10
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
},
"minecraft:behavior.stay_while_sitting": {
"priority": 3
},
"minecraft:behavior.leap_at_target": {
"priority": 4,
"target_dist": 0.4
},
"minecraft:behavior.melee_attack": {
"priority": 5
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"target_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.beg": {
"priority": 9,
"look_distance": 8,
"look_time": [ 2, 4 ],
"items": [ "bone", "porkchop", "cooked_porkchop", "chicken", "cooked_chicken",
"beef", "cooked_beef", "rotten_flesh", "muttonraw", "muttoncooked", "rabbit", "cooked_rabbit" ]
},
"minecraft:behavior.hurt_by_target": {
"priority": 3
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 9,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_adult",
"minecraft:wolf_wild"
]
}
},
{
"weight": 1,
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_wild"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:wolf_baby",
"minecraft:wolf_tame"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:wolf_baby"
]
},
"add": {
"component_groups": [
"minecraft:wolf_adult"
]
}
},
"minecraft:ageable_set_baby": {
"remove": {
"component_groups": [
"minecraft:wolf_adult"
]
},
"add": {
"component_groups": [
"minecraft:wolf_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_tame"
]
}
},
"minecraft:become_angry": {
"remove": {
"component_groups": [
"minecraft:wolf_wild"
]
},
"add": {
"component_groups": [
"minecraft:wolf_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:wolf_angry"
]
},
"add": {
"component_groups": [
"minecraft:wolf_wild"
]
}
}
}
}
}

View File

@ -0,0 +1,613 @@
{
"format_version": "1.17.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zombie",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:look_to_start_drowned_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": true
},
"event": "minecraft:start_transforming"
}
}
},
"minecraft:start_drowned_transformation": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater", "subject": "self", "operator": "==", "value": false
},
"event": "minecraft:stop_transforming"
}
},
"minecraft:timer": {
"looping": false,
"time": 30,
"time_down_event": {
"event": "minecraft:convert_to_drowned"
}
}
},
"minecraft:convert_to_drowned": {
"minecraft:transformation": {
"into": "minecraft:drowned<minecraft:as_adult>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:convert_to_baby_drowned": {
"minecraft:transformation": {
"into": "minecraft:drowned<minecraft:as_baby>",
"transformation_sound": "convert_to_drowned",
"drop_equipment": true,
"delay": {
"value": 15
}
},
"minecraft:is_shaking": {
}
},
"minecraft:zombie_baby": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:is_baby": {},
"minecraft:scale": {
"value": 0.5
},
"minecraft:movement": {
"value": 0.35
}
},
"minecraft:zombie_adult": {
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.1, -0.35 ],
"lock_rider_rotation": 0
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"minecraft:zombie_jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16,
"start_delay": 15,
"max_failed_attempts": 20
}
},
"minecraft:can_have_equipment": {
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_equipment.json"
}
},
"minecraft:can_break_doors": {
"minecraft:annotation.break_door": {
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
// Zombie Components
"minecraft:type_family": {
"family": [ "zombie", "undead", "monster", "mob" ]
},
"minecraft:equip_item": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:burns_in_daylight": {
},
"minecraft:movement.basic": {
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_walk": true,
"can_break_doors": true
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": true
},
"minecraft:attack": {
"damage": 3
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft: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: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:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"operator": "==",
"value": true
},
"event": "minecraft:start_transforming"
}
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
// Zombie Behaviors
"minecraft:behavior.equip_item": {
"priority": 2
},
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.pickup_items": {
"priority": 6,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 1.0,
"pickup_based_on_chance": true,
"can_pickup_any_item": true,
"excluded_items": [
"minecraft:glow_ink_sac"
]
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"within_radius": 25.0,
"must_see_forget_duration": 17.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" }
]
},
"max_dist": 35
},
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 35,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 380,
"remove": {},
"add": {
"component_groups": [
"minecraft:zombie_adult",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 17,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:zombie_jockey",
"minecraft:can_have_equipment"
]
}
}
]
},
{
"randomize": [
{
"weight": 10,
"add": {
"component_groups": [ "minecraft:can_break_doors" ]
}
},
{
"weight": 90
}
]
}
]
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:zombie_adult"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:zombie_baby"
]
}
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_drowned_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_drowned_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
}
},
"minecraft:convert_to_drowned": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
}
]
}
}
}
}

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
{
"format_version": "1.16.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:sculk_vein_feature",
"places_feature": "minecraft:sculk_vein_feature"
},
"conditions": {
"placement_pass": "after_underground_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "deep_dark"
}
]
},
"distribution": {
"iterations": "Math.Random(204, 250)",
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": {
"distribution": "uniform",
"extent": [ -64, 256 ]
},
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,85 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:azalea_tree_feature"
},
"acacia_trunk": {
"trunk_width": 1,
"trunk_height": {
"base": 4,
"intervals": [ 2 ],
"min_height_for_canopy": 3
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "oak"
}
},
"trunk_lean": {
"allow_diagonal_growth": true,
"lean_height": {
"range_min": 2,
"range_max": 3
},
"lean_steps": {
"range_min": 3,
"range_max": 4
},
"lean_length": {
"range_min": 1,
"range_max": 2
}
}
},
"random_spread_canopy": {
"canopy_height": 2,
"canopy_radius": 3,
"leaf_placement_attempts": 50,
"leaf_blocks": [
["minecraft:azalea_leaves", 3],
["minecraft:azalea_leaves_flowered", 1]
]
},
"base_block": [
"minecraft:dirt_with_roots"
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt",
"minecraft:farmland",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:clay",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots"
],
"may_replace": [
"minecraft:leaves",
"minecraft:leaves2",
"minecraft:azalea",
"minecraft:flowering_azalea",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
"minecraft:mangrove_leaves",
"minecraft:water",
"minecraft:flowing_water",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:grass",
"minecraft:air",
"minecraft:double_plant"
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:double_plant"
]
}
}

View File

@ -0,0 +1,176 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:birch_tree_feature"
},
"trunk": {
"trunk_height": {
"range_min": 5,
"range_max": 8
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "birch"
}
}
},
"canopy": {
"canopy_offset": {
"min": -3,
"max": 0
},
"variation_chance": [
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 1
}
],
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,162 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:fancy_oak_tree_feature"
},
"fancy_trunk": {
"trunk_height": {
"base": 5,
"variance": 12,
"scale": 0.618
},
"trunk_width": 1,
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "oak"
}
},
"branches": {
"slope": 0.381,
"density": 1.0,
"min_altitude_factor": 0.2
},
"width_scale": 1.0,
"foliage_altitude_factor": 0.3
},
"fancy_canopy": {
"height": 4,
"radius": 3,
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,140 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:mangrove_tree_feature"
},
"mangrove_roots": {
"max_root_width": 8,
"max_root_length": 15,
"y_offset": {
"range_min": 1,
"range_max": 4
},
"root_block": {
"name": "minecraft:mangrove_roots"
},
"muddy_root_block": {
"name": "minecraft:muddy_mangrove_roots"
},
"mud_block": {
"name": "minecraft:mud"
},
"above_root": {
"above_root_block": "minecraft:moss_carpet",
"above_root_chance": {
"numerator": 1,
"denominator": 2
}
},
"roots_may_grow_through": [
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
"minecraft:mangrove_roots",
"minecraft:moss_carpet",
"minecraft:vine",
"minecraft:mangrove_propagule",
"minecraft:snow_layer"
]
},
"mangrove_trunk": {
"trunk_width": 1,
"trunk_height": {
"base": 2,
"height_rand_a": 1,
"height_rand_b": 4
},
"trunk_block": {
"name": "minecraft:mangrove_log"
},
"branches": {
"branch_chance": 100.0,
"branch_length": {
"range_min": 0,
"range_max": 1
},
"branch_steps": {
"range_min": 1,
"range_max": 4
}
}
},
"mangrove_canopy": {
"canopy_height": 2,
"canopy_radius": 3,
"leaf_placement_attempts": 70,
"leaf_blocks": [
["minecraft:mangrove_leaves", 1]
],
"canopy_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": {
"numerator": 1,
"denominator": 4
},
"num_steps": 4,
"step_direction": "down"
},
"hanging_block": {
"name": "minecraft:mangrove_propagule",
"states": {
"hanging": true
}
},
"hanging_block_placement_chance": {
"numerator": 1,
"denominator": 4
}
},
"base_block": "minecraft:mud",
"may_replace": [
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
"minecraft:water",
"minecraft:flowing_water",
"minecraft:air",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
"minecraft:vine",
"minecraft:moss_carpet",
"minecraft:mangrove_propagule",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
]
}
}

View File

@ -0,0 +1,136 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:mega_jungle_tree_feature"
},
"mega_trunk": {
"trunk_width": 2,
"trunk_height": {
"base": 10,
"intervals": [ 3, 20 ]
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "jungle"
}
},
"trunk_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": {
"numerator": 1,
"denominator": 3
}
},
"branches": {
"branch_length": 5,
"branch_slope": 0.5,
"branch_interval": {
"range_min": 2,
"range_max": 6
},
"branch_altitude_factor": {
"min": 0.5,
"max": 1.0
},
"branch_canopy": {
"mega_canopy": {
"canopy_height": {
"range_min": 2,
"range_max": 4
},
"base_radius": 1,
"simplify_canopy": true,
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
}
}
}
}
},
"mega_canopy": {
"canopy_height": 3,
"base_radius": 2,
"core_width": 2,
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
}
},
"base_block": "minecraft:dirt",
"may_grow_on": [
"minecraft:grass",
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,124 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:mega_spruce_tree_feature"
},
"mega_trunk": {
"trunk_width": 2,
"trunk_height": {
"base": 13,
"intervals": [ 3, 15 ]
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "spruce"
}
}
},
"mega_pine_canopy": {
"canopy_height": {
"range_min": 13,
"range_max": 18
},
"base_radius": 0,
"radius_step_modifier": 3.5,
"core_width": 2,
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
}
},
"base_block": "minecraft:podzol",
"base_cluster": {
"may_replace": [
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "normal"
}
},
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"num_clusters": 5,
"cluster_radius": 2
},
"may_grow_on": [
"minecraft:grass",
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,176 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:oak_tree_feature"
},
"trunk": {
"trunk_height": {
"range_min": 4,
"range_max": 7
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "oak"
}
}
},
"canopy": {
"canopy_offset": {
"min": -3,
"max": 0
},
"variation_chance": [
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 1
}
],
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,180 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:oak_tree_with_vines_feature"
},
"trunk": {
"trunk_height": {
"range_min": 4,
"range_max": 7
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "oak"
}
},
"trunk_decoration": {
"decoration_chance": 100.0,
"decoration_block": "minecraft:vine"
}
},
"canopy": {
"canopy_offset": {
"min": -3,
"max": 0
},
"variation_chance": [
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 1
}
],
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,193 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:roofed_tree_feature"
},
"acacia_trunk": {
"trunk_width": 2,
"trunk_height": {
"base": 6,
"intervals": [ 3, 2 ]
},
"trunk_block": {
"name": "minecraft:log2",
"states": {
"new_log_type": "dark_oak"
}
},
"trunk_lean": {
"allow_diagonal_growth": false,
"lean_height": {
"range_min": 0,
"range_max": 4
},
"lean_steps": {
"range_min": 0,
"range_max": 3
}
},
"branches": {
"branch_chance": {
"numerator": 1,
"denominator": 3
},
"branch_length": {
"range_min": 2,
"range_max": 5
},
"branch_position": 1,
"branch_canopy": {
"acacia_canopy": {
"canopy_size": 2,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
},
"simplify_canopy": true
}
}
}
},
"roofed_canopy": {
"canopy_height": 4,
"core_width": 2,
"outer_radius": 2,
"inner_radius": 3,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,200 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:roofed_tree_with_vines_feature"
},
"acacia_trunk": {
"trunk_width": 2,
"trunk_height": {
"base": 6,
"intervals": [ 3, 2 ]
},
"trunk_block": {
"name": "minecraft:log2",
"states": {
"new_log_type": "dark_oak"
}
},
"trunk_lean": {
"allow_diagonal_growth": false,
"lean_height": {
"range_min": 0,
"range_max": 4
},
"lean_steps": {
"range_min": 0,
"range_max": 3
}
},
"trunk_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": {
"numerator": 6,
"denominator": 7
}
},
"branches": {
"branch_chance": {
"numerator": 1,
"denominator": 3
},
"branch_length": {
"range_min": 2,
"range_max": 5
},
"branch_position": 1,
"branch_canopy": {
"acacia_canopy": {
"canopy_size": 2,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
},
"simplify_canopy": true
}
}
}
},
"roofed_canopy": {
"canopy_height": 4,
"core_width": 2,
"outer_radius": 2,
"inner_radius": 3,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,188 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:savanna_tree_feature"
},
"acacia_trunk": {
"trunk_width": 1,
"trunk_height": {
"base": 5,
"intervals": [ 3, 3 ]
},
"trunk_block": {
"name": "minecraft:log2",
"states": {
"new_log_type": "acacia"
}
},
"trunk_lean": {
"allow_diagonal_growth": true,
"lean_height": {
"range_min": 1,
"range_max": 5
},
"lean_steps": {
"range_min": 1,
"range_max": 4
}
},
"branches": {
"branch_chance": 100.0,
"branch_length": {
"range_min": 1,
"range_max": 4
},
"branch_position": {
"range_min": 1,
"range_max": 3
},
"branch_canopy": {
"acacia_canopy": {
"canopy_size": 2,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
"simplify_canopy": true
}
}
}
},
"acacia_canopy": {
"canopy_size": 3,
"leaf_block": {
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,26 @@
{
"format_version": "1.16.0",
"minecraft:sculk_patch_feature": {
"description": {
"identifier": "minecraft:sculk_patch_feature"
},
"can_place_sculk_patch_on": [
"minecraft:stone",
"minecraft:deepslate",
"minecraft:cobbled_deepslate",
"minecraft:deepslate_tiles",
"minecraft:cracked_deepslate_tiles",
"minecraft:deepslate_bricks",
"minecraft:cracked_deepslate_bricks",
"minecraft:tuff",
"minecraft:planks"
],
"central_block": "minecraft:sculk_catalyst",
"central_block_placement_chance": 0.5,
"cursor_count": 10,
"charge_amount": 32,
"spread_attempts": 64,
"growth_rounds": 0,
"spread_rounds": 1
}
}

View File

@ -0,0 +1,30 @@
{
"format_version": "1.16.0",
"minecraft:sculk_patch_feature": {
"description": {
"identifier": "minecraft:sculk_patch_feature_ancient_city"
},
"can_place_sculk_patch_on": [
"minecraft:stone",
"minecraft:deepslate",
"minecraft:cobbled_deepslate",
"minecraft:deepslate_tiles",
"minecraft:cracked_deepslate_tiles",
"minecraft:deepslate_bricks",
"minecraft:cracked_deepslate_bricks",
"minecraft:tuff",
"minecraft:planks"
],
"central_block": "minecraft:sculk_catalyst",
"central_block_placement_chance": 0.5,
"cursor_count": 10,
"charge_amount": 32,
"spread_attempts": 64,
"growth_rounds": 0,
"spread_rounds": 1,
"extra_growth_chance": {
"range_min": 1,
"range_max": 3
}
}
}

View File

@ -0,0 +1,25 @@
{
"format_version": "1.16.0",
"minecraft:multiface_feature": {
"description": {
"identifier": "minecraft:sculk_vein_feature"
},
"search_range": 20,
"places_block": "minecraft:sculk_vein",
"can_place_on_floor": true,
"can_place_on_ceiling": true,
"can_place_on_wall": true,
"chance_of_spreading": 1.0,
"can_place_on": [
"minecraft:stone",
"minecraft:deepslate",
"minecraft:cobbled_deepslate",
"minecraft:deepslate_tiles",
"minecraft:cracked_deepslate_tiles",
"minecraft:deepslate_bricks",
"minecraft:cracked_deepslate_bricks",
"minecraft:tuff",
"minecraft:planks"
]
}
}

View File

@ -0,0 +1,169 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:spruce_tree_feature"
},
"trunk": {
"trunk_height": {
"range_min": 6,
"range_max": 10
},
"height_modifier": {
"range_min": -2,
"range_max": 1
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "spruce"
}
}
},
"spruce_canopy": {
"lower_offset": {
"range_min": 1,
"range_max": 3
},
"upper_offset": {
"range_min": 0,
"range_max": 3
},
"max_radius": {
"range_min": 2,
"range_max": 4
},
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,173 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:spruce_tree_with_vines_feature"
},
"trunk": {
"trunk_height": {
"range_min": 6,
"range_max": 10
},
"height_modifier": {
"range_min": -2,
"range_max": 1
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "spruce"
}
},
"trunk_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": 100.0
}
},
"spruce_canopy": {
"lower_offset": {
"range_min": 1,
"range_max": 3
},
"upper_offset": {
"range_min": 0,
"range_max": 3
},
"max_radius": {
"range_min": 2,
"range_max": 4
},
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,140 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:tall_mangrove_tree_feature"
},
"mangrove_roots": {
"max_root_width": 8,
"max_root_length": 15,
"y_offset": {
"range_min": 5,
"range_max": 8
},
"root_block": {
"name": "minecraft:mangrove_roots"
},
"muddy_root_block": {
"name": "minecraft:muddy_mangrove_roots"
},
"mud_block": {
"name": "minecraft:mud"
},
"above_root": {
"above_root_block": "minecraft:moss_carpet",
"above_root_chance": {
"numerator": 1,
"denominator": 2
}
},
"roots_may_grow_through": [
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
"minecraft:mangrove_roots",
"minecraft:moss_carpet",
"minecraft:vine",
"minecraft:mangrove_propagule",
"minecraft:snow_layer"
]
},
"mangrove_trunk": {
"trunk_width": 1,
"trunk_height": {
"base": 4,
"height_rand_a": 1,
"height_rand_b": 9
},
"trunk_block": {
"name": "minecraft:mangrove_log"
},
"branches": {
"branch_chance": 100.0,
"branch_length": {
"range_min": 0,
"range_max": 1
},
"branch_steps": {
"range_min": 1,
"range_max": 6
}
}
},
"mangrove_canopy": {
"canopy_height": 2,
"canopy_radius": 3,
"leaf_placement_attempts": 70,
"leaf_blocks": [
["minecraft:mangrove_leaves", 1]
],
"canopy_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": {
"numerator": 1,
"denominator": 4
},
"num_steps": 4,
"step_direction": "down"
},
"hanging_block": {
"name": "minecraft:mangrove_propagule",
"states": {
"hanging": true
}
},
"hanging_block_placement_chance": {
"numerator": 1,
"denominator": 7
}
},
"base_block": "minecraft:mud",
"may_replace": [
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
"minecraft:water",
"minecraft:flowing_water",
"minecraft:air",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
"minecraft:vine",
"minecraft:moss_carpet",
"minecraft:mangrove_propagule",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
]
}
}

View File

@ -0,0 +1,176 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:undecorated_jungle_tree_feature"
},
"trunk": {
"trunk_height": {
"range_min": 4,
"range_max": 11
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "jungle"
}
}
},
"canopy": {
"canopy_offset": {
"min": -3,
"max": 0
},
"variation_chance": [
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 1
}
],
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

View File

@ -0,0 +1,180 @@
{
"format_version": "1.13.0",
"minecraft:tree_feature": {
"description": {
"identifier": "minecraft:undecorated_jungle_tree_with_vines_feature"
},
"trunk": {
"trunk_height": {
"range_min": 4,
"range_max": 11
},
"trunk_block": {
"name": "minecraft:log",
"states": {
"old_log_type": "jungle"
}
},
"trunk_decoration": {
"decoration_block": "minecraft:vine",
"decoration_chance": 100.0
}
},
"canopy": {
"canopy_offset": {
"min": -3,
"max": 0
},
"variation_chance": [
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 2
},
{
"numerator": 1,
"denominator": 1
}
],
"leaf_block": {
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
}
},
"base_block": [
"minecraft:dirt",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
],
"may_grow_on": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:moss_block",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots",
// Block aliases sure would be sweet
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 0
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 1
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 2
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 3
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 4
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 5
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 6
}
},
{
"name": "minecraft:farmland",
"states": {
"moisturized_amount": 7
}
}
],
"may_replace": [
"minecraft:air",
"minecraft:mangrove_leaves",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "oak"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "spruce"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "birch"
}
},
{
"name": "minecraft:leaves",
"states": {
"old_leaf_type": "jungle"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "acacia"
}
},
{
"name": "minecraft:leaves2",
"states": {
"new_leaf_type": "dark_oak"
}
}
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
{
"name": "minecraft:dirt",
"states": {
"dirt_type": "coarse"
}
}
]
}
}

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

View File

@ -0,0 +1,30 @@
{
"format_version": "1.16",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:campfire_from_charcoal_mangrove_log"
},
"tags": [ "crafting_table" ],
"pattern": [
" A ",
"ABA",
"CCC"
],
"key": {
"A": {
"item": "minecraft:stick"
},
"B": {
"item": "minecraft:charcoal"
},
"C": {
"item": "minecraft:mangrove_log"
}
},
"result": {
"item": "minecraft:campfire",
"count": 1
},
"priority": 2
}
}

View File

@ -0,0 +1,30 @@
{
"format_version": "1.16",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:campfire_from_charcoal_mangrove_wood"
},
"tags": [ "crafting_table" ],
"pattern": [
" A ",
"ABA",
"CCC"
],
"key": {
"A": {
"item": "minecraft:stick"
},
"B": {
"item": "minecraft:charcoal"
},
"C": {
"item": "minecraft:mangrove_wood"
}
},
"result": {
"item": "minecraft:campfire",
"count": 1
},
"priority": 2
}
}

View File

@ -0,0 +1,30 @@
{
"format_version": "1.16",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:campfire_from_charcoal_stripped_mangrove_wood"
},
"tags": [ "crafting_table" ],
"pattern": [
" A ",
"ABA",
"CCC"
],
"key": {
"A": {
"item": "minecraft:stick"
},
"B": {
"item": "minecraft:charcoal"
},
"C": {
"item": "minecraft:stripped_mangrove_wood"
}
},
"result": {
"item": "minecraft:campfire",
"count": 1
},
"priority": 2
}
}