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,447 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:axolotl",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"attack_cooldown": {
"minecraft:attack_cooldown": {
"attack_cooldown_time": 120.0,
"attack_cooldown_complete_event": {
"event": "attack_cooldown_complete_event",
"target": "self"
}
}
},
"axolotl_lucy": {
"minecraft:variant": { "value": 0 }
},
"axolotl_cyan": {
"minecraft:variant": { "value": 1 }
},
"axolotl_gold": {
"minecraft:variant": { "value": 2 }
},
"axolotl_wild": {
"minecraft:variant": { "value": 3 }
},
"axolotl_blue": {
"minecraft:variant": { "value": 4 }
},
"axolotl_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": "tropical_fish_bucket",
"transform_to_item": "water_bucket:0",
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 5,
"speed_multiplier": 1.1
}
},
"axolotl_adult": {
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:behavior.breed": {
"priority": 1,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breed_items": "tropical_fish_bucket",
"transform_to_item": "water_bucket:0",
"breeds_with": {
"mate_type": "minecraft:axolotl",
"baby_type": "minecraft:axolotl",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"mutation_factor": {
"variant": 0.00083 // roughly 1/1200
}
}
},
"axolotl_in_water": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test": "in_water", "operator": "!=", "value": true },
"event": "start_drying_out"
}
]
}
},
"axolotl_dried": {
"minecraft:damage_over_time": {
"damage_per_hurt": 1,
"time_between_hurt": 0
}
},
"axolotl_on_land": {
"minecraft:drying_out_timer": {
"total_time": 300,
"water_bottle_refill_time": 90,
"dried_out_event": {
"event": "dried_out"
},
"stopped_drying_out_event": {
"event": "stop_drying_out"
},
"recover_after_dried_out_event": {
"event": "recover_after_dried_out"
}
}
},
"axolotl_on_land_in_rain": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test": "in_water_or_rain", "operator": "!=", "value": true },
"event": "start_drying_out"
},
{
"filters": { "test": "in_water", "operator": "==", "value": true },
"event": "enter_water"
}
]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "axolotl", "mob" ]
},
"minecraft:collision_box": {
"width": 0.75,
"height": 0.42
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true,
"breathes_air": true,
"generates_bubbles": false
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 14
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "lightning",
"deals_damage": true,
"damage_multiplier": 2000.0
}
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": true,
"can_swim": true,
"can_walk": true,
"can_sink": false,
"avoid_damage_blocks": true
},
"minecraft:movement.amphibious": {
"max_turn": 15.0
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:underwater_movement": {
"value": 0.2
},
"minecraft:jump.static": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:attack": {
"damage": 2
},
"minecraft:combat_regeneration": {},
"minecraft:behavior.play_dead": {
"priority": 0,
"duration": 10,
"force_below_health": 8,
"random_start_chance": 0.33,
"random_damage_range": [ 0, 2 ],
"damage_sources": [
"contact",
"entity_attack",
"entity_explosion",
"magic",
"projectile",
"thorns",
"wither"
],
"apply_regeneration": true,
"filters": { "test": "in_water", "operator": "==", "value": true }
},
"minecraft:behavior.tempt": {
"priority": 2,
"speed_multiplier": 1.1,
"can_tempt_vertically": true,
"items": [
"tropical_fish_bucket"
]
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"must_see": true,
"reselect_targets": true,
"within_radius": 20.0,
"must_see_forget_duration": 17.0,
"entity_types": [
{
"filters": {
"all_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:attack_cooldown" },
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "squid" },
{ "test": "is_family", "subject": "other", "value": "fish" }
]
}
]
},
"max_dist": 8
},
{
"filters": {
"all_of": [
{ "test": "in_water", "subject": "other", "value": true },
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "drowned" },
{ "test": "is_family", "subject": "other", "value": "guardian" },
{ "test": "is_family", "subject": "other", "value": "guardian_elder" }
]
}
]
},
"max_dist": 8
}
]
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"on_kill": {
"event": "killed_enemy_event",
"target": "self"
}
},
"minecraft:behavior.move_to_water": {
"priority": 6,
"search_range": 16,
"search_height": 5,
"search_count": 1,
"goal_radius": 0.1
},
"minecraft:behavior.swim_idle": {
"priority": 7,
"idle_time": 5.0,
"success_rate": 0.05
},
"minecraft:behavior.random_swim": {
"priority": 8,
"interval": 0,
"xz_dist": 30,
"y_dist": 15
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"interval": 100
},
"minecraft:behavior.look_at_player": {
"priority": 10,
"target_distance": 6.0,
"probability": 0.02
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"add": {
"component_groups": [
"axolotl_adult",
"axolotl_in_water"
]
}
},
{
"randomize": [
{
"weight": 25,
"add": {
"component_groups": [ "axolotl_cyan" ]
}
},
{
"weight": 25,
"add": {
"component_groups": [ "axolotl_gold" ]
}
},
{
"weight": 25,
"add": {
"component_groups": [ "axolotl_lucy" ]
}
},
{
"weight": 25,
"add": {
"component_groups": [ "axolotl_wild" ]
}
}
]
}
]
},
"attack_cooldown_complete_event": {
"remove": {
"component_groups": [
"attack_cooldown"
]
}
},
"killed_enemy_event": {
"add": {
"component_groups": [
"attack_cooldown"
]
}
},
"minecraft:entity_born": {
"sequence": [
{
"remove": {
"component_groups": [
"axolotl_adult"
]
},
"add": {
"component_groups": [
"axolotl_baby",
"axolotl_in_water"
]
}
},
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:variant"
},
"add": { "component_groups": [ "axolotl_blue" ] }
}
]
},
"minecraft:ageable_grow_up": {
"remove": { "component_groups": [ "axolotl_baby" ] },
"add": { "component_groups": [ "axolotl_adult" ] }
},
"stop_drying_out": {
"remove": {
"component_groups": [
"axolotl_on_land",
"axolotl_dried"
]
},
"add": {
"component_groups": [ "axolotl_on_land_in_rain" ]
}
},
"start_drying_out": {
"remove": {
"component_groups": [
"axolotl_on_land_in_rain",
"axolotl_in_water"
]
},
"add": {
"component_groups": [ "axolotl_on_land" ]
}
},
"dried_out": {
"add": {
"component_groups": [ "axolotl_dried" ]
}
},
"recover_after_dried_out": {
"remove": {
"component_groups": [ "axolotl_dried" ]
}
},
"enter_water": {
"remove": {
"component_groups": [
"axolotl_on_land",
"axolotl_on_land_in_rain",
"axolotl_dried"
]
},
"add": {
"component_groups": [
"axolotl_in_water"
]
}
}
}
}
}

