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

View File

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

View File

@ -0,0 +1,690 @@
{
"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": {
"require_tame": true,
"inherit_tamed": false,
"breeds_with": [
{
"mate_type": "minecraft:horse",
"baby_type": "minecraft:horse",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
{
"mate_type": "minecraft:donkey",
"baby_type": "minecraft:mule",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
],
"breed_items": [
"golden_carrot",
"golden_apple",
"appleEnchanted"
]
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"golden_apple",
"appleEnchanted",
"golden_carrot"
]
}
},
"minecraft:horse_saddled": {
"minecraft:is_saddled": {
},
"minecraft:input_ground_controlled": {
},
"minecraft:can_power_jump": {
},
"minecraft:behavior.player_ride_tamed": {
}
},
"minecraft:base_white": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:base_creamy": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:base_chestnut": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:base_brown": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:base_black": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:base_gray": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:base_darkbrown": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:markings_none": {
"minecraft:mark_variant": {
"value": 0
}
},
"minecraft:markings_white_details": {
"minecraft:mark_variant": {
"value": 1
}
},
"minecraft:markings_white_fields": {
"minecraft:mark_variant": {
"value": 2
}
},
"minecraft:markings_white_dots": {
"minecraft:mark_variant": {
"value": 3
}
},
"minecraft:markings_black_dots": {
"minecraft:mark_variant": {
"value": 4
}
}
},
"components": {
"minecraft: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,632 @@
{
"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.5
},
"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:zombie_husk_jockey": {
"minecraft:behavior.find_mount": {
"priority": 1,
"within_radius": 16
}
},
"minecraft:can_break_doors": {
"minecraft:annotation.break_door": {
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:equip_item": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:nameable": {
},
// Zombie_husk Components
"minecraft:type_family": {
"family": [ "husk", "zombie", "undead", "monster", "mob" ]
},
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_equipment.json"
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 3,
"effect_name": "hunger",
"effect_duration": 30
},
"minecraft:variant": {
"value": 2
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_pass_doors": true,
"can_break_doors": true,
"avoid_portals": false
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:shareables": {
"items": [
{
"item": "minecraft:netherite_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:golden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:stone_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:wooden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:netherite_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:turtle_helmet",
"want_amount": 1,
"surplus_amount": 1,
"priority": 6
},
{
"item": "minecraft:skull:0",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:skull:1",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:carved_pumpkin",
"want_amount": 1,
"surplus_amount": 1,
"priority": 7
},
{
"item": "minecraft:netherite_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_chestplate",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:netherite_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_leggings",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:netherite_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:chainmail_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:leather_boots",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
}
]
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:start_transforming"
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
// Zombie_husk Behaviors
"minecraft:behavior.equip_item": {
"priority": 2
},
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.stomp_turtle_egg": {
"priority": 4,
"speed_multiplier": 1,
"search_range": 10,
"search_height": 2,
"goal_radius": 1.14,
"interval": 20
},
"minecraft:behavior.pickup_items": {
"priority": 6,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 1.0,
"pickup_based_on_chance": true,
"can_pickup_any_item": true,
"excluded_items": [
"minecraft:glow_ink_sac"
]
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"within_radius": 25.0,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
},
"max_dist": 35
},
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "villager"
},
{
"test": "is_family",
"subject": "other",
"value": "wandering_trader"
}
]
},
"max_dist": 35,
"must_see": false
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 35
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 9500,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_adult"
]
}
},
{
"weight": 425,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby"
]
}
},
{
"weight": 75,
"remove": {
},
"add": {
"component_groups": [
"minecraft:zombie_husk_baby",
"minecraft:zombie_husk_jockey"
]
}
}
]
},
{
"randomize": [
{
"weight": 10,
"add": {
"component_groups": [ "minecraft:can_break_doors" ]
}
},
{
"weight": 90
}
]
}
]
},
"minecraft:start_transforming": {
"add": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
},
"remove": {
"component_groups": [ "minecraft:look_to_start_zombie_transformation" ]
}
},
"minecraft:stop_transforming": {
"add": {
"component_groups": [
"minecraft:look_to_start_zombie_transformation"
]
},
"remove": {
"component_groups": [
"minecraft:start_zombie_transformation"
]
}
},
"minecraft:convert_to_zombie": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [ "minecraft:convert_to_baby_zombie" ]
},
"remove": {
"component_groups": [ "minecraft:start_zombie_transformation" ]
}
}
]
}
}
}
}

