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,171 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:arrow",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:hard_arrow": {
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": [ 1, 5 ],
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": true
},
"stick_in_ground": {
"shake_time" : 0.35
},
"arrow_effect": {
}
},
"hit_sound": "bow.hit",
"power": 1.6,
"gravity": 0.05,
"uncertainty_base": 16,
"uncertainty_multiplier": 4,
"anchor": 1,
"should_bounce": true,
"offset": [ 0, -0.1, 0 ]
}
},
"minecraft:player_arrow": {
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 1,
"knockback": true,
"semi_random_diff_damage": true,
"destroy_on_hit": true,
"max_critical_damage": 10,
"min_critical_damage": 9,
"power_multiplier": 0.97
},
"stick_in_ground": {
"shake_time" : 0.35
},
"arrow_effect": {
}
},
"hit_sound": "bow.hit",
"power": 5.0,
"gravity": 0.05,
"uncertainty_base": 1,
"uncertainty_multiplier": 0,
"anchor": 1,
"should_bounce": true,
"offset": [ 0, -0.1, 0 ]
}
},
"minecraft:pillager_arrow": {
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": [ 3, 6 ],
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": true
},
"stick_in_ground": {
"shake_time": 0.35
},
"arrow_effect": {
}
},
"hit_sound": "bow.hit",
"power": 1.6,
"gravity": 0.05,
"uncertainty_base": 16,
"uncertainty_multiplier": 4,
"anchor": 1,
"should_bounce": true,
"offset": [ 0, -0.1, 0 ]
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": [ 1, 4 ],
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": true
},
"stick_in_ground": {
"shake_time" : 0.35
},
"arrow_effect": {
}
},
"hit_sound": "bow.hit",
"power": 1.6,
"gravity": 0.05,
"uncertainty_base": 16,
"uncertainty_multiplier": 4,
"anchor": 1,
"should_bounce": true,
"offset": [ 0, -0.1, 0 ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": false,
"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:entity_spawned": {
"sequence": [
{
"filters": {"test": "is_difficulty", "value": "hard"},
"add": {
"component_groups": [ "minecraft:hard_arrow" ]
}
},
{
"filters": {"test": "is_family", "subject": "other", "value": "player"},
"add": {
"component_groups" : [ "minecraft:player_arrow" ]
}
},
{
"filters": {"test": "is_family", "subject": "other", "value": "pillager"},
"add": {
"component_groups": [ "minecraft:pillager_arrow" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,55 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:dragon_fireball",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"spawn_aoe_cloud": {
"radius": 6.0,
"radius_on_use": 0,
"potion": 23,
"particle": "dragonbreath",
"duration": 120,
"color": [ 220, 0, 239 ],
"affect_owner": false,
"reapplication_delay": 20
},
"remove_on_hit": { }
},
"power": 1.3,
"gravity": 0.00,
"inertia": 1,
"anchor": 2,
"offset": [ 0, 0.5, 0 ],
"semi_random_diff_damage": true,
"uncertainty_base": 10.0,
"reflect_on_hurt": true,
"hit_sound": "explode"
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 7,
"use_motion_prediction_hints": true
}
}
}
}

View File

@ -0,0 +1,626 @@
{
"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
}
}
},
"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:annotation.break_door": {
},
"minecraft:underwater_movement": {
"value": 0.06
},
"minecraft:movement.generic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.23
},
"minecraft:burns_in_daylight": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": true
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_break_doors": true,
"can_swim": false,
"can_walk": true,
"avoid_sun": true
},
"minecraft: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": {
"randomize": [
{
"weight": 15,
"remove": {
},
"add": {
"component_groups": [
"minecraft:mode_switcher",
"minecraft:ranged_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 85,
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
}
]
}
]
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
"minecraft:switch_to_melee": {
"remove": {
"component_groups": [
"minecraft:ranged_mode"
]
},
"add": {
"component_groups": [
"minecraft:melee_mode"
]
}
},
"minecraft:switch_to_ranged": {
"remove": {
"component_groups": [
"minecraft:melee_mode"
]
},
"add": {
"component_groups": [
"minecraft:ranged_mode"
]
}
},
"minecraft:has_target": {
"remove": {
"component_groups": [
"minecraft:wander_mode"
]
},
"add": {
"component_groups": [
"minecraft:hunter_mode"
]
}
},
"minecraft:lost_target": {
"remove": {
"component_groups": [
"minecraft:hunter_mode"
]
},
"add": {
"component_groups": [
"minecraft:wander_mode"
]
}
}
}
}
}

View File