View File

@ -0,0 +1,309 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:creeper",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:exploding": {
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 3,
"causes_fire": false,
"destroy_affected_by_griefing": true
}
},
"minecraft:charged_creeper": {
"minecraft:is_charged": {
}
},
"minecraft:charged_exploding": {
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 6,
"causes_fire": false,
"destroy_affected_by_griefing": true
}
},
"minecraft:forced_exploding": {
"minecraft:target_nearby_sensor": {
},
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 3,
"causes_fire": false,
"destroy_affected_by_griefing": true
},
"minecraft:on_target_escape": {
}
},
"minecraft:forced_charged_exploding": {
"minecraft:target_nearby_sensor": {
},
"minecraft:explode": {
"fuse_length": 1.5,
"fuse_lit": true,
"power": 6,
"causes_fire": false,
"destroy_affected_by_griefing": true
},
"minecraft:on_target_escape": {
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "creeper", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
},
"minecraft:movement": {
"value": 0.2
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:loot": {
"table": "loot_tables/entities/creeper.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
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": { "test": "is_family", "subject": "other", "value": "lightning"
},
"event": "minecraft:become_charged"
},
"deals_damage": false
}
},
"minecraft:target_nearby_sensor": {
"inside_range": 2.5,
"outside_range": 6.0,
"must_see": true,
"on_inside_range": {
"event": "minecraft:start_exploding",
"target": "self"
},
"on_outside_range": {
"event": "minecraft:stop_exploding",
"target": "self"
},
"on_vision_lost_inside_range": {
"event": "minecraft:stop_exploding",
"target": "self"
}
},
"minecraft:interact": {
"interactions": {
"on_interact": {
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "has_equipment", "domain": "hand", "subject": "other", "value": "flint_and_steel" },
{ "test": "has_component", "operator": "!=", "value": "minecraft:explode" }
]
},
"event": "minecraft:start_exploding_forced",
"target": "self"
},
"hurt_item": 1,
"swing": true,
"play_sounds": "ignite",
"interact_text": "action.interact.creeper"
}
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.swell": {
"start_distance": 2.5,
"stop_distance": 6.0,
"priority": 2
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.25,
"track_target": false,
"reach_multiplier": 0.0 // this prevents creepers from ocasionally performing melee attacks while using this goal to chase
},
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "ocelot"},
{ "test" : "is_family", "subject" : "other", "value" : "cat"}
]
},
"max_dist": 6,
"sprint_speed_multiplier": 1.2
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 6,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 6
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"must_see": true,
"must_see_forget_duration": 3.0,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 2
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:on_target_escape": {
"event": "minecraft:stop_exploding",
"target": "self"
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:start_exploding_forced": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:forced_exploding"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:forced_charged_exploding"
]
}
}
]
},
"minecraft:start_exploding": {
"sequence": [
{
"filters": {
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:exploding"
]
}
},
{
"filters": {
"test": "has_component",
"value": "minecraft:is_charged"
},
"add": {
"component_groups": [
"minecraft:charged_exploding"
]
}
}
]
},
"minecraft:stop_exploding": {
"remove": {
"component_groups": [
"minecraft:exploding"
]
}
},
"minecraft:become_charged": {
"remove": {
"component_groups": [
"minecraft:exploding"
]
},
"add": {
"component_groups": [
"minecraft:charged_creeper"
]
}
}
}
}
}

View File

@ -0,0 +1,623 @@
{
"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" },
{ "test": "is_family", "subject": "other", "value": "axolotl" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20
},
{
"filters": {
"all_of": [
{
"any_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
{
"any_of": [
{ "test": "in_water", "subject": "other", "value": true },
{ "test": "is_daytime", "value": false }
]
}
]
},
"max_dist": 20,
"must_see": false
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "baby_turtle" },
{ "test": "in_water", "subject": "other", "operator": "!=", "value": true }
]
},
"max_dist": 20
}
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:on_target_acquired": {
"event": "minecraft:has_target",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:lost_target",
"target": "self"
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 15,
"remove": {
},
"add": {
"component_groups": [
"minecraft:mode_switcher",
"minecraft:ranged_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 85,
"randomize": [
{
"weight": 95,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight": 5,
"remove": {
},
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
}
]
}
]
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
"minecraft:switch_to_melee": {
"remove": {
"component_groups": [
"minecraft:ranged_mode"
]
},
"add": {
"component_groups": [
"minecraft:melee_mode"
]
}
},
"minecraft:switch_to_ranged": {
"remove": {
"component_groups": [
"minecraft:melee_mode"
]
},
"add": {
"component_groups": [
"minecraft:ranged_mode"
]
}
},
"minecraft:has_target": {
"remove": {
"component_groups": [
"minecraft:wander_mode"
]
},
"add": {
"component_groups": [
"minecraft:hunter_mode"
]
}
},
"minecraft:lost_target": {
"remove": {
"component_groups": [
"minecraft:hunter_mode"
]
},
"add": {
"component_groups": [
"minecraft:wander_mode"
]
}
}
}
}
}

View File

@ -0,0 +1,118 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:elder_guardian",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:collision_box": {
"width": 1.99,
"height": 1.99
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/elder_guardian.json"
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
},
"minecraft:movement.sway": {
},
"minecraft:jump.static": {
},
"minecraft:health": {
"value": 80,
"max": 80
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:underwater_movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 5
},
"minecraft:follow_range": {
"value": 16,
"max": 16
},
"minecraft:breathable": {
"breathes_water": true
},
"minecraft:home": {
"restriction_radius": 16
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"},
{ "test" : "is_family", "subject" : "other", "value" : "axolotl"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:behavior.guardian_attack": {
"priority": 4
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_swim": {
"priority": 7,
"speed_multiplier": 0.5,
"avoid_surface": false
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 12.0,
"probability": 0.01
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:type_family": {
"family": [ "guardian_elder", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
}
}
}