View File

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

View File

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

View File

@ -0,0 +1,480 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:mule",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:mule_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:mule_adult": {
"minecraft:experience_reward": {
"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:mule_wild": {
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player",
"zombie"
],
"interact_text": "action.interact.mount",
"seats": {
"position": [ 0.0, 0.975, -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:mule_tamed": {
"minecraft:is_tamed": {
},
"minecraft:equippable": {
"slots": [
{
"slot": 0,
"item": "saddle",
"accepted_items": [ "saddle" ],
"on_equip": {
"event": "minecraft:mule_saddled"
},
"on_unequip": {
"event": "minecraft:mule_unsaddled"
}
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": {
"position": [ 0.0, 0.975, -0.2 ]
}
},
"minecraft:inventory": {
"inventory_size": 16,
"container_type": "horse"
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"apple",
"carrot",
"golden_apple",
"appleEnchanted",
"golden_carrot",
"carrotOnAStick",
"hay_block",
"sugar",
"bread",
"wheat"
]
}
},
"minecraft:mule_unchested": {
"minecraft:interact": {
"interactions": [
{
"play_sounds": "armor.equip_generic",
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "chest"},
{ "test": "is_family", "subject": "other", "value": "player"},
{ "test": "is_sneaking", "subject": "other", "value": false }
]
},
"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": "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:mule_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:mule_saddled": {
"minecraft:is_saddled": {
},
"minecraft:input_ground_controlled": {
},
"minecraft:can_power_jump": {
},
"minecraft:behavior.player_ride_tamed": {
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "mule", "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:mule_adult",
"minecraft:mule_wild"
]
}
},
{
"weight": 20,
"add": {
"component_groups": [
"minecraft:mule_baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:mule_baby"
]
}
},
"minecraft:on_tame": {
"remove": {
"component_groups": [
"minecraft:mule_wild"
]
},
"add": {
"component_groups": [
"minecraft:mule_tamed",
"minecraft:mule_unchested"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:mule_baby"
]
},
"add": {
"component_groups": [
"minecraft:mule_adult",
"minecraft:mule_wild"
]
}
},
"minecraft:on_chest": {
"remove": {
"component_groups": [
"minecraft:mule_unchested"
]
},
"add": {
"component_groups": [
"minecraft:mule_chested"
]
}
},
"minecraft:mule_saddled": {
"add": {
"component_groups": [
"minecraft:mule_saddled"
]
}
},
"minecraft:mule_unsaddled": {
"remove": {
"component_groups": [
"minecraft:mule_saddled"
]
}
}
}
}
}

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,324 @@
{
"format_version": "1.19.60",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wandering_trader",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"managed": {
"minecraft:managed_wandering_trader": {}
},
"despawning": {
"minecraft:type_family": {
"family": [ "wandering_trader", "wandering_trader_despawning", "mob" ]
}
},
"minecraft:scared": {
"minecraft:angry": {
"duration": 5,
"broadcastAnger": true,
"broadcastRange": 10,
"broadcast_targets": [
"llama",
"trader_llama"
],
"broadcast_filters": { "test": "is_leashed_to", "subject": "other", "value": true },
"calm_event": {
"event": "minecraft:become_calm",
"target": "self"
}
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "wandering_trader", "mob" ]
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:timer": {
"looping": false,
"random_time_choices": [
{ "weight": 50, "value": 2400 },
{ "weight": 50, "value": 3600 }
],
"time_down_event": {
"event": "minecraft:start_despawn",
"target": "self"
}
},
"minecraft:spawn_entity": {
"entities": [
{
"min_wait_time": 0,
"max_wait_time": 0,
"spawn_entity": "trader_llama",
"spawn_event": "minecraft:from_wandering_trader",
"single_use": true,
"num_to_spawn": 2,
"should_leash": true
}
]
},
"minecraft:economy_trade_table": {
"display_name": "entity.wandering_trader.name",
"table": "trading/economy_trades/wandering_trader_trades.json",
"new_screen": true
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:movement": {
"value": 0.5
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_pass_doors": true,
"can_open_doors": false,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:home": {
"restriction_radius": 16
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:despawn": {
"remove_child_entities": true,
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "self", "value": "wandering_trader_despawning" },
{ "test": "has_trade_supply", "subject": "self", "value": false }
]
},
{ "test": "distance_to_nearest_player", "operator": ">", "value": 24 }
]
}
},
"minecraft:damage_sensor": {
"triggers": [
{
"cause": "entity_attack",
"deals_damage": true,
"on_damage": {
"event": "minecraft:become_scared"
}
},
{
"cause": "projectile",
"deals_damage": true,
"on_damage": {
"event": "minecraft:become_scared"
}
},
{
"cause": "magic",
"deals_damage": true,
"on_damage": {
"event": "minecraft:become_scared"
}
}
]
},
"minecraft:behavior.trade_with_player": {
"priority": 1,
"filters": {
"all_of": [
{
"all_of": [
{ "test": "in_water", "value": false }
]
},
{
"any_of": [
{ "test": "on_ground", "value": true },
{ "test": "is_sleeping", "value": true }
]
}
]
}
},
"minecraft:behavior.trade_interest": {
"priority": 3,
"within_radius": 6.0,
"interest_time": 45.0,
"remove_item_time": 1.0,
"carried_item_switch_time": 2.0,
"cooldown": 2.0
},
"minecraft:behavior.look_at_trading_player": {
"priority": 4
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 0.6
},
"minecraft:behavior.drink_potion": {
"priority": 1,
"speed_modifier": -0.2,
"potions": [
{
"id": 7, // Short invisibility
"chance": 1.0,
"filters": {
"all_of": [
{
"any_of": [
{ "test": "hourly_clock_time", "operator": ">=", "value": 18000 },
{ "test": "hourly_clock_time", "operator": "<", "value": 12000 }
]
},
{ "test": "is_visible", "subject": "self", "value": true },
{
"any_of": [
{ "test": "is_avoiding_mobs", "subject": "self", "value": true },
{
"all_of": [
{ "test": "has_component", "subject": "self", "value": "minecraft:angry" },
{ "test": "is_family", "subject": "target", "operator": "!=", "value": "player" }
]
}
]
}
]
}
},
{
"id": 8, // Long invisibility
"chance": 1.0,
"filters": {
"all_of": [
{ "test": "hourly_clock_time", "operator": ">=", "value": 12000 },
{ "test": "hourly_clock_time", "operator": "<", "value": 18000 },
{ "test": "is_visible", "subject": "self", "value": true },
{
"any_of": [
{ "test": "is_avoiding_mobs", "subject": "self", "value": true },
{ "test": "has_component", "subject": "self", "value": "minecraft:angry" }
]
}
]
}
}
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 2,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "zombie" },
{ "test": "is_family", "subject": "other", "value": "zombie_villager" },
{ "test": "is_family", "subject": "other", "value": "zombie_pigman" },
{ "test": "is_family", "subject": "other", "value": "illager" },
{ "test": "is_family", "subject": "other", "value": "vex" },
{ "test" : "is_family", "subject" : "other", "value" : "zoglin" }
]
},
"walk_speed_multiplier": 0.6,
"sprint_speed_multiplier": 0.6
}
],
"max_dist": 6
},
"minecraft:behavior.drink_milk": {
"priority": 5,
"filters": {
"all_of": [
{ "test": "is_daytime", "value" : true },
{ "test": "is_visible", "subject": "self", "value": false },
{ "test": "is_avoiding_mobs", "subject": "self", "value": false }
]
}
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 6,
"speed_multiplier": 0.6
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.6
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 8,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:nameable": {
}
},
"events": {
"minecraft:scheduled": {
"add": {
"component_groups": [
"managed"
]
}
},
"minecraft:start_despawn": {
"add": {
"component_groups": [
"despawning"
]
}
},
"minecraft:become_scared": {
"add": {
"component_groups": [
"minecraft:scared"
]
}
},
"minecraft:become_calm": {
"remove": {
"component_groups": [
"minecraft:scared"
]
}
}
}
}
}