@ -0,0 +1,57 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:egg",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 0,
"knockback": true,
"destroy_on_hit": true
},
"spawn_chance": {
"first_spawn_chance": 8,
"second_spawn_chance": 32,
"first_spawn_count": 1,
"second_spawn_count": 4,
"spawn_definition": "minecraft:chicken",
"spawn_baby": true
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "iconcrack",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true
}
},
"power": 1.5,
"gravity": 0.03,
"angle_offset": 0.0
},
"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
}
}
}
}
}

View File

@ -0,0 +1,75 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ender_pearl",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"minecraft:no_spawn": {
"minecraft:projectile": {
"on_hit": {
"teleport_owner": { },
"remove_on_hit": { }
},
"power": 1.5,
"gravity": 0.025,
"angle_offset": 0.0,
"inertia": 1,
"liquid_inertia": 1
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"teleport_owner": { },
"spawn_chance": {
"first_spawn_percent_chance": 5.0,
"first_spawn_count": 1,
"spawn_definition": "minecraft:endermite"
},
"remove_on_hit": { }
},
"power": 1.5,
"gravity": 0.025,
"angle_offset": 0.0,
"inertia": 1,
"liquid_inertia": 1
},
"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:entity_spawned": {
"sequence": [
{
"filters": {"test": "is_game_rule", "domain": "domobspawning", "value": false},
"add": {
"component_groups": [ "minecraft:no_spawn" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,75 @@
{
"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": {
"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,59 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:fishing_hook",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"loot_jungle": {
"minecraft:loot": {
"table": "loot_tables/gameplay/jungle_fishing.json"
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.15,
"height": 0.15
},
"minecraft:projectile": {
"on_hit": { "stick_in_ground": {} }
},
"minecraft:loot": {
"table": "loot_tables/gameplay/fishing.json"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": false,
"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:entity_spawned": {
"sequence": [
{
"filters": {
"test": "is_biome",
"value": "jungle"
},
"add": { "component_groups": [ "loot_jungle" ] }
}
]
}
}
}
}

View File

@ -0,0 +1,105 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ghast",
"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:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:fire_immune": {
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:collision_box": {
"width": 4.02,
"height": 4
},
"minecraft:movement": {
"value": 0.03
},
"minecraft:navigation.float": {
"can_path_over_water": true
},
"minecraft:behavior.float_wander": {
"priority": 2,
"must_reach": true
},
"minecraft:can_fly": {
},
"minecraft:loot": {
"table": "loot_tables/entities/ghast.json"
},
"minecraft:shooter": {
"def": "minecraft:fireball"
},
"minecraft:type_family": {
"family": [ "ghast", "monster", "mob" ]
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": false
}
},
"minecraft:jump.static": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.ranged_attack": {
"priority": 1,
"attack_radius": 64,
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
},
"minecraft:follow_range": {
"value": 64,
"max": 64
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 28
}
],
"must_see": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
}
}
}

View File

@ -0,0 +1,616 @@
{
"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
}
}
},
"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:annotation.break_door": {
},
"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": {
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby",
"minecraft:zombie_husk_jockey"
]
}
}
]
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_zombie_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_zombie_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
}
},
"minecraft:convert_to_zombie": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,46 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:lingering_potion",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"douse_fire": { },
"spawn_aoe_cloud": {
"radius": 3.0,
"radius_on_use": -0.5,
"duration": 30,
"reapplication_delay": 40
},
"remove_on_hit": { }
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20.0,
"hit_sound": "glass"
},
"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
}
}
}
}
}

View File

@ -0,0 +1,48 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:llama_spit",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 1,
"knockback": false
},
"remove_on_hit": { }
},
"power": 1.5,
"gravity": 0.06,
"inertia": 1,
"uncertainty_base": 10,
"uncertainty_multiplier": 4,
"anchor": 1,
"offset": [ 0, -0.1, 0 ],
"reflect_on_hurt": 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
}
}
}
}
}

View File

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

View File

@ -0,0 +1,12 @@
{
"format_version": "1.13.0",
"minecraft:entity": {
"components": {
"minecraft:nameable": {
"always_show": false,
"allow_name_tag_renaming": false
}
}
}
}

View File

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

View File