View File

@ -0,0 +1,111 @@
{
"format_version": "1.17.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:endermite",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 3 : 0"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:type_family": {
"family": [ "endermite", "arthropod", "monster", "lightweight", "mob" ]
},
"minecraft:collision_box": {
"width": 0.4,
"height": 0.3
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 2
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"track_target": true
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 5,
"must_see": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "enderman"
}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:block_climber": {
}
}
}
}

View File

@ -0,0 +1,887 @@
{
"format_version": "1.17.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:fox",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:fox_baby": {
"minecraft:is_baby": {
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [
"sweet_berries",
"glow_berries"
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 9,
"speed_multiplier": 1.1
}
},
"minecraft:fox_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/fox.json"
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1.0
},
"minecraft:breedable": {
"require_tame": false,
"breed_items": [
"sweet_berries",
"glow_berries"
],
"breeds_with": {
"mate_type": "minecraft:fox",
"baby_type": "minecraft:fox",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
}
}
},
"minecraft:fox_with_item": {
"minecraft:equipment": {
"table": "loot_tables/entities/fox_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.mainhand",
"drop_chance": 1.0
}
]
}
},
"minecraft:trusting_fox" : {
"minecraft:trust": {},
"minecraft:behavior.defend_trusted_target": {
"priority": 0,
"within_radius": 25,
"must_see": false,
"aggro_sound": "mad",
"sound_chance": 0.05,
"on_defend_start": {
"event": "minecraft:fox_configure_defending",
"target": "self"
}
}
},
"minecraft:docile_fox": {
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.25
},
"minecraft:behavior.melee_attack": {
"priority": 10,
"track_target": true,
"require_complete_path": true,
"reach_multiplier": 1.5
}
},
"minecraft:defending_fox": {
"minecraft:behavior.melee_attack": {
"priority": 1,
"track_target": true,
"require_complete_path": true,
"reach_multiplier": 1.5
},
"minecraft:behavior.panic": {
"priority": 2,
"speed_multiplier": 1.25
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{ "test": "is_daytime", "value": true },
{ "test": "has_target", "operator": "==", "value": false }
]
},
"event": "minecraft:fox_configure_docile_day"
},
{
"filters": {
"all_of": [
{ "test": "is_daytime", "value": false },
{ "test": "has_target", "operator": "==", "value": false }
]
},
"event": "minecraft:fox_configure_docile_night"
}
]
}
},
"minecraft:fox_red": {
"minecraft:variant": {
"value": 0
},
"minecraft:behavior.nearest_prioritized_attackable_target": {
"priority": 6,
"attack_interval": 2,
"reselect_targets": true,
"target_search_height": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "rabbit"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "cod"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "salmon"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "tropicalfish"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 12,
"priority": 0
}
]
}
},
"minecraft:fox_arctic": {
"minecraft:variant": {
"value": 1
},
"minecraft:behavior.nearest_prioritized_attackable_target": {
"priority": 6,
"attack_interval": 2,
"reselect_targets": true,
"target_search_height": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "rabbit"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "chicken"
},
"max_dist": 12,
"priority": 1
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "cod"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "salmon"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "tropicalfish"
},
"max_dist": 12,
"priority": 0
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 12,
"priority": 1
}
]
}
},
"minecraft:fox_thunderstorm": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
{ "test": "is_daytime", "value": true }
]
},
"event": "minecraft:fox_configure_day"
},
{
"filters": {
"all_of": [
{ "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" },
{ "test": "is_daytime", "value": false }
]
},
"event": "minecraft:fox_configure_night"
}
]
},
"minecraft:behavior.find_cover": {
"priority": 0,
"speed_multiplier": 1,
"cooldown_time": 0.0
}
},
"minecraft:fox_day": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
"event": "minecraft:fox_configure_thunderstorm"
},
{
"filters": { "test": "is_daytime", "value": false },
"event": "minecraft:fox_configure_night"
}
]
},
"minecraft:behavior.nap": {
"priority": 8,
"cooldown_min": 2.0,
"cooldown_max": 7.0,
"mob_detect_dist": 12.0,
"mob_detect_height": 6.0,
"can_nap_filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "on_ground",
"subject": "self",
"operator": "==",
"value": true
},
{
"test": "is_underground",
"subject": "self",
"operator": "==",
"value": true
},
{
"test": "weather_at_position",
"subject": "self",
"operator": "!=",
"value": "thunderstorm"
}
]
},
"wake_mob_exceptions": {
"any_of": [
{
"test": "trusts",
"subject": "other",
"operator": "==",
"value": true
},
{
"test": "is_family",
"subject": "other",
"operator": "==",
"value": "fox"
},
{
"test": "is_sneaking",
"subject": "other",
"operator": "==",
"value": true
}
]
}
},
"minecraft:behavior.find_cover": {
"priority": 9,
"speed_multiplier": 1,
"cooldown_time": 5.0
}
},
"minecraft:fox_night": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "weather_at_position", "value" : "thunderstorm" },
"event": "minecraft:fox_configure_thunderstorm"
},
{
"filters": { "test": "is_daytime", "value": true },
"event": "minecraft:fox_configure_day"
}
]
},
"minecraft:behavior.stroll_towards_village": {
"priority": 11,
"speed_multiplier": 1.0,
"goal_radius": 3.0,
"cooldown_time": 10.0,
"search_range": 32,
"start_chance": 0.005
}
},
"minecraft:fox_ambient_normal": {
"minecraft:ambient_sound_interval": {
"event_name": "ambient"
}
},
"minecraft:fox_ambient_sleep": {
"minecraft:ambient_sound_interval": {
"event_name": "sleep"
}
},
"minecraft:fox_ambient_night": {
"minecraft:ambient_sound_interval": {
"event_name": "screech",
"value": 80,
"range": 160
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "fox", "lightweight", "mob" ]
},
"minecraft:breathable": {
"totalSupply": 15,
"suffocateTime": 0
},
"minecraft:equip_item": {
},
"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.6,
"height": 0.7
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:attack": {
"damage": 2
},
"minecraft:shareables": {
"all_items": true,
"all_items_max_amount": 1,
"items": [
{ "item": "minecraft:apple", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:appleEnchanted", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:baked_potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beef", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beetroot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:beetroot_soup", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:bread", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:carrot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:chicken", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:chorus_fruit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:clownfish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_beef", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_chicken", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_fish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_porkchop", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_rabbit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cooked_salmon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:cookie", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:dried_kelp", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:fish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:golden_apple", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:golden_carrot", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:melon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:mushroom_stew", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:muttonCooked", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:muttonRaw", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:poisonous_potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:porkchop", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:potato", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:pufferfish", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:pumpkin_pie", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rabbit", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rabbit_stew", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:rotten_flesh", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:salmon", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:spider_eye", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:sweet_berries", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:glow_berries", "priority": 0, "max_amount": 1 },
{ "item": "minecraft:suspicious_stew", "priority": 0, "max_amount": 1 }
]
},
"minecraft:damage_sensor": {
"triggers": [
{
"on_damage": {
"filters": {
"test": "is_block",
"subject": "block",
"value": "minecraft:sweet_berry_bush"
}
},
"deals_damage": false
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.equip_item": {
"priority": 2
},
"minecraft:behavior.avoid_mob_type": {
"priority": 5,
"entity_types": [
{
"filters": {
"any_of": [
{
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "trusts", "subject": "other", "operator": "!=", "value": true },
{ "test": "is_sneaking", "subject": "other", "operator": "!=", "value": true }
]
},
{ "test": "is_family", "subject": "other", "value": "polarbear" },
{ "test": "is_family", "subject": "other", "value": "wolf" }
]
},
"max_dist": 10,
"walk_speed_multiplier": 1.0,
"sprint_speed_multiplier": 1.5
}
]
},
"minecraft:behavior.tempt": {
"priority": 3,
"speed_multiplier": 0.5,
"within_radius": 16,
"can_get_scared": true,
"items": [
"sweet_berries",
"glow_berries"
]
},
"minecraft:behavior.stalk_and_pounce_on_target": {
"priority": 7,
"stalk_speed": 1.2,
"max_stalk_dist": 12.0,
"leap_height": 0.9,
"leap_dist": 0.8,
"pounce_max_dist": 5.0,
"interest_time": 2.0,
"stuck_time": 2.0,
"strike_dist": 2.0,
"stuck_blocks": { "test": "is_block", "subject": "block", "operator": "==", "value": "snow_layer" }
},
"minecraft:behavior.pickup_items": {
"priority": 11,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 0.5
},
"minecraft:behavior.eat_carried_item": {
"priority": 12,
"delay_before_eating": 28
},
"minecraft:behavior.random_look_around_and_sit": {
"priority": 12,
"min_look_count": 2,
"max_look_count": 5,
"min_look_time": 80,
"max_look_time": 100,
"probability": 0.001
},
"minecraft:behavior.raid_garden": {
"priority": 12,
"blocks": [
"minecraft:sweet_berry_bush",
"minecraft:cave_vines_head_with_berries",
"minecraft:cave_vines_body_with_berries"
],
"speed_multiplier": 1.2,
"search_range": 12,
"search_height": 2,
"goal_radius": 0.8,
"max_to_eat": 0,
"initial_eat_delay": 2
},
"minecraft:behavior.random_stroll": {
"priority": 13,
"speed_multiplier": 0.8
},
"minecraft:behavior.look_at_player": {
"priority": 14,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 15
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
"mass": 0.6
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:scheduler": {
"min_delay_secs": 0,
"max_delay_secs": 0,
"scheduled_events": [
{
"filters": [
{ "test": "is_sleeping", "value": true }
],
"event": "minecraft:ambient_sleep"
},
{
"filters": {
"all_of":[
{ "test" : "is_daytime", "value" : false },
{ "test": "distance_to_nearest_player", "operator": ">", "value": 16 }
]
},
"event": "minecraft:ambient_night"
},
{
"filters": {
"all_of":[
{ "test" : "is_sleeping", "value" : false },
{
"any_of":[
{ "test" : "is_daytime", "value" : true },
{ "test": "distance_to_nearest_player", "operator": "<=", "value": 16 }
]
}
]
},
"event": "minecraft:ambient_normal"
}
]
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": { "test" : "is_daytime", "value" : false },
"event": "minecraft:fox_configure_night"
},
{
"filters": { "test" : "is_daytime", "value" : true },
"event": "minecraft:fox_configure_day"
}
]
},
"minecraft:block_climber": {
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"minecraft:fox_adult",
"minecraft:fox_with_item",
"minecraft:docile_fox"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"minecraft:fox_baby",
"minecraft:docile_fox"
]
}
}
]
},
{
"filters": {
"test": "is_snow_covered",
"value": true
},
"add": { "component_groups": [ "minecraft:fox_arctic" ] }
},
{
"filters": {
"test": "is_snow_covered",
"value": false
},
"add": { "component_groups": [ "minecraft:fox_red" ] }
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:fox_baby",
"minecraft:trusting_fox",
"minecraft:docile_fox"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:fox_baby"
]
},
"add": {
"component_groups": [
"minecraft:fox_adult"
]
}
},
"minecraft:fox_configure_thunderstorm": {
"remove": {
"component_groups": [
"minecraft:fox_night",
"minecraft:fox_day"
]
},
"add": {
"component_groups": [
"minecraft:fox_thunderstorm"
]
}
},
"minecraft:fox_configure_day": {
"remove": {
"component_groups": [
"minecraft:fox_night",
"minecraft:fox_thunderstorm"
]
},
"add": {
"component_groups": [
"minecraft:fox_day"
]
}
},
"minecraft:fox_configure_night": {
"remove": {
"component_groups": [
"minecraft:fox_day",
"minecraft:fox_thunderstorm"
]
},
"add": {
"component_groups": [
"minecraft:fox_night"
]
}
},
"minecraft:ambient_normal": {
"add": {
"component_groups": [
"minecraft:fox_ambient_normal"
]
}
},
"minecraft:ambient_sleep": {
"add": {
"component_groups": [
"minecraft:fox_ambient_sleep"
]
}
},
"minecraft:ambient_night": {
"add": {
"component_groups": [
"minecraft:fox_ambient_night"
]
}
},
"minecraft:fox_configure_defending": {
"remove": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_day",
"minecraft:fox_night"
]
},
"add": {
"component_groups": [
"minecraft:defending_fox"
]
}
},
"minecraft:fox_configure_docile_day": {
"remove": {
"component_groups": [
"minecraft:defending_fox",
"minecraft:fox_night"
]
},
"add": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_day"
]
}
},
"minecraft:fox_configure_docile_night": {
"remove": {
"component_groups": [
"minecraft:defending_fox",
"minecraft:fox_day"
]
},
"add": {
"component_groups": [
"minecraft:docile_fox",
"minecraft:fox_night"
]
}
}
}
}
}