View File

@ -0,0 +1,144 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:wither",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "50"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:boss": {
"should_darken_sky": true,
"hud_range": 55
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"test": "is_family",
"subject": "other",
"value": "undead"
}
},
"deals_damage": false
}
},
"minecraft:health": {
"value": 600,
"max": 600
},
"minecraft:collision_box": {
"width": 1,
"height": 3
},
"minecraft:fire_immune": {
},
"minecraft:loot": {
"table": "loot_tables/entities/wither_boss.json"
},
"minecraft:nameable": {
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true
},
"minecraft:movement.basic": {
"max_turn": 180.0
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:can_fly": {
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.wither_random_attack_pos_goal": {
"priority": 3
},
"minecraft:behavior.wither_target_highest_damage": {
"priority": 1
},
"minecraft:behavior.hurt_by_target": {
"priority": 2
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"entity_types": [
{
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 70
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "undead"
},
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "inanimate"
}
]
},
"max_dist": 70
}
],
"must_see": true
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_target": {
"priority": 5
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 7
},
"minecraft:type_family": {
"family": [ "wither", "skeleton", "monster", "undead", "mob" ]
},
"minecraft:persistent": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
}
}
}
}

View File

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

View File

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

View File

@ -0,0 +1,18 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:wheat_seeds",
"weight": 1
},
{
"type": "empty",
"weight": 7
}
]
}
]
}

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

