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,540 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:donkey",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:donkey_baby": {
"minecraft:is_baby": {
},
"minecraft:scale_by_age": {
"start_scale": 0.5,
"end_scale": 1.0
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
{
"item": "wheat",
"growth": 0.016667
},
{
"item": "sugar",
"growth": 0.025
},
{
"item": "hay_block",
"growth": 0.15
},
{
"item": "apple",
"growth": 0.05
},
{
"item": "golden_carrot",
"growth": 0.05
},
{
"item": "golden_apple",
"growth": 0.2
},
{
"item": "appleEnchanted",
"growth": 0.2
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 4,
"speed_multiplier": 1.0
}
},
"minecraft:donkey_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/horse.json"
},
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
}
},
"minecraft:donkey_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player",
"zombie"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 0.925, -0.2 ]
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:tamemount": {
"min_temper": 0,
"max_temper": 100,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feed_items": [
{
"item": "wheat",
"temper_mod": 3
},
{
"item": "sugar",
"temper_mod": 3
},
{
"item": "apple",
"temper_mod": 3
},
{
"item": "golden_carrot",
"temper_mod": 5
},
{
"item": "golden_apple",
"temper_mod": 10
},
{
"item": "appleEnchanted",
"temper_mod": 10
}
],
"auto_reject_items": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "saddle"
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
},
"minecraft:donkey_tamed": {
"minecraft:is_tamed": {
},
"minecraft:equippable": {
"slots": [
{
"slot": 0,
"item": "saddle",
"accepted_items": [ "saddle" ],
"on_equip": {
"event": "minecraft:donkey_saddled"
},
"on_unequip": {
"event": "minecraft:donkey_unsaddled"
}
}
]
},
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.equip"
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 0.925, -0.2 ]
}
},
"minecraft:behavior.player_ride_tamed": {
},
"minecraft:inventory": {
"inventory_size": 16,
"container_type": "horse"
},
"minecraft:breedable": {
"parent_centric_attribute_blending": [
"minecraft:health"
],
"require_tame": true,
"inherit_tamed": false,
"breeds_with": [
{
"mate_type": "minecraft:donkey",
"baby_type": "minecraft:donkey",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
{
"mate_type": "minecraft:horse",
"baby_type": "minecraft:mule",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
],
"breed_items": [
"golden_carrot",
"golden_apple",
"appleEnchanted"
]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"apple",
"carrot",
"golden_apple",
"appleEnchanted",
"golden_carrot",
"carrotOnAStick",
"hay_block",
"sugar",
"bread",
"wheat"
]
}
},
"minecraft:donkey_unchested": {
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.saddle"
},
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false },
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "chest" }
]
},
"event": "minecraft:on_chest",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.attachchest"
}
]
}
},
"minecraft:donkey_chested": {
"minecraft:is_chested": {
},
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.saddle"
}
]
}
},
"minecraft:donkey_saddled": {
"minecraft:is_saddled": {
},
"minecraft:input_ground_controlled": {
},
"minecraft:can_power_jump": {
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "donkey", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 1.4,
"height": 1.6
},
"minecraft:health": {
"value": {
"range_min": 15,
"range_max": 30
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.175
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:nameable": {
},
"minecraft:horse.jump_strength": {
"value": 0.5
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:healable": {
"items": [
{
"item": "wheat",
"heal_amount": 2
},
{
"item": "sugar",
"heal_amount": 1
},
{
"item": "hay_block",
"heal_amount": 20
},
{
"item": "apple",
"heal_amount": 3
},
{
"item": "golden_carrot",
"heal_amount": 4
},
{
"item": "golden_apple",
"heal_amount": 10
},
{
"item": "appleEnchanted",
"heal_amount": 10
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 80,
"add": {
"component_groups": [
"minecraft:donkey_adult",
"minecraft:donkey_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:donkey_baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:donkey_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:donkey_wild"
]
},
"add": {
"component_groups": [
"minecraft:donkey_tamed",
"minecraft:donkey_unchested"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:donkey_baby"
]
},
"add": {
"component_groups": [
"minecraft:donkey_adult",
"minecraft:donkey_wild"
]
}
},
"minecraft:on_chest": {
"remove": {
"component_groups": [
"minecraft:donkey_unchested"
]
},
"add": {
"component_groups": [
"minecraft:donkey_chested"
]
}
},
"minecraft:donkey_saddled": {
"add": {
"component_groups": [
"minecraft:donkey_saddled"
]
}
},
"minecraft:donkey_unsaddled": {
"remove": {
"component_groups": [
"minecraft:donkey_saddled"
]
}
}
}
}
}

View File

@ -0,0 +1,60 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ender_crystal",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"crystal_exploding": {
"minecraft:explode": {
"fuse_length": 0,
"fuse_lit": true,
"power": 6,
"causes_fire": false,
"destroy_affected_by_griefing": true
}
}
},
"components": {
"minecraft:collision_box": {
"width": 2,
"height": 2
},
"minecraft:health": {
"value": 1,
"max": 1
},
"minecraft:fire_immune": true,
"minecraft:on_hurt": {
"event": "minecraft:crystal_explode",
"target": "self"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:crystal_explode": {
"remove": {
},
"add": {
"component_groups": [
"crystal_exploding"
]
}
}
}
}
}