View File

@ -0,0 +1,448 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:goat",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"goat_baby": {
"minecraft:is_baby": {},
"minecraft:scale": {
"value": 0.5
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": "wheat",
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:attack": {
"damage": 1
}
},
"goat_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/goat.json"
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 0.6
},
"minecraft:breedable": {
"require_tame": false,
"breed_items": "wheat",
"breeds_with": {
"mate_type": "minecraft:goat",
"baby_type": "minecraft:goat",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"mutation_factor": {
"variant": 0
}
},
"minecraft:attack": {
"damage": 2
}
},
"goat_default": {
"minecraft:variant": {
"value": 0
}
},
"goat_screamer": {
"minecraft:variant": {
"value": 1
}
},
"interact_default": {
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"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_suspiciously",
"interact_text": "action.interact.milk"
}
]
}
},
"interact_screamer": {
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"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.screamer",
"interact_text": "action.interact.milk"
}
]
}
},
"ram_default": {
"minecraft:behavior.ram_attack": {
"priority": 5,
"run_speed": 0.7,
"ram_speed": 1.8,
"min_ram_distance": 4,
"ram_distance": 7,
"knockback_force": 2.5,
"knockback_height": 0.04,
"pre_ram_sound": "pre_ram",
"ram_impact_sound": "ram_impact",
"cooldown_range": [
30,
300
],
"on_start": [
{
"event": "start_event",
"target": "self"
}
]
}
},
"ram_screamer": {
"minecraft:behavior.ram_attack": {
"priority": 5,
"run_speed": 0.7,
"ram_speed": 1.8,
"min_ram_distance": 4,
"ram_distance": 7,
"knockback_force": 2.5,
"knockback_height": 0.04,
"pre_ram_sound": "pre_ram.screamer",
"ram_impact_sound": "ram_impact.screamer",
"cooldown_range": [
5,
15
],
"on_start": [
{
"event": "start_event",
"target": "self"
}
]
}
},
"attack_cooldown": {
"minecraft:attack_cooldown": {
"attack_cooldown_time": [
30,
40
],
"attack_cooldown_complete_event": {
"event": "attack_cooldown_complete_event",
"target": "self"
}
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:behavior.jump_to_block": {
"priority": 8,
"search_width": 10,
"search_height": 10,
"minimum_path_length": 8,
"minimum_distance": 1,
"scale_factor": 0.6,
"cooldown_range": [
30,
60
]
},
"minecraft:genetics": {
"mutation_rate": 0.02,
"genes": [
{
"name": "goat_variant",
"use_simplified_breeding": true,
"allele_range": {
"range_min": 1,
"range_max": 100
},
"genetic_variants": [
{
"main_allele": {
"range_min": 1,
"range_max": 2
},
"birth_event": {
"event": "minecraft:born_screamer",
"target": "self"
}
},
{
"main_allele": {
"range_min": 3,
"range_max": 100
},
"birth_event": {
"event": "minecraft:born_default",
"target": "self"
}
}
]
}
]
},
"minecraft:type_family": {
"family": [
"goat",
"animal"
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true,
"blocks_to_avoid": [
{
"name": "minecraft:powder_snow"
}
]
},
"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.4
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1
},
"minecraft:behavior.tempt": {
"priority": 4,
"speed_multiplier": 0.75,
"items": [
"wheat"
]
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 6,
"within_radius": 16,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "goat"
},
{
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:attack_cooldown"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": true,
"damage_modifier": -10
}
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"speed_multiplier": 0.6
},
"minecraft:behavior.look_at_player": {
"priority": 10,
"look_distance": 6,
"probability": 0.02
},
"minecraft:behavior.random_look_around": {
"priority": 11
},
"minecraft:leashable": {
"soft_distance": 4,
"hard_distance": 6,
"max_distance": 10
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"goat_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"goat_baby"
]
}
}
]
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"goat_baby"
]
}
},
"minecraft:born_default": {
"add": {
"component_groups": [
"goat_default",
"ram_default",
"interact_default"
]
}
},
"minecraft:born_screamer": {
"add": {
"component_groups": [
"goat_screamer",
"ram_screamer",
"interact_screamer"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"goat_baby"
]
},
"add": {
"component_groups": [
"goat_adult"
]
}
},
"start_event": {
"add": {
"component_groups": [
"attack_cooldown"
]
}
},
"attack_cooldown_complete_event": {
"remove": {
"component_groups": [
"attack_cooldown"
]
}
}
}
}
}