@ -0,0 +1,470 @@
{
"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": false,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 5,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1.0
},
"minecraft:ambient_sound_interval": {
"value": 4.0,
"range": 8.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:hostile": {
"minecraft:movement": {
"value": 0.3
},
"minecraft:behavior.delayed_attack": {
"priority": 4,
"attack_once": false,
"track_target": true,
"require_complete_path": false,
"random_stop_interval": 0,
"reach_multiplier": 1.5,
"speed_multiplier": 1.0,
"attack_duration": 0.75,
"hit_delay_pct": 0.5
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.4
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6,
"angle_of_view_horizontal": 45,
"probability": 1
},
"minecraft:behavior.look_at_entity": {
"priority": 10,
"look_distance": 8,
"angle_of_view_horizontal": 45,
"filters": {
"test": "is_family",
"subject": "other",
"value": "mob"
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"max_dist": 64
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"must_see": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{
"subject": "other",
"test": "is_family",
"value": "player"
},
{
"subject": "other",
"test": "is_family",
"value": "irongolem"
}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "villager"
},
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"stunned": {
"minecraft:is_stunned": {
},
"minecraft:timer": {
"looping": false,
"time": 2,
"time_down_event": {
"event": "minecraft:start_roar"
}
}
},
"roaring": {
"minecraft:behavior.knockback_roar": {
"priority": 1,
"duration": 1,
"attack_time": 0.5,
"knockback_damage": 6,
"knockback_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.5
},
"minecraft:movement": {
"value": 0.0
},
"minecraft:movement.basic": {},
"minecraft:nameable": {},
"minecraft:navigation.walk": {
"avoid_damage_blocks": true,
"can_path_over_water": true,
"can_sink": false
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft: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"
]
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"pillager",
"vindicator",
"evocation_illager"
],
"seats": {
"position": [ 0.0, 2.1, -0.3 ]
}
},
"minecraft:type_family": {
"family": [
"monster",
"illager",
"ravager",
"mob"
]
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_for_raid_with_evoker_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:evoker_rider_for_raid",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_for_raid_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider_for_raid",
"minecraft:raid_configuration"
]
}
},
"minecraft:spawn_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider"
]
}
},
"minecraft:spawn_with_pillager_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_captain_rider"
]
}
},
"minecraft:spawn_with_vindicator_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_rider"
]
}
},
"minecraft:spawn_with_vindicator_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_captain_rider"
]
}
},
"minecraft:become_stunned": {
"add": {
"component_groups": [
"stunned"
]
},
"remove": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:start_roar": {
"add": {
"component_groups": [
"roaring"
]
},
"remove": {
"component_groups": [
"stunned"
]
}
},
"minecraft:end_roar": {
"add": {
"component_groups": [
"minecraft:hostile"
]
},
"remove": {
"component_groups": [
"roaring"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
}
}
}
}

View File

@ -0,0 +1,60 @@
{
"format_version": "1.10.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:shulker_bullet",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.625,
"height": 0.625
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 4,
"knockback": true,
"should_bounce": true
},
"mob_effect": {
"effect": "levitation",
"durationeasy": 200,
"durationnormal": 200,
"durationhard": 200,
"amplifier": 1
},
"remove_on_hit": {
},
"particle_on_hit": {
"particle_type": "largeexplode",
"on_other_hit": true
}
},
"hit_sound": "bullet.hit",
"destroyOnHurt": true,
"crit_particle_on_hurt": true,
"power": 1.6,
"gravity": 0.05,
"uncertainty_base": 16,
"uncertainty_multiplier": 4,
"anchor": 1,
"offset": [ 0, -0.1, 0 ],
"homing": true
},
"minecraft:physics": {
"has_collision": false
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 7,
"use_motion_prediction_hints": true
}
}
}
}
}

View File

@ -0,0 +1,54 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:small_fireball",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 5,
"knockback": false,
"catch_fire": true,
"semi_random_diff_damage": false
},
"catch_fire": {
"fire_affected_by_griefing": true
},
"remove_on_hit": { }
},
"power": 1.3,
"gravity": 0.00,
"inertia": 1,
"liquid_inertia": 1,
"anchor": 2,
"offset": [ 0, 0.5, 0 ],
"semi_random_diff_damage": true,
"uncertainty_base": 10.0,
"reflect_on_hurt": 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
}
}
}
}
}

View File

@ -0,0 +1,51 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:snowball",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"filter": "blaze",
"damage": 3,
"knockback": true
},
"remove_on_hit": { },
"particle_on_hit": {
"particle_type": "snowballpoof",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true
}
},
"anchor": 1,
"power": 1.5,
"gravity": 0.03,
"angle_offset": 0.0,
"offset": [ 0, -0.1, 0 ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 100.0,
"max_dropped_ticks": 7,
"use_motion_prediction_hints": true
}
}
}
}
}

View File

@ -0,0 +1,42 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:splash_potion",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"douse_fire": { },
"thrown_potion_effect": { },
"remove_on_hit": { }
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20.0,
"hit_sound": "glass"
},
"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
}
}
}
}
}