View File

@ -0,0 +1,702 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:horse",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:horse_baby": {
"minecraft:is_baby": {
},
"minecraft:scale_by_age": {
"start_scale": 0.5,
"end_scale": 1.0
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
{
"item": "wheat",
"growth": 0.016667
},
{
"item": "sugar",
"growth": 0.025
},
{
"item": "hay_block",
"growth": 0.15
},
{
"item": "apple",
"growth": 0.05
},
{
"item": "golden_carrot",
"growth": 0.05
},
{
"item": "golden_apple",
"growth": 0.2
},
{
"item": "appleEnchanted",
"growth": 0.2
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 4,
"speed_multiplier": 1.0
}
},
"minecraft:horse_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/horse.json"
},
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.breed": {
"priority": 2,
"speed_multiplier": 1.0
}
},
"minecraft:horse_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player",
"zombie"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 1.1, -0.2 ]
}
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:tamemount": {
"min_temper": 0,
"max_temper": 100,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feed_items": [
{
"item": "wheat",
"temper_mod": 3
},
{
"item": "sugar",
"temper_mod": 3
},
{
"item": "apple",
"temper_mod": 3
},
{
"item": "golden_carrot",
"temper_mod": 5
},
{
"item": "golden_apple",
"temper_mod": 10
},
{
"item": "appleEnchanted",
"temper_mod": 10
}
],
"auto_reject_items": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "saddle"
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
},
"minecraft:horse_tamed": {
"minecraft:is_tamed": {
},
"minecraft:rideable": {
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 1.1, -0.2 ]
}
},
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{
"none_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "leather_horse_armor" },
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "iron_horse_armor" },
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "golden_horse_armor" },
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "diamond_horse_armor" }
]
},
{
"any_of": [
{ "test": "has_equipment", "subject": "player", "domain": "hand", "value": "leather_horse_armor" },
{ "test": "has_equipment", "subject": "player", "domain": "hand", "value": "iron_horse_armor" },
{ "test": "has_equipment", "subject": "player", "domain": "hand", "value": "golden_horse_armor" },
{ "test": "has_equipment", "subject": "player", "domain": "hand", "value": "diamond_horse_armor" }
]
},
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 1,
"interact_text": "action.interact.equiphorsearmor"
},
{
"play_sounds": "saddle",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.saddle"
}
]
},
"minecraft:inventory": {
"inventory_size": 2,
"container_type": "horse"
},
"minecraft:breedable": {
"parent_centric_attribute_blending": [
"minecraft:health",
"minecraft:movement",
"minecraft:horse.jump_strength"
],
"require_tame": true,
"inherit_tamed": false,
"breeds_with": [
{
"mate_type": "minecraft:horse",
"baby_type": "minecraft:horse",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
{
"mate_type": "minecraft:donkey",
"baby_type": "minecraft:mule",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
],
"breed_items": [
"golden_carrot",
"golden_apple",
"appleEnchanted"
],
"mutation_factor": {
"extra_variant": 0.2, // 1/5
"variant": 0.111 // ~1/9
},
"mutation_strategy": "random",
"random_variant_mutation_interval": [0, 7],
"random_extra_variant_mutation_interval": [0, 5]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"golden_apple",
"appleEnchanted",
"golden_carrot"
]
}
},
"minecraft:horse_saddled": {
"minecraft:is_saddled": {
},
"minecraft:input_ground_controlled": {
},
"minecraft:can_power_jump": {
},
"minecraft:behavior.player_ride_tamed": {
}
},
"minecraft:base_white": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:base_creamy": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:base_chestnut": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:base_brown": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:base_black": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:base_gray": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:base_darkbrown": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:markings_none": {
"minecraft:mark_variant": {
"value": 0
}
},
"minecraft:markings_white_details": {
"minecraft:mark_variant": {
"value": 1
}
},
"minecraft:markings_white_fields": {
"minecraft:mark_variant": {
"value": 2
}
},
"minecraft:markings_white_dots": {
"minecraft:mark_variant": {
"value": 3
}
},
"minecraft:markings_black_dots": {
"minecraft:mark_variant": {
"value": 4
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:equippable": {
"slots": [
{
"slot": 0,
"item": "saddle",
"accepted_items": [ "saddle" ],
"on_equip": {
"event": "minecraft:horse_saddled"
},
"on_unequip": {
"event": "minecraft:horse_unsaddled"
}
},
{
"slot": 1,
"item": "horsearmoriron",
"accepted_items": [
"horsearmorleather",
"horsearmoriron",
"horsearmorgold",
"horsearmordiamond"
]
}
]
},
"minecraft:type_family": {
"family": [ "horse", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 1.4,
"height": 1.6
},
"minecraft:health": {
"value": {
"range_min": 15,
"range_max": 30
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": {
"range_min": 0.1125,
"range_max": 0.3375
}
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:nameable": {
},
"minecraft:horse.jump_strength": {
"value": {
"range_min": 0.4,
"range_max": 1.0
}
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:healable": {
"items": [
{
"item": "wheat",
"heal_amount": 2
},
{
"item": "sugar",
"heal_amount": 1
},
{
"item": "hay_block",
"heal_amount": 20
},
{
"item": "apple",
"heal_amount": 3
},
{
"item": "golden_carrot",
"heal_amount": 4
},
{
"item": "golden_apple",
"heal_amount": 10
},
{
"item": "appleEnchanted",
"heal_amount": 10
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 3,
"speed_multiplier": 1.2
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 36,
"add": {
"component_groups": [
"minecraft:horse_adult",
"minecraft:horse_wild"
]
}
},
{
"weight": 9,
"add": {
"component_groups": [
"minecraft:horse_baby"
]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_white" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_creamy" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_chestnut" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_brown" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_black" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_gray" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:base_darkbrown" ]
}
}
]
},
{
"randomize": [
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_none" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_details" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_fields" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_white_dots" ]
}
},
{
"weight": 1,
"add": {
"component_groups": [ "minecraft:markings_black_dots" ]
}
}
]
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:horse_baby"
]
}
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:horse_adult",
"minecraft:horse_wild"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:horse_wild"
]
},
"add": {
"component_groups": [
"minecraft:horse_tamed"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:horse_baby"
]
},
"add": {
"component_groups": [
"minecraft:horse_adult",
"minecraft:horse_wild"
]
}
},
"minecraft:horse_saddled": {
"add": {
"component_groups": [
"minecraft:horse_saddled"
]
}
},
"minecraft:horse_unsaddled": {
"remove": {
"component_groups": [
"minecraft:horse_saddled"
]
}
},
"minecraft:make_white": {
"add": {
"component_groups": [ "minecraft:base_white" ]
}
},
"minecraft:make_creamy": {
"add": {
"component_groups": [ "minecraft:base_creamy" ]
}
},
"minecraft:make_chestnut": {
"add": {
"component_groups": [ "minecraft:base_chestnut" ]
}
},
"minecraft:make_brown": {
"add": {
"component_groups": [ "minecraft:base_brown" ]
}
},
"minecraft:make_black": {
"add": {
"component_groups": [ "minecraft:base_black" ]
}
},
"minecraft:make_gray": {
"add": {
"component_groups": [ "minecraft:base_gray" ]
}
},
"minecraft:make_darkbrown": {
"add": {
"component_groups": [ "minecraft:base_darkbrown" ]
}
}
}
}
}