View File

@ -0,0 +1,213 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:guardian",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:guardian_aggressive": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"},
{ "test" : "is_family", "subject" : "other", "value" : "axolotl"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:target_nearby_sensor": {
"inside_range": 3.0,
"outside_range": 4.0,
"on_inside_range": {
"event": "minecraft:target_too_close",
"target": "self"
}
},
"minecraft:behavior.guardian_attack": {
"priority": 4
}
},
"minecraft:guardian_passive": {
"minecraft:timer": {
"time": [ 1, 3 ],
"looping": false,
"time_down_event": {
"event": "minecraft:target_far_enough",
"target": "self"
}
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {"test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 8,
"walk_speed_multiplier": 1,
"sprint_speed_multiplier": 1
}
]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
},
"minecraft:nameable": {
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:health": {
"value": 30,
"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.12
},
"minecraft:underwater_movement": {
"value": 0.12
},
"minecraft:attack": {
"damage": 5
},
"minecraft:follow_range": {
"value": 16,
"max": 16
},
"minecraft:navigation.generic": {
"is_amphibious": true,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": true
},
"minecraft:movement.sway": {
},
"minecraft:jump.static": {
},
"minecraft:breathable": {
"breathes_water": true
},
"minecraft:loot": {
"table": "loot_tables/entities/guardian.json"
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:home": {
"restriction_radius": 16
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "is_family", "subject" : "other", "value" : "squid"},
{ "test" : "is_family", "subject" : "other", "value" : "axolotl"}
]
},
"max_dist": 16
}
],
"attack_interval_min": 1.0,
"must_see": true
},
"minecraft:target_nearby_sensor": {
"inside_range": 3.0,
"outside_range": 4.0,
"on_inside_range": {
"event": "minecraft:target_too_close",
"target": "self"
}
},
"minecraft:behavior.guardian_attack": {
"priority": 4
},
"minecraft:behavior.move_towards_home_restriction": {
"priority": 5,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_swim": {
"priority": 7,
"speed_multiplier": 1.0,
"interval": 80,
"avoid_surface": false
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 12.0,
"probability": 0.01
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:type_family": {
"family": [ "guardian", "monster", "mob" ]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:target_too_close": {
"remove": {
"component_groups": [
"minecraft:guardian_aggressive"
]
},
"add": {
"component_groups": [
"minecraft:guardian_passive"
]
}
},
"minecraft:target_far_enough": {
"remove": {
"component_groups": [
"minecraft:guardian_passive"
]
},
"add": {
"component_groups": [
"minecraft:guardian_aggressive"
]
}
}
}
}
}