View File

@ -0,0 +1,56 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:thrown_trident",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.35
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 8,
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": false
},
"stick_in_ground": {
"shake_time" : 0
}
},
"liquid_inertia": 0.99,
"hit_sound": "item.trident.hit",
"hit_ground_sound": "item.trident.hit_ground",
"power": 4,
"gravity": 0.10,
"uncertainty_base": 1,
"uncertainty_multiplier": 0,
"stop_on_hurt": true,
"anchor": 1,
"should_bounce": true,
"multiple_targets": false,
"offset": [ 0, -0.1, 0 ]
},
"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
}
}
}
}
}

View File

@ -0,0 +1,81 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wither_skull",
"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": false,
"destroy_affected_by_griefing": true
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.15,
"height": 0.15
},
"minecraft:projectile": {
"on_hit": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
},
"power": 1.2,
"gravity": 0.00,
"uncertainty_base": 7.5,
"uncertainty_multiplier": 1,
"shoot_sound": "bow",
"hit_sound": "bow.hit",
"anchor": 1,
"offset": [ 0, -0.1, 0 ],
"inertia": 1.0,
"liquid_inertia": 1.0,
"shoot_target": false
},
"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,84 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wither_skull_dangerous",
"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": false,
"max_resistance": 4.0,
"destroy_affected_by_griefing": true
}
}
},
"components": {
"minecraft:collision_box": {
"width": 0.15,
"height": 0.15
},
"minecraft:projectile": {
"on_hit": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
},
"power": 0.6,
"gravity": 0.00,
"uncertainty_base": 7.5,
"uncertainty_multiplier": 1,
"shoot_sound": "bow",
"hit_sound": "bow.hit",
"anchor": 1,
"offset": [ 0, -0.1, 0 ],
"is_dangerous": true,
"inertia": 1.0,
"liquid_inertia": 1.0,
"shoot_target": false,
"reflect_on_hurt": 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,44 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:xp_bottle",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"grant_xp": {
"minXP": 3,
"maxXP": 11
},
"remove_on_hit": { }
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20.0,
"hit_sound": "glass"
},
"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
}
}
}
}
}

View File

@ -0,0 +1,594 @@
{
"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"
}
}
},
"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:annotation.break_door": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": true,
"breathes_water": true
},
"minecraft:attack": {
"damage": 3
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft: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": {
"randomize": [
{
"weight": 380,
"remove": {},
"add": {
"component_groups": [
"minecraft:zombie_adult",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 17,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:can_have_equipment"
]
}
},
{
"weight": 3,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_baby",
"minecraft:zombie_jockey",
"minecraft:can_have_equipment"
]
}
}
]
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:zombie_adult"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:zombie_baby"
]
}
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_drowned_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_drowned_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_drowned_transformation"
]
}
},
"minecraft:convert_to_drowned": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_drowned" ]
},
"remove": {
"component_groups": [ "minecraft:start_drowned_transformation" ]
}
}
]
}
}
}
}

View File

@ -0,0 +1,915 @@
{
"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
}
},
"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:annotation.break_door": {
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft: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" ] }
}
]
}
]
},
"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,38 @@
{
"format_version": "1.16.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "minecraft:clay_pool_with_dripleaves_feature"
},
"replaceable_blocks": [
"minecraft:clay",
"minecraft:sand",
"minecraft:gravel",
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:deepslate",
"minecraft:tuff",
"minecraft:moss_block",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:clay",
"vegetation_feature": "minecraft:dripleaf_feature",
"surface": "floor",
"depth": 3,
"vertical_range": 5,
"vegetation_chance": 0.1,
"horizontal_radius": {
"range_min": 4,
"range_max": 8
},
"extra_deep_block_chance": 0.8,
"extra_edge_column_chance": 0.7,
"waterlogged": true
}
}

View File

@ -0,0 +1,37 @@
{
"format_version": "1.16.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "minecraft:clay_with_dripleaves_feature"
},
"replaceable_blocks": [
"minecraft:clay",
"minecraft:sand",
"minecraft:gravel",
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:deepslate",
"minecraft:tuff",
"minecraft:moss_block",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:clay",
"vegetation_feature": "minecraft:dripleaf_feature",
"surface": "floor",
"depth": 3,
"vertical_range": 2,
"vegetation_chance": 0.05,
"horizontal_radius": {
"range_min": 4,
"range_max": 8
},
"extra_deep_block_chance": 0.8,
"extra_edge_column_chance": 0.7
}
}

View File