View File

@ -0,0 +1,718 @@
{
"format_version": "1.19.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:llama",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:llama_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
{
"item": "wheat",
"growth": 0.1
},
{
"item": "hay_block",
"growth": 0.9
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.0
}
},
"minecraft:llama_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/llama.json"
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"parent_centric_attribute_blending": [
"minecraft:health"
],
"require_tame": true,
"inherit_tamed": false,
"breeds_with": {
"mate_type": "minecraft:llama",
"baby_type": "minecraft:llama",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "hay_block" ]
}
},
"minecraft:strength_1": {
"minecraft:strength": {
"value": 1,
"max": 5
}
},
"minecraft:strength_2": {
"minecraft:strength": {
"value": 2,
"max": 5
}
},
"minecraft:strength_3": {
"minecraft:strength": {
"value": 3,
"max": 5
}
},
"minecraft:strength_4": {
"minecraft:strength": {
"value": 4,
"max": 5
}
},
"minecraft:strength_5": {
"minecraft:strength": {
"value": 5,
"max": 5
}
},
"minecraft:llama_creamy": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:llama_white": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:llama_brown": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:llama_gray": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:llama_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 1.17, -0.3 ]
}
},
"minecraft:tamemount": {
"min_temper": 0,
"max_temper": 30,
"feed_text": "action.interact.feed",
"ride_text": "action.interact.mount",
"feed_items": [
{
"item": "wheat",
"temper_mod": 3
},
{
"item": "hay_block",
"temper_mod": 6
}
],
"tame_event": {
"event": "minecraft:on_tame",
"target": "self"
}
}
},
"minecraft:llama_tamed": {
"minecraft:is_tamed": {
},
"minecraft:rideable": {
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 1.17, -0.3 ]
}
},
"minecraft:inventory": {
"inventory_size": 16,
"container_type": "horse",
"additional_slots_per_strength": 3
},
"minecraft:equippable": {
"slots": [
{
"slot": 1,
"item": "carpet",
"accepted_items": [ "carpet" ]
}
]
}
},
"minecraft:llama_unchested": {
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false },
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "chest" }
]
},
"event": "minecraft:on_chest",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.attachchest"
},
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "carpet" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "carpet" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.equipcarpet"
}
]
}
},
"minecraft:llama_chested": {
"minecraft:is_chested": {
},
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "carpet" },
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "carpet" },
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"target": "self"
},
"equip_item_slot": 0,
"interact_text": "action.interact.equipcarpet"
}
]
}
},
"minecraft:llama_angry": {
"minecraft:angry": {
"duration": 4,
"broadcast_anger": false,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"attack_radius": 64,
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
}
},
"minecraft:llama_angry_wolf": {
"minecraft:angry": {
"duration": -1,
"broadcast_anger": false,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"attack_radius": 64,
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
}
},
"minecraft:in_caravan": {
"minecraft:damage_sensor": {
"triggers": {
"cause": "all",
"deals_damage": true
}
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "llama", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:mark_variant": {
"value": 0
},
"minecraft:health": {
"value": {
"range_min": 15,
"range_max": 30
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:follow_range": {
"value": 40,
"max": 40
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0,
"can_be_stolen": true
},
"minecraft:balloonable": {
},
"minecraft:healable": {
"items": [
{
"item": "wheat",
"heal_amount": 2
},
{
"item": "hay_block",
"heal_amount": 10
}
]
},
"minecraft:shooter": {
"def": "minecraft:llama_spit"
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
},
"minecraft:behavior.follow_caravan": {
"priority": 3,
"speed_multiplier": 2.1,
"entity_count": 10,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"value": "llama"
}
}
},
"minecraft:behavior.panic": {
"priority": 4,
"speed_multiplier": 1.2
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"hurt_owner": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "all",
"deals_damage": true,
"on_damage": {
"filters": {
"test": "in_caravan",
"value": false
},
"event": "minecraft:become_angry"
}
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"attack_interval": 16,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "wolf"
},
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_tamed"
}
]
},
"max_dist": 10
}
],
"must_see": false,
"must_reach": true
},
"minecraft:on_target_acquired": {
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "target",
"value": "wolf"
},
{
"test": "has_component",
"subject": "target",
"operator": "!=",
"value": "minecraft:is_tamed"
}
]
},
"event": "minecraft:mad_at_wolf",
"target": "self"
},
"minecraft:on_target_escape": {
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "target",
"value": "wolf"
},
{
"test": "has_component",
"subject": "target",
"operator": "!=",
"value": "minecraft:is_tamed"
}
]
},
"event": "minecraft:on_calm",
"target": "self"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:collision_box": {
"width": 0.9,
"height": 1.87
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 90,
"trigger": "minecraft:spawn_adult"
},
{
"weight": 10,
"trigger": "minecraft:spawn_baby"
}
]
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:llama_baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:llama_baby"
]
},
"add": {
"component_groups": [
"minecraft:llama_adult",
"minecraft:llama_wild"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:llama_wild"
]
},
"add": {
"component_groups": [
"minecraft:llama_tamed",
"minecraft:llama_unchested"
]
}
},
"minecraft:join_caravan": {
"add": {
"component_groups": [
"minecraft:in_caravan"
]
}
},
"minecraft:leave_caravan": {
"remove": {
"component_groups": [
"minecraft:in_caravan"
]
}
},
"minecraft:mad_at_wolf": {
"add": {
"component_groups": [
"minecraft:llama_angry_wolf"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:llama_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:llama_angry",
"minecraft:llama_angry_wolf"
]
}
},
"minecraft:on_chest": {
"remove": {
"component_groups": [
"minecraft:llama_unchested"
]
},
"add": {
"component_groups": [
"minecraft:llama_chested"
]
}
},
"minecraft:add_attributes": {
"sequence": [
{
"randomize": [
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_1"
]
}
},
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_2"
]
}
},
{
"weight": 32,
"add": {
"component_groups": [
"minecraft:strength_3"
]
}
},
{
"weight": 2,
"add": {
"component_groups": [
"minecraft:strength_4"
]
}
},
{
"weight": 2,
"add": {
"component_groups": [
"minecraft:strength_5"
]
}
}
]
},
{
"randomize": [
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_creamy"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_white"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_brown"
]
}
},
{
"weight": 25,
"add": {
"component_groups": [
"minecraft:llama_gray"
]
}
}
]
}
]
},
"minecraft:spawn_baby": {
"add": {
"component_groups": [
"minecraft:llama_baby"
]
},
"trigger": "minecraft:add_attributes"
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:llama_adult",
"minecraft:llama_wild"
]
},
"trigger": "minecraft:add_attributes"
}
}
}
}