View File

@ -0,0 +1,196 @@
{
"format_version": "1.17.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"component_groups": {
"minecraft:add_bad_omen": {
"minecraft:spell_effects": {
"add_effects": [
{
"effect": "bad_omen",
"duration": 6000,
"display_on_screen_animation": true
}
]
},
"minecraft:timer": {
"time": [ 0.0, 0.0 ],
"looping": false,
"time_down_event": {
"event": "minecraft:clear_add_bad_omen",
"target": "self"
}
}
},
"minecraft:clear_bad_omen_spell_effect": {
"minecraft:spell_effects": {
}
},
"minecraft:raid_trigger": {
"minecraft:raid_trigger": {
"triggered_event": {
"event": "minecraft:remove_raid_trigger",
"target": "self"
}
},
"minecraft:spell_effects": {
"remove_effects": "bad_omen"
}
}
},
"components": {
"minecraft:experience_reward": {
"on_death": "Math.Min(query.player_level * 7, 100)"
},
"minecraft:type_family": {
"family": [ "player" ]
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:loot": {
"table": "loot_tables/empty.json"
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.8
},
"minecraft:can_climb": {
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 1
},
"minecraft:player.saturation": {
"value": 20
},
"minecraft:player.exhaustion": {
"value": 0,
"max": 4
},
"minecraft:player.level": {
"value": 0,
"max": 24791
},
"minecraft:player.experience": {
"value": 0,
"max": 1
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": -1,
"inhale_time": 3.75,
"generates_bubbles": false
},
"minecraft:nameable": {
"always_show": true,
"allow_name_tag_renaming": false
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": true
},
"minecraft:insomnia": {
"days_until_insomnia": 3
},
"minecraft:rideable": {
"seat_count": 2,
"family_types": [
"parrot_tame"
],
"pull_in_entities": true,
"seats": [
{
"position": [ 0.4, -0.2, -0.1 ],
"min_rider_count": 0,
"max_rider_count": 0,
"lock_rider_rotation": 0
},
{
"position": [ -0.4, -0.2, -0.1 ],
"min_rider_count": 1,
"max_rider_count": 2,
"lock_rider_rotation": 0
}
]
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:block_climber": {},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"all_of": [
{
"test": "has_mob_effect",
"subject": "self",
"value": "bad_omen"
},
{
"test": "is_in_village",
"subject": "self",
"value": true
}
]
},
"event": "minecraft:trigger_raid"
}
}
},
"events": {
"minecraft:gain_bad_omen": {
"add": {
"component_groups": [
"minecraft:add_bad_omen"
]
}
},
"minecraft:clear_add_bad_omen": {
"remove": {
"component_groups": [
"minecraft:add_bad_omen"
]
},
"add": {
"component_groups": [
"minecraft:clear_bad_omen_spell_effect"
]
}
},
"minecraft:trigger_raid": {
"add": {
"component_groups": [ "minecraft:raid_trigger" ]
}
},
"minecraft:remove_raid_trigger": {
"remove": {
"component_groups": [ "minecraft:raid_trigger" ]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,160 @@
{
"format_version": "1.17.10",
"minecraft:entity": {
"description": {
"identifier": "minecraft:silverfish",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:silverfish_calm": {
"minecraft:on_target_acquired" : {
"event": "minecraft:become_angry",
"target": "self"
}
},
"minecraft:silverfish_angry": {
"minecraft:angry": {
"duration": -1,
"broadcast_anger": true,
"broadcast_range": 20,
"calm_event": {
"event": "minecraft:on_calm",
"target": "self"
}
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true
},
"minecraft:behavior.silverfish_wake_up_friends": {
"priority": 1
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family":["silverfish", "monster", "lightweight", "mob", "arthropod" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/silverfish.json"
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:attack": {
"damage": 1
},
"minecraft:collision_box": {
"width": 0.4,
"height": 0.3
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 1
},
"minecraft:behavior.silverfish_merge_with_stone": {
"priority": 5
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"attack_interval": 10,
"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": 8
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"alert_same_type": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:block_climber": {
}
},
"events": {
"minecraft:entity_spawned": {
"remove": {
},
"add": {
"component_groups": [
"minecraft:silverfish_calm"
]
}
},
"minecraft:become_angry": {
"remove": {
"minecraft:silverfish_calm": { }
},
"add": {
"component_groups": [
"minecraft:silverfish_angry"
]
}
},
"minecraft:on_calm": {
"remove": {
"minecraft:silverfish_angry": { }
},
"add": {
"component_groups": [
"minecraft:silverfish_calm"
]
}
}
}
}
}

View File

@ -0,0 +1,660 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:skeleton",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"in_powder_snow": {
"minecraft:is_shaking": {},
"minecraft:timer": {
"looping": false,
"time": 20,
"time_down_event": {
"event": "become_stray_event"
}
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "!=",
"value": "minecraft:powder_snow"
},
"event": "got_out_of_powder_snow"
}
]
}
},
"got_out_of_powder_snow_environment_sensor": {
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": true
}
]
},
"event": "minecraft:ranged_mode"
}
]
}
},
"minecraft:lightning_immune": {
"minecraft:damage_sensor": {
"triggers": {
"on_damage": { "filters": { "other_with_families": "lightning" } },
"deals_damage": false
}
}
},
"become_stray": {
"minecraft:transformation": {
"into": "minecraft:stray",
"transformation_sound" : "convert_to_stray",
"keep_level": true,
"drop_inventory": true,
"preserve_equipment": true
}
},
"minecraft:ranged_attack": {
"minecraft:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true,
"speed_multiplier": 1.25
},
"minecraft:attack": {
"damage": 3
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"all_of": [
{
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
{
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": true
}
]
},
"event": "minecraft:ranged_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
},
"minecraft:equip_item": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:type_family": {
"family": [ "skeleton", "undead", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:burns_in_daylight": {
},
"minecraft:health": {
"value": 20,
"max": 20
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:loot": {
"table": "loot_tables/entities/skeleton.json"
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"avoid_sun": true,
"avoid_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:nameable": {
},
"minecraft:equipment": {
"table": "loot_tables/entities/skeleton_gear.json"
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": [
{
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "has_ranged_weapon",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:melee_mode"
},
{
"filters": {
"test": "in_block",
"subject": "self",
"operator": "==",
"value": "minecraft:powder_snow"
},
"event": "got_in_powder_snow"
}
]
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:shareables": {
"items": [
{
"item": "minecraft:netherite_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
},
{
"item": "minecraft:diamond_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 1
},
{
"item": "minecraft:iron_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 2
},
{
"item": "minecraft:stone_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 3
},
{
"item": "minecraft:golden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 4
},
{
"item": "minecraft:wooden_sword",
"want_amount": 1,
"surplus_amount": 1,
"priority": 5
},
{
"item": "minecraft:bow",
"want_amount": 1,
"surplus_amount": 1,
"priority": 6
},
{
"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:behavior.ranged_attack": {
"priority": 0,
"attack_interval_min": 1.0,
"attack_interval_max": 3.0,
"attack_radius": 15.0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.flee_sun": {
"priority": 2,
"speed_multiplier": 1
},
"minecraft:behavior.equip_item": {
"priority": 3
},
"minecraft:behavior.avoid_mob_type": {
"priority": 4,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "wolf"
},
"max_dist": 6,
"walk_speed_multiplier": 1.2,
"sprint_speed_multiplier": 1.2
}
]
},
"minecraft:behavior.pickup_items": {
"priority": 5,
"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": 6,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 8
},
"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": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"become_stray_event": {
"add": {
"component_groups": [
"become_stray"
]
}
},
"got_in_powder_snow": {
"add": {
"component_groups": [
"in_powder_snow"
]
}
},
"got_out_of_powder_snow": {
"remove": {
"component_groups": [
"in_powder_snow"
]
},
"add": {
"component_groups": [
"got_out_of_powder_snow_environment_sensor"
]
}
},
"minecraft:spring_trap": {
"add": {
"component_groups": [
"minecraft:lightning_immune"
]
}
},
"minecraft:melee_mode": {
"remove": {
"component_groups": [
"minecraft:ranged_attack",
"got_out_of_powder_snow_environment_sensor"
]
},
"add": {
"component_groups": [
"minecraft:melee_attack"
]
}
},
"minecraft:ranged_mode": {
"remove": {
"component_groups": [
"minecraft:melee_attack",
"got_out_of_powder_snow_environment_sensor"
]
},
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,284 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:lodestone"
}
]
},
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "item",
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.5
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:crossbow",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 10,
"max": 28
}
}
],
"name": "minecraft:arrow",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 12
}
}
],
"name": "minecraft:gilded_blackstone",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 8
}
}
],
"name": "minecraft:crying_obsidian",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:gold_block",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 9
}
}
],
"name": "minecraft:gold_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 9
}
}
],
"name": "minecraft:iron_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_sword",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_chestplate",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_helmet",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_leggings",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_boots",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_axe",
"weight": 1
}
]
},
{
"rolls": {
"min": 2,
"max": 4
},
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 6
}
}
],
"name": "minecraft:string",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
}
],
"name": "minecraft:leather",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 5,
"max": 17
}
}
],
"name": "minecraft:arrow",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
],
"name": "minecraft:iron_nugget",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
],
"name": "minecraft:gold_nugget",
"weight": 1
}
]
}
]
}

