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,54 @@
{
"format_version": "1.16.210",
"minecraft:entity": {
"description": {
"identifier": "minecraft:armor_stand",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:type_family": {
"family": [ "armor_stand", "inanimate", "mob" ]
},
"minecraft:collision_box": {
"width": 0.5,
"height": 1.975
},
"minecraft:health": {
"value": 6,
"max": 6
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:loot": {
"table": "loot_tables/entities/armor_stand.json"
},
"minecraft:nameable": {
},
"minecraft:persistent": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
}
}
}

View File

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

View File

@ -0,0 +1,246 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cow",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:cow_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value":0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": "wheat",
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1.1
}
},
"minecraft:cow_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/cow.json"
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breed_items": "wheat",
"breeds_with": {
"mate_type": "minecraft:cow",
"baby_type": "minecraft:cow",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
},
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject" : "other", "value" : "player"},
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "bucket:0"}
]
}
},
"use_item": true,
"transform_to_item": "bucket:1",
"play_sounds": "milk",
"interact_text": "action.interact.milk"
}
]
}
}
},
"components": {
"minecraft:type_family": {
"family": [ "cow", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:collision_box": {
"width": 0.9,
"height": 1.3
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 1.25,
"items": [
"wheat"
]
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.1
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 1.105, 0.0 ]
}
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "minecraft:spawn_adult"
},
{
"weight": 5,
"add": {
"component_groups": [
"minecraft:cow_baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:cow_baby"
]
}
},
"minecraft:entity_transformed": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:cow_adult"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:cow_baby"
]
},
"add": {
"component_groups": [
"minecraft:cow_adult"
]
}
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:cow_adult"
]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,720 @@
{
"format_version": "1.16.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:collision_box": {
"width": 0.9,
"height": 1.87
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": true,
"inherit_tamed": false,
"love_filters": { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1 }, // Wandering Trader Llamas can't fall in love
"breeds_with": {
"mate_type": "minecraft:llama",
"baby_type": "minecraft:llama",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "hay_block" ]
}
},
"minecraft:llama_wandering_trader": {
"minecraft:mark_variant": {
"value": 1
},
"minecraft:on_friendly_anger": {
"event": "minecraft:defend_wandering_trader",
"target": "self"
},
"minecraft:environment_sensor": {
// If this is a Wandering Trader's llama and it was just released from its leash, make it tame
"triggers": {
"filters": {
"all_of": [
{ "test": "is_leashed", "subject": "self", "value": false },
{ "test": "has_component", "subject": "self", "operator": "!=", "value" : "minecraft:is_tamed" }
]
},
"event": "minecraft:on_tame"
}
},
"minecraft:persistent": {
}
},
"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.25, -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
}
],
"auto_reject_items": [
{
"item": "horsearmorleather"
},
{
"item": "horsearmoriron"
},
{
"item": "horsearmorgold"
},
{
"item": "horsearmordiamond"
},
{
"item": "saddle"
}
],
"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.1, -0.2 ]
}
},
"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" : "has_equipment", "domain": "hand","subject" : "other", "value" : "chest"}
]
},
"event": "minecraft:on_chest",
"target": "self"
},
"use_item": true,
"interact_text": "action.interact.attachchest"
}
]
}
},
"minecraft:llama_chested": {
"minecraft:is_chested": {
}
},
"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:llama_defend_trader": {
"minecraft:angry": {
"duration": 10,
"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: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
}
},
"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:from_wandering_trader": {
"sequence": [
{
"add": {
"component_groups": [
"minecraft:llama_adult",
"minecraft:llama_wandering_trader"
]
}
},
{
"trigger": "minecraft:add_attributes"
}
]
},
"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:defend_wandering_trader": {
"add": {
"component_groups": [
"minecraft:llama_defend_trader"
]
}
},
"minecraft:become_angry": {
"add": {
"component_groups": [
"minecraft:llama_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"component_groups": [
"minecraft:llama_angry",
"minecraft:llama_angry_wolf",
"minecraft:llama_defend_trader"
]
}
},
"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,322 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pig",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:pig_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "carrot", "beetroot", "potato" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1.1
}
},
"minecraft:pig_transform": {
"minecraft:transformation": {
"into": "minecraft:pig_zombie",
"delay": 0.5
}
},
"minecraft:pig_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:loot": {
"table": "loot_tables/entities/pig.json"
},
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"mate_type": "minecraft:pig",
"baby_type": "minecraft:pig",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "carrot", "beetroot", "potato" ]
}
},
"minecraft:pig_unsaddled": {
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"},
"event": "minecraft:on_saddled"
},
"use_item": true,
"play_sounds": "saddle",
"interact_text": "action.interact.saddle"
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"zombie"
],
"seats": {
"position": [ 0.0, 0.63, 0.0 ]
}
}
},
"minecraft:pig_saddled": {
"minecraft:is_saddled": {
},
"minecraft:loot": {
"table": "loot_tables/entities/pig_saddled.json"
},
"minecraft:boostable": {
"speed_multiplier": 2.0,
"duration": 3.0,
"boost_items": [
{
"item": "carrotOnAStick",
"damage": 2,
"replace_item": "fishing_rod"
}
]
},
"minecraft:rideable": {
"seat_count": 1,
"interact_text": "action.interact.mount",
"family_types": [
"player"
],
"seats": {
"position": [ 0.0, 0.63, 0.0 ]
}
},
"minecraft:item_controllable": {
"control_items": "carrotOnAStick"
},
"minecraft:behavior.controlled_by_player": {
"priority": 0
}
}
},
"components": {
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": [
{
"test": "is_family",
"subject": "other",
"value": "lightning"
},
{
"test": "is_difficulty",
"operator": "!=",
"value": "peaceful"
}
],
"event": "become_zombie"
},
"deals_damage": false
}
},
"minecraft:type_family": {
"family": [ "pig", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 10,
"max": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.75
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
},
"minecraft:behavior.float": {
"priority": 2
},
"minecraft:behavior.panic": {
"priority": 3,
"speed_multiplier": 1.25
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.2,
"items": [
"potato",
"carrot",
"beetroot",
"carrotOnAStick"
]
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"become_zombie": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_transform"
]
}
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "minecraft:spawn_adult"
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_baby"
]
}
}
]
},
"minecraft:entity_born": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:pig_baby"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:pig_baby"
]
},
"add": {
"component_groups": [
"minecraft:pig_adult",
"minecraft:pig_unsaddled"
]
}
},
"minecraft:on_saddled": {
"remove": {
"component_groups": [
"minecraft:pig_unsaddled"
]
},
"add": {
"component_groups": [
"minecraft:pig_saddled"
]
}
},
"minecraft:spawn_adult": {
"add": {
"component_groups": [
"minecraft:pig_adult",
"minecraft:pig_unsaddled"
]
}
}
}
}
}

View File

@ -0,0 +1,60 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:rotten_flesh",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player_or_pets"
},
{
"condition": "random_chance_with_looting",
"chance": 0.025,
"looting_multiplier": 0.01
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:iron_ingot",
"weight": 1
},
{
"type": "item",
"name": "minecraft:carrot",
"weight": 1
},
{
"type": "item",
"name": "minecraft:potato",
"weight": 1
}
]
}
]
}

View File

@ -0,0 +1,76 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:rotten_flesh",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 1
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:gold_nugget",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 1
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player_or_pets"
},
{
"condition": "random_chance_with_looting",
"chance": 0.025,
"looting_multiplier": 0.01
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:gold_ingot",
"weight": 1
}
]
}
]
}

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