View File

@ -0,0 +1,319 @@
{
"format_version": "1.19.60",
"minecraft:entity": {
"description": {
"identifier": "minecraft:witch",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 3,
"speed_multiplier": 1.2,
"goal_radius": 2.0
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:raid_persistence": {
"minecraft:persistent": {}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/witch.json"
},
"minecraft:health": {
"value": 26,
"max": 26
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": false
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.ranged_attack": {
"priority": 2,
"speed_multiplier": 1.0,
"attack_interval_min": 3,
"attack_interval_max": 3,
"attack_radius": 10.0
},
"minecraft:shooter": {
"power" : 0.75,
"def": "minecraft:splash_potion",
"aux_val" : 23, // harming
"sound" : "throw",
"projectiles" : [
{
"def" : "minecraft:splash_potion",
"aux_val" : 17, // slowness
"filters" : {
"all_of" : [
{ "test" : "target_distance", "subject" : "self", "value" : 8.0, "operator" : ">="},
{
"none_of":[
{ "test": "has_mob_effect", "subject": "other", "value": "slowness" }
]
}
]
}
},
{
"def" : "minecraft:splash_potion",
"aux_val" : 25, // poison
"filters" : {
"all_of" : [
{ "test" : "actor_health", "subject" : "other", "value" : 8, "operator" : ">="},
{
"none_of": [
{ "test": "has_mob_effect", "subject": "other", "value": "poison" }
]
}
]
}
},
{
"def" : "minecraft:splash_potion",
"aux_val" : 34, // weakness
"filters" : {
"all_of" : [
{ "test" : "target_distance", "subject" : "self", "value" : 3, "operator" : "<="},
{
"none_of":[
{ "test": "has_mob_effect", "subject": "other", "value": "weakness" }
]
}
]
},
"chance" : 0.25
}
],
"magic" : true
},
"minecraft:behavior.random_stroll": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 5,
"look_distance": 8.0
},
"minecraft:behavior.random_look_around": {
"priority": 5,
"look_distance": 8.0
},
"minecraft:behavior.drink_potion": {
"priority": 1,
"speed_modifier": -0.25,
"potions": [
{
"id": 19, // Water breathing
"chance": 0.15,
"filters": {
"all_of": [
{ "test": "is_underwater", "subject": "self", "value": true },
{
"none_of": [
{ "test": "has_mob_effect", "subject": "self", "value": "water_breathing" }
]
}
]
}
},
{
"id": 12, // Fire resistance
"chance": 0.15,
"filters": {
"all_of": [
{
"any_of": [
{ "test": "on_fire", "subject": "self", "value": true },
{ "test": "on_hot_block", "subject": "self", "value": true }
]
},
{
"none_of": [
{ "test": "has_mob_effect", "subject": "self", "value": "fire_resistance" }
]
}
]
}
},
{
"id": 21, // Healing
"chance": 0.05,
"filters": {
"all_of": [
{ "test": "is_missing_health", "subject": "self", "value": true }
]
}
},
{
"id": 14, // Swiftness
"chance": 0.25,
"filters": {
"all_of": [
{ "test": "has_target", "subject": "self", "value": true },
{
"none_of": [
{ "test": "has_mob_effect", "subject": "self", "value": "speed" }
]
},
{ "test": "target_distance", "subject": "self", "value": 11.0, "operator": ">=" }
]
}
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
},
"max_dist": 10
}
],
"must_reach": true
},
"minecraft:type_family": {
"family": [ "witch", "monster", "mob" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"sequence": [
{
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:raid_expired": {
"sequence": [
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
}
}
}
}

View File

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

View File

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

View File

@ -0,0 +1,81 @@
{
"format_version": "1.8.0",
"minecraft:spawn_rules": {
"description": {
"identifier": "minecraft:zombie_pigman",
"population_control": "monster"
},
"conditions": [
{
"minecraft:spawns_underground": {
},
"minecraft:spawns_on_block_prevented_filter": [
"minecraft:nether_wart_block",
"minecraft:shroomlight"
],
"minecraft:difficulty_filter": {
"min": "easy",
"max": "hard"
},
"minecraft:weight": {
"default": 100
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "spawn_zombified_piglin"
},
"minecraft:brightness_filter": {
"min": 0,
"max": 11,
"adjust_for_weather": true
}
},
{
"minecraft:spawns_underground": {
},
"minecraft:spawns_on_block_prevented_filter": [
"minecraft:nether_wart_block",
"minecraft:shroomlight"
],
"minecraft:difficulty_filter": {
"min": "easy",
"max": "hard"
},
"minecraft:weight": {
"default": 1
},
"minecraft:herd": {
"min_size": 2,
"max_size": 4
},
"minecraft:biome_filter": {
"test": "has_biome_tag",
"operator": "==",
"value": "spawn_few_zombified_piglins"
},
"minecraft:brightness_filter": {
"min": 0,
"max": 11,
"adjust_for_weather": true
}
}
]
}
}