View File

@ -0,0 +1,677 @@
{
"tiers": [
{
"groups": [
{
"num_to_select": 5,
"trades": [
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 2
}
],
"gives": [
{
"item": "minecraft:sea_pickle"
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 4
}
],
"gives": [
{
"item": "minecraft:slime_ball"
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 2
}
],
"gives": [
{
"item": "minecraft:glowstone"
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5
}
],
"gives": [
{
"item": "minecraft:nautilus_shell"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:tallgrass:2"
}
]
},
{
"max_uses": 8,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:reeds"
}
]
},
{
"max_uses": 4,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:pumpkin"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3
}
],
"gives": [
{
"item": "minecraft:kelp"
}
]
},
{
"max_uses": 8,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3
}
],
"gives": [
{
"item": "minecraft:cactus"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:yellow_flower"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:0"
}
]
},
{
"max_uses": 8,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:1"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:2"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:3"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:4"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:5"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:6"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:7"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:8"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:9"
}
]
},
{
"max_uses": 7,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:red_flower:10"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:wheat_seeds"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:beetroot_seeds"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:pumpkin_seeds"
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:melon_seeds"
}
]
},
{
"max_uses": 8,
"weight":6,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5
}
],
"gives": [
{
"choice": [
{
"item": "minecraft:sapling",
"functions": [
{
"function": "random_block_state",
"block_state": "sapling_type",
"values": {
"min": 0,
"max": 5
}
}
]
},
{
"item": "minecraft:mangrove_propagule"
}
]
}
]
},
{
"max_uses": 12,
"weight":16,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:dye",
"quantity": 3,
"functions": [
{
"function": "random_aux_value",
"values": {
"min": 0,
"max": 15
}
}
]
}
]
},
{
"max_uses": 8,
"weight":5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3
}
],
"gives": [
{
"item": "minecraft:coral_block",
"quantity": 1,
"functions": [
{
"function": "random_block_state",
"block_state": "coral_color",
"values": {
"min": 0,
"max": 4
}
}
]
}
]
},
{
"max_uses": 12,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:vine"
}
]
},
{
"max_uses": 12,
"weight":2,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"choice": [
{
"item": "minecraft:brown_mushroom"
},
{
"item": "minecraft:red_mushroom"
}
]
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:waterlily",
"quantity": 2
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:small_dripleaf_block",
"quantity": 2
}
]
},
{
"max_uses": 8,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:sand:0",
"quantity": 8
}
]
},
{
"max_uses": 6,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:sand:1",
"quantity": 4
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:pointed_dripstone",
"quantity": 2
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:dirt_with_roots",
"quantity": 2
}
]
},
{
"max_uses": 5,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:moss_block",
"quantity": 2
}
]
}
]
},
{
"num_to_select": 1,
"trades": [
{
"max_uses": 4,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5
}
],
"gives": [
{
"item": "minecraft:bucket:4"
}
]
},
{
"max_uses": 4,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 5
}
],
"gives": [
{
"item": "minecraft:bucket:5"
}
]
},
{
"max_uses": 6,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3
}
],
"gives": [
{
"item": "minecraft:packed_ice"
}
]
},
{
"max_uses": 6,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 6
}
],
"gives": [
{
"item": "minecraft:blue_ice"
}
]
},
{
"max_uses": 8,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"gives": [
{
"item": "minecraft:gunpowder"
}
]
},
{
"max_uses": 6,
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3
}
],
"gives": [
{
"item": "minecraft:podzol",
"quantity": 3
}
]
}
]
}
]
}
]
}

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"
}
]
}
]
}
}