View File

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

View File

@ -0,0 +1,477 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:crossbow"
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_pickaxe"
},
{
"type": "item",
"weight": 6,
"name": "minecraft:diamond_shovel"
},
{
"type": "item",
"weight": 12,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:ancient_debris"
},
{
"type": "item",
"weight": 4,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:netherite_scrap"
},
{
"type": "item",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 10,
"max": 22
}
}
],
"name": "minecraft:arrow"
},
{
"type": "item",
"weight": 12,
"functions": [
{
"function": "set_count",
"count": {
"min": 6,
"max": 17
}
}
],
"name": "minecraft:golden_carrot"
},
{
"type": "item",
"weight": 9,
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "set_data",
"data": 6
}
],
"name": "minecraft:banner_pattern"
},
{
"type": "item",
"weight": 9,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_apple"
},
{
"type": "item",
"weight": 5,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:record_pigstep"
},
{
"type": "item",
"weight": 10,
"functions": [
{
"function": "specific_enchants",
"enchants": [
{
"id": "soul_speed",
"level": [
1,
3
]
}
]
}
],
"name": "minecraft:book"
}
]
},
{
"rolls": 2,
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
},
{
"function": "specific_enchants",
"enchants": [
{
"id": "soul_speed",
"level": [
1,
3
]
}
]
}
],
"name": "minecraft:golden_boots",
"weight": 1
},
{
"type": "item",
"weight": 1,
"functions": [
{
"function": "enchant_randomly"
}
],
"name": "minecraft:golden_axe"
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:gold_block",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:iron_block",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:crossbow",
"weight": 1
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:iron_sword"
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 6
}
}
],
"name": "minecraft:gold_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 6
}
}
],
"name": "minecraft:iron_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_sword",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_chestplate",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_helmet",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_leggings",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:golden_boots",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
],
"name": "minecraft:crying_obsidian",
"weight": 1
}
]
},
{
"rolls": {
"min": 3,
"max": 5
},
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
],
"name": "minecraft:gilded_blackstone",
"weight": 2
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 10
}
}
],
"name": "minecraft:chain",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
],
"name": "minecraft:magma_cream",
"weight": 2
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 6
}
}
],
"name": "minecraft:bone_block",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 8
}
}
],
"name": "minecraft:iron_nugget",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 6
}
}
],
"name": "minecraft:obsidian",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 8
}
}
],
"name": "minecraft:gold_nugget",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 4,
"max": 6
}
}
],
"name": "minecraft:string",
"weight": 1
},
{
"type": "item",
"weight": 2,
"functions": [
{
"function": "set_count",
"count": {
"min": 5,
"max": 17
}
}
],
"name": "minecraft:arrow"
},
{
"type": "item",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:cooked_porkchop"
}
]
}
]
}