@ -0,0 +1,36 @@
{
"format_version": "1.16.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "minecraft:moss_ceiling_feature"
},
"replaceable_blocks": [
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:deepslate",
"minecraft:tuff",
"minecraft:moss_block",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:moss_block",
"vegetation_feature": "minecraft:cave_vine_in_moss_feature",
"surface": "ceiling",
"depth": {
"range_min": 1,
"range_max": 3
},
"vertical_range": 5,
"vegetation_chance": 0.08,
"horizontal_radius": {
"range_min": 4,
"range_max": 8
},
"extra_edge_column_chance": 0.3
}
}

View File

@ -0,0 +1,36 @@
{
"format_version": "1.16.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "minecraft:moss_patch_bonemeal_feature"
},
"replaceable_blocks": [
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:deepslate",
"minecraft:tuff",
"minecraft:moss_block",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:moss_block",
"vegetation_feature": "minecraft:moss_vegetation_feature",
"surface": "floor",
"depth": {
"range_min": 1,
"range_max": 2
},
"vertical_range": 5,
"vegetation_chance": 0.6,
"horizontal_radius": {
"range_min": 1,
"range_max": 3
},
"extra_edge_column_chance": 0.75
}
}

View File

@ -0,0 +1,36 @@
{
"format_version": "1.16.0",
"minecraft:vegetation_patch_feature": {
"description": {
"identifier": "minecraft:moss_patch_feature"
},
"replaceable_blocks": [
"minecraft:dirt",
"minecraft:podzol",
"minecraft:dirt_with_roots",
"minecraft:grass",
"minecraft:mycelium",
"minecraft:stone",
"minecraft:deepslate",
"minecraft:tuff",
"minecraft:moss_block",
"minecraft:cave_vines",
"minecraft:cave_vines_body_with_berries",
"minecraft:cave_vines_head_with_berries"
],
"ground_block": "minecraft:moss_block",
"vegetation_feature": "minecraft:moss_vegetation_feature",
"surface": "floor",
"depth": {
"range_min": 1,
"range_max": 2
},
"vertical_range": 5,
"vegetation_chance": 0.8,
"horizontal_radius": {
"range_min": 4,
"range_max": 8
},
"extra_edge_column_chance": 0.3
}
}

View File

@ -0,0 +1,319 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"weight": 15,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.15,
"max": 0.8
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_shovel"
},
{
"type": "item",
"weight": 8,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:netherite_scrap"
},
{
"type": "item",
"weight": 5,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:ancient_debris"
},
{
"type": "item",
"weight": 12,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:saddle"
},
{
"type": "item",
"weight": 16,
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 4
}
}
],
"name": "minecraft:gold_block"
},
{
"type": "item",
"weight": 12,
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.15,
"max": 0.95
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_pickaxe"
},
{
"type": "item",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 17
}
}
],
"name": "minecraft:golden_carrot"
},
{
"type": "item",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_apple"
}
]
},
{
"rolls": {
"min": 3,
"max": 4
},
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 6
}
}
],
"name": "minecraft:glowstone",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 5
}
}
],
"name": "minecraft:gilded_blackstone",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 7
}
}
],
"name": "minecraft:soul_sand",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 7
}
}
],
"name": "minecraft:crimson_nylium",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 8
}
}
],
"name": "minecraft:gold_nugget",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
}
],
"name": "minecraft:leather",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 5,
"max": 17
}
}
],
"name": "minecraft:arrow",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 8
}
}
],
"name": "minecraft:string",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 5
}
}
],
"name": "minecraft:porkchop",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 5
}
}
],
"name": "minecraft:cooked_porkchop",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 7
}
}
],
"name": "minecraft:crimson_fungus",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 7
}
}
],
"name": "minecraft:crimson_roots",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
],
"name": "minecraft:crying_obsidian",
"weight": 1
},
{
"type": "item",
"weight": 1,
"functions": [
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_axe"
}
]
}
]
}

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

View File

@ -0,0 +1,38 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:axolotl",
"population_control": "animal"
},
"conditions": [
{
"minecraft:spawns_underground": {},
"minecraft:spawns_underwater": {},
"minecraft:disallow_spawns_in_bubble": {},
"minecraft:weight": {
"default": 8
},
"minecraft:brightness_filter": {
"min": 0,
"max": 0,
"adjust_for_weather": false
},
"minecraft:spawns_above_block_filter": {
"blocks": "minecraft:stone",
"distance": 10
},
"minecraft:herd": {
"min_size": 1,
"max_size": 4,
"event": "minecraft:entity_born",
"event_skip_count": 2
},
"minecraft:height_filter": {
"min": 0,
"max": 63
}
}
]
}
}