View File

@ -0,0 +1,311 @@
{
"pools": [
{
"rolls": 3,
"entries": [
{
"type": "item",
"weight": 15,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:netherite_ingot"
},
{
"type": "item",
"weight": 2,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:enchanted_golden_apple"
},
{
"type": "item",
"weight": 8,
"functions": [
{
"function": "set_count",
"count": 1
}
],
"name": "minecraft:netherite_scrap"
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": 2
}
],
"name": "minecraft:ancient_debris",
"weight": 4
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.8,
"max": 1
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_sword"
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.8,
"max": 1
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_chestplate"
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.8,
"max": 1
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_helmet"
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.8,
"max": 1
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_leggings"
},
{
"type": "item",
"weight": 6,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.8,
"max": 1
}
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_boots"
},
{
"type": "item",
"weight": 6,
"name": "minecraft:diamond_sword"
},
{
"type": "item",
"weight": 5,
"name": "minecraft:diamond_chestplate"
},
{
"type": "item",
"weight": 5,
"name": "minecraft:diamond_helmet"
},
{
"type": "item",
"weight": 5,
"name": "minecraft:diamond_boots"
},
{
"type": "item",
"weight": 5,
"name": "minecraft:diamond_leggings"
},
{
"type": "item",
"weight": 5,
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 6
}
}
],
"name": "minecraft:diamond"
}
]
},
{
"rolls": {
"min": 3,
"max": 4
},
"entries": [
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 12,
"max": 25
}
}
],
"name": "minecraft:arrow",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 5
}
}
],
"name": "minecraft:gold_block",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 9
}
}
],
"name": "minecraft:gold_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 9
}
}
],
"name": "minecraft:iron_ingot",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 5
}
}
],
"name": "minecraft:crying_obsidian",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 8,
"max": 23
}
}
],
"name": "minecraft:quartz",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 5,
"max": 15
}
}
],
"name": "minecraft:gilded_blackstone",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 3,
"max": 8
}
}
],
"name": "minecraft:magma_cream",
"weight": 1
},
{
"type": "item",
"functions": [
{
"function": "set_count",
"count": {
"min": 2,
"max": 5
}
}
],
"name": "minecraft:iron_block",
"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,
17,
10
],
"min_engine_version": [
1,
17,
10
]
},
"modules": [
{
"description": "resourcePack.vanilla_server.description",
"type": "data",
"uuid": "79fccc3b-7bad-4f4f-aa97-d98108e6aa33",
"version": [
0,
0,
1
]
}
]
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:black_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 16
}
],
"result": {
"item": "minecraft:black_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:black_candle_from_ink_sac"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 0
}
],
"result": {
"item": "minecraft:black_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:blue_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 18
}
],
"result": {
"item": "minecraft:blue_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:blue_candle_from_lapis_lazuli"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 4
}
],
"result": {
"item": "minecraft:blue_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:brown_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 17
}
],
"result": {
"item": "minecraft:brown_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:brown_candle_from_cocoa_beans"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 3
}
],
"result": {
"item": "minecraft:brown_candle"
}
}
}

View File

@ -0,0 +1,29 @@
{
"format_version": "1.16",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:candle"
},
"tags": [
"crafting_table"
],
"group": "candle",
"pattern": [
"S",
"H"
],
"key": {
"H": {
"item": "minecraft:honeycomb"
},
"S": {
"item": "minecraft:string"
}
},
"result": {
"item": "minecraft:candle",
"count": 1
},
"priority": 1
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:cyan_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 6
}
],
"result": {
"item": "minecraft:cyan_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:gray_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 8
}
],
"result": {
"item": "minecraft:gray_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:green_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 2
}
],
"result": {
"item": "minecraft:green_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:light_blue_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 12
}
],
"result": {
"item": "minecraft:light_blue_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:light_gray_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 7
}
],
"result": {
"item": "minecraft:light_gray_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:lime_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 10
}
],
"result": {
"item": "minecraft:lime_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:magenta_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 13
}
],
"result": {
"item": "minecraft:magenta_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:orange_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 14
}
],
"result": {
"item": "minecraft:orange_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:pink_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 9
}
],
"result": {
"item": "minecraft:pink_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:purple_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 5
}
],
"result": {
"item": "minecraft:purple_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:red_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 1
}
],
"result": {
"item": "minecraft:red_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:white_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 19
}
],
"result": {
"item": "minecraft:white_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:white_candle_from_bonemeal"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 15
}
],
"result": {
"item": "minecraft:white_candle"
}
}
}

View File

@ -0,0 +1,22 @@
{
"format_version": "1.12",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "minecraft:yellow_candle"
},
"tags": [ "crafting_table" ],
"group": "candle",
"ingredients": [
{
"item": "minecraft:candle"
},
{
"item": "minecraft:dye",
"data": 11
}
],
"result": {
"item": "minecraft:yellow_candle"
}
}
}

View File

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