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

View File

@ -0,0 +1,143 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:cod",
"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 ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "cod", "fish" ]
},
"minecraft:collision_box": {
"width": 0.6,
"height": 0.3
},
"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:loot": {
"table": "loot_tables/entities/fish.json"
},
"minecraft:scale": {
"value": 1.0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:underwater_movement": {
"value": 0.1
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:despawn": {
"despawn_from_distance": {
"min_distance": 32,
"max_distance": 40
}
},
"minecraft:behavior.swim_idle": {
"priority": 5,
"idle_time": 5.0,
"success_rate": 0.1
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"priority": 3,
"speed_multiplier": 1.0,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 4,
"interval": 0.1,
"look_ahead": 2.0,
"speed_multiplier": 1.0,
"wander_time": 5.0
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family", "subject": "other", "value": "player"
},
{
"test": "is_family", "subject": "other", "value": "axolotl"
}
]
},
"max_dist": 6,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 2.0
}
]
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": true,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 1.75,
"separation_threshold": 0.95,
"cohesion_weight": 2.0,
"cohesion_threshold": 1.95,
"innner_cohesion_threshold": 1.25,
"min_height": 1.5,
"max_height": 6.0,
"block_distance": 2.0,
"block_weight": 0.85
},
"minecraft:nameable": {
},
"minecraft:conditional_bandwidth_optimization": {
}
}
}
}

View File

@ -0,0 +1,517 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:frog",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"temperate_frog": {
"minecraft:variant": { "value": 0 }
},
"cold_frog": {
"minecraft:variant": { "value": 1 }
},
"warm_frog": {
"minecraft:variant": { "value": 2 }
},
"pregnant": {
"minecraft:behavior.lay_egg": {
"priority": 2,
"speed_multiplier": 1.0,
"search_range": 10,
"search_height": 3,
"goal_radius": 1.7,
"target_blocks": [ "minecraft:water" ],
"target_materials_above_block": [ "Air" ],
"allow_laying_from_below": true,
"use_default_animation": false,
"lay_seconds": 2,
"egg_type": "minecraft:frog_spawn",
"lay_egg_sound": "lay_spawn",
"on_lay": {
"event": "laid_egg",
"target": "self"
}
},
"minecraft:behavior.move_to_water": {
"priority": 3,
"search_range": 20,
"search_height": 5,
"goal_radius": 1.5
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [ "frog", "mob" ]
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.55
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true,
"breathes_air": true,
"generates_bubbles": false
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 10
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"cause": "fall",
"deals_damage": true,
"damage_modifier": -5
}
},
"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": {
},
"minecraft:movement": {
"value": 0.1
},
"minecraft:underwater_movement": {
"value": 0.15
},
"minecraft:jump.static": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
},
"minecraft:leashable": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:breedable": {
"require_tame": false,
"causes_pregnancy": true,
"breeds_with": {
"mate_type": "minecraft:frog",
"baby_type": "minecraft:tadpole",
"breed_event": {
"event": "become_pregnant"
}
},
"breed_items": [ "slime_ball" ]
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 2.0
},
"minecraft:behavior.breed": {
"priority": 4
},
"minecraft:behavior.tempt": {
"priority": 5,
"speed_multiplier": 1.25,
"can_tempt_vertically": true,
"items": [ "slime_ball" ]
},
"minecraft:behavior.move_to_land": {
"priority": 6,
"search_range": 30,
"search_height": 8,
"search_count": 80,
"goal_radius": 2
},
"minecraft:behavior.eat_mob": {
"priority": 7,
"run_speed": 2.0,
"eat_animation_time": 0.30,
"pull_in_force": 0.75,
"reach_mob_distance": 1.75,
"eat_mob_sound": "tongue",
"loot_table": "loot_tables/entities/frog.json"
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 8,
"within_radius": 16,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "slime"
},
{
"test": "is_variant",
"subject": "other",
"operator": "==",
"value": 1
}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "magmacube"
},
{
"test": "is_variant",
"subject": "other",
"operator": "==",
"value": 1
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:behavior.croak": {
"priority": 9,
"interval": [ 10, 20 ],
"duration": 4.5,
"filters": {
"all_of": [
{
"test": "in_water",
"value": false
},
{
"test": "in_lava",
"value": false
}
]
}
},
"minecraft:behavior.jump_to_block": {
"priority": 10,
"search_width": 8,
"search_height": 4,
"minimum_path_length": 2,
"minimum_distance": 1,
"scale_factor": 0.6,
"max_velocity": 1,
"cooldown_range": [ 5, 7 ],
"preferred_blocks": [
"minecraft:waterlily",
"minecraft:big_dripleaf"
],
"preferred_blocks_chance": 0.5,
"forbidden_blocks": [
"minecraft:water"
]
},
"minecraft:behavior.random_stroll": {
"priority": 11
},
"minecraft:behavior.look_at_player": {
"priority": 12,
"target_distance": 6.0,
"probability": 0.02
}
},
"events": {
"minecraft:entity_spawned": {
"sequence": [
{
"add": {
"component_groups": [ "temperate_frog" ]
}
},
{
"filters": {
"any_of": [
{
"test": "has_biome_tag",
"value": "desert"
},
{
"test": "has_biome_tag",
"value": "jungle"
},
{
"test": "has_biome_tag",
"value": "savanna"
},
{
"test": "has_biome_tag",
"value": "mesa"
},
{
"test": "has_biome_tag",
"value": "nether"
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "warm"
},
{
"test": "has_biome_tag",
"value": "ocean"
}
]
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "lukewarm"
},
{
"test": "has_biome_tag",
"value": "ocean"
}
]
},
{
"test": "has_biome_tag",
"value": "mangrove_swamp"
}
]
},
"add": {
"component_groups": [ "warm_frog" ]
}
},
{
"filters": {
"any_of": [
{
"test": "has_biome_tag",
"value": "mountain"
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "mountains"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "meadow"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "stony_peaks"
}
]
},
{
"test": "has_biome_tag",
"value": "ice"
},
{
"test": "has_biome_tag",
"value": "cold"
},
{
"test": "has_biome_tag",
"value": "frozen"
},
{
"test": "has_biome_tag",
"value": "the_end"
},
{
"test": "has_biome_tag",
"value": "deep_dark"
}
]
},
"add": {
"component_groups": [ "cold_frog" ]
}
}
]
},
"spawn_temperate": {
"add": {
"component_groups": [
"temperate_frog"
]
}
},
"spawn_cold": {
"add": {
"component_groups": [
"cold_frog"
]
}
},
"spawn_warm": {
"add": {
"component_groups": [
"warm_frog"
]
}
},
"minecraft:entity_transformed": {
"sequence": [
{
"add": {
"component_groups": [ "temperate_frog" ]
}
},
{
"filters": {
"any_of": [
{
"test": "has_biome_tag",
"value": "desert"
},
{
"test": "has_biome_tag",
"value": "jungle"
},
{
"test": "has_biome_tag",
"value": "savanna"
},
{
"test": "has_biome_tag",
"value": "mesa"
},
{
"test": "has_biome_tag",
"value": "nether"
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "warm"
},
{
"test": "has_biome_tag",
"value": "ocean"
}
]
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "lukewarm"
},
{
"test": "has_biome_tag",
"value": "ocean"
}
]
},
{
"test": "has_biome_tag",
"value": "mangrove_swamp"
}
]
},
"add": {
"component_groups": [ "warm_frog" ]
}
},
{
"filters": {
"any_of": [
{
"test": "has_biome_tag",
"value": "mountain"
},
{
"all_of": [
{
"test": "has_biome_tag",
"value": "mountains"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "meadow"
},
{
"test": "has_biome_tag",
"operator": "!=",
"value": "stony_peaks"
}
]
},
{
"test": "has_biome_tag",
"value": "ice"
},
{
"test": "has_biome_tag",
"value": "cold"
},
{
"test": "has_biome_tag",
"value": "frozen"
},
{
"test": "has_biome_tag",
"value": "the_end"
},
{
"test": "has_biome_tag",
"value": "deep_dark"
}
]
},
"add": {
"component_groups": [ "cold_frog" ]
}
}
]
},
"become_pregnant": {
"add": {
"component_groups": [ "pregnant" ]
}
},
"laid_egg": {
"remove": {
"component_groups": [ "pregnant" ]
}
}
}
}
}

View File

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

View File

@ -0,0 +1,509 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pillager",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:ranged_attack": {
"minecraft:behavior.ranged_attack": {
"priority": 4,
"attack_interval_min": 1.0,
"attack_interval_max": 1.0,
"attack_radius": 8.0
},
"minecraft:shooter": {
"def": "minecraft:arrow"
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "is_underwater",
"subject": "self",
"operator": "==",
"value": true
},
"event": "minecraft:melee_mode"
}
}
},
"minecraft:melee_attack": {
"minecraft:behavior.melee_attack": {
"priority": 4,
"track_target": true
},
"minecraft:attack": {
"damage": 3
},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_water",
"subject": "self",
"operator": "==",
"value": false
},
"event": "minecraft:ranged_mode"
}
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 5,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:loot": {
"table": "loot_tables/entities/pillager_raid.json"
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:raid_persistence": {
"minecraft:persistent": {}
},
"minecraft:illager_squad_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:patrol_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:calm",
"target": "self"
},
"minecraft:behavior.hold_ground": {
"priority": 5,
"min_radius": 10,
"broadcast": true,
"broadcast_range": 8,
"within_radius_event": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:behavior.move_to_random_block": {
"priority": 6,
"speed_multiplier": 0.55,
"within_radius": 8,
"block_distance": 512
}
},
"minecraft:patrol_follower": {
"minecraft:behavior.follow_target_captain": {
"priority": 5,
"speed_multiplier": 0.8,
"within_radius": 64,
"follow_distance": 5
},
"minecraft:behavior.hold_ground": {
"priority": 6,
"min_radius": 10,
"broadcast": true,
"broadcast_range": 8,
"within_radius_event": {
"event": "minecraft:ranged_mode",
"target": "self"
}
},
"minecraft:on_hurt": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_hurt_by_player": {
"event": "minecraft:ranged_mode",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:calm",
"target": "self"
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
},
"minecraft:equip_item": {
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:type_family": {
"family": [ "pillager", "monster", "illager", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:health": {
"value": 24,
"max": 24
},
"minecraft:conditional_bandwidth_optimization": {
},
"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/pillager.json"
},
"minecraft:shareables": {
"items": [
{
"item": "minecraft:banner:15",
"want_amount": 1,
"surplus_amount": 1,
"priority": 0
}
]
},
"minecraft:movement": {
"value": 0.35
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:nameable": {
},
"minecraft:equipment": {
"table": "loot_tables/entities/pillager_gear.json"
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.hurt_by_target": {
"priority": 1,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"max_dist": 64
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
{
"test": "is_family",
"subject": "other",
"value": "wandering_trader"
}
]
},
"max_dist": 16
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "villager"
},
{
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
}
]
},
"max_dist": 16
}
]
},
"minecraft:behavior.equip_item": {
"priority": 3
},
"minecraft:behavior.pickup_items": {
"priority": 7,
"max_dist": 3,
"goal_radius": 2,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 9,
"look_distance": 8
},
"minecraft:behavior.random_look_around": {
"priority": 10
},
"minecraft:behavior.charge_held_item": {
"priority": 3,
"items": [
"minecraft:arrow"
]
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:follow_range": {
"value": 64
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:ranged_attack"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:spawn_as_patrol_follower": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:patrol_follower"
]
}
},
"minecraft:spawn_as_illager_captain": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:illager_squad_captain"
]
}
},
"minecraft:promote_to_illager_captain": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:illager_squad_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:promote_to_patrol_captain": {
"add": {
"component_groups": [
"minecraft:ranged_attack",
"minecraft:patrol_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:melee_mode": {
"remove": { "component_groups": [ "minecraft:ranged_attack" ] },
"add": { "component_groups": [ "minecraft:melee_attack" ] }
},
"minecraft:ranged_mode": {
"remove": { "component_groups": [ "minecraft:melee_attack" ] },
"add": { "component_groups": [ "minecraft:ranged_attack" ] }
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"sequence": [
{
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:raid_expired": {
"sequence": [
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
},
"minecraft:calm": {
"remove": { "component_groups": [ "minecraft:melee_attack", "minecraft:ranged_attack" ] }
}
}
}
}

View File

@ -0,0 +1,321 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:pufferfish",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:normal_puff": {
"minecraft:variant": {
"value": 0
},
"minecraft:entity_sensor": {
"sensor_range": 2.5,
"relative_range": false,
"minimum_count": 1,
"event_filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
]
},
"event": "minecraft:start_half_puff"
}
},
"minecraft:half_puff_primary": {
"minecraft:variant": {
"value": 1
},
"minecraft:timer": {
"looping": false,
"time": 2,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_half_puff"
}
}
},
"minecraft:half_puff_secondary": {
"minecraft:variant": {
"value": 1
},
"minecraft:entity_sensor": {
"sensor_range": 2.5,
"relative_range": false,
"minimum_count": 1,
"event_filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
]
},
"event": "minecraft:start_full_puff"
},
"minecraft:timer": {
"looping": false,
"time": 2,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_normal_puff"
}
}
},
"minecraft:full_puff": {
"minecraft:variant": {
"value": 2
},
"minecraft:area_attack" : {
"damage_range": 0.2,
"damage_per_tick": 2,
"cause": "contact",
"entity_filter": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "monster" }
]
}
},
"minecraft:mob_effect": {
"effect_range": 0.2,
"mob_effect": "poison",
"effect_time": 10,
"entity_filter": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "monster" }
]
}
}
},
"minecraft:deflate_sensor_buffer": {
"minecraft:timer": {
"looping": false,
"time": 0.01,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_full_puff"
}
}
},
"minecraft:deflate_sensor": {
"minecraft:entity_sensor": {
"sensor_range": 2.9,
"relative_range": false,
"require_all": true,
"event_filters": {
"none_of": [
{ "test": "is_family", "subject": "other", "value": "mob" },
{ "all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "none_of":
{ "test": "has_ability", "subject": "other", "value": "instabuild" }
}
]}
],
"test": "distance_to_nearest_player", "operator": ">", "value": 2.9
},
"event": "minecraft:from_full_puff"
}
},
"minecraft:start_deflate": {
"minecraft:timer": {
"looping": false,
"time": 3,
"randomInterval": false,
"time_down_event": {
"event": "minecraft:on_deflate"
}
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "pufferfish", "fish" ]
},
"minecraft:collision_box": {
"width": 0.8,
"height": 0.8
},
"minecraft:loot": {
"table": "loot_tables/entities/pufferfish.json"
},
"minecraft:scale": {
"value": 1.2
},
"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:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.13
},
"minecraft:underwater_movement": {
"value": 0.13
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:despawn": {
"despawn_from_distance": {
"min_distance": 32,
"max_distance": 40
}
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"priority": 3,
"speed_multiplier": 1.0,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 5,
"interval": 1.0,
"look_ahead": 2.0,
"speed_multiplier": 1.0,
"wander_time": 5.0
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family", "subject": "other", "value": "player"
},
{
"test": "is_family", "subject": "other", "value": "axolotl"
}
]
},
"max_dist": 6,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 2.0
}
]
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": true,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 1.75,
"separation_threshold": 0.95,
"cohesion_weight": 2.0,
"cohesion_threshold": 1.95,
"innner_cohesion_threshold": 1.25,
"min_height": 1.5,
"max_height": 6.0,
"block_distance": 2.0,
"block_weight": 0.85
},
"minecraft:nameable": {
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [ "minecraft:normal_puff" ]
}
},
"minecraft:to_full_puff": {
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
},
"minecraft:start_half_puff": {
"add": { "component_groups": [ "minecraft:half_puff_primary" ] },
"remove": { "component_groups": [ "minecraft:normal_puff" ] }
},
"minecraft:on_half_puff": {
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
"remove": { "component_groups": [ "minecraft:half_puff_primary" ] }
},
"minecraft:start_full_puff": {
"add": { "component_groups": [ "minecraft:full_puff", "minecraft:deflate_sensor_buffer" ] },
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
},
"minecraft:on_full_puff": {
"add": { "component_groups": [ "minecraft:deflate_sensor" ] },
"remove": { "component_groups": [ "minecraft:deflate_sensor_buffer" ] }
},
"minecraft:from_full_puff": {
"add": { "component_groups": [ "minecraft:start_deflate" ] },
"remove": { "component_groups": [ "minecraft:deflate_sensor" ] }
},
"minecraft:on_deflate": {
"add": { "component_groups": [ "minecraft:half_puff_secondary" ] },
"remove": { "component_groups": [ "minecraft:full_puff", "minecraft:start_deflate" ] }
},
"minecraft:on_normal_puff": {
"add": { "component_groups": [ "minecraft:normal_puff" ] },
"remove": { "component_groups": [ "minecraft:half_puff_secondary" ] }
}
}
}
}

View File

@ -0,0 +1,194 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:salmon",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"scale_small": {
"minecraft:scale": {
"value": 0.5
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_normal.json"
}
},
"scale_normal": {
"minecraft:scale": {
"value": 1
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_normal.json"
}
},
"scale_large": {
"minecraft:scale": {
"value": 1.5
},
"minecraft:loot": {
"table": "loot_tables/entities/salmon_large.json"
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
},
"minecraft:type_family": {
"family": [ "salmon", "fish" ]
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.5
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_air": false,
"breathes_water": true
},
"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:movement": {
"value": 0.12
},
"minecraft:underwater_movement": {
"value": 0.12
},
"minecraft:navigation.generic": { // Allows the mob to go through water
"is_amphibious": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": false,
"can_breach": false,
"can_sink": false
},
"minecraft:movement.sway": {
"sway_amplitude": 0.0
},
"minecraft:physics": {
"has_gravity": false
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:despawn": {
"despawn_from_distance": {
"min_distance": 32,
"max_distance": 40
}
},
"minecraft:behavior.avoid_mob_type": {
"priority": 1,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family", "subject": "other", "value": "player"
},
{
"test": "is_family", "subject": "other", "value": "axolotl"
}
]
},
"max_dist": 3,
"max_flee": 10,
"walk_speed_multiplier": 1.5,
"sprint_speed_multiplier": 2.0
}
]
},
"minecraft:behavior.swim_idle": {
"priority": 5,
"idle_time": 5.0,
"success_rate": 0.1
},
"minecraft:behavior.random_swim": { // Randomly selects points to go to, even in water
"speed_multiplier": 1.0,
"priority": 3,
"xz_dist": 16,
"y_dist": 4,
"interval": 0
},
"minecraft:behavior.swim_wander": {
"priority": 4,
"interval": 0.0166,
"look_ahead": 5.0,
"speed_multiplier": 0.014,
"wander_time": 5.0
},
"minecraft:flocking": {
"in_water": true,
"match_variants": false,
"use_center_of_mass": false,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2.0,
"loner_chance": 0.1,
"influence_radius": 3.0,
"breach_influence": 7.0,
"separation_weight": 0.65,
"separation_threshold": 0.15,
"cohesion_weight": 2.25,
"cohesion_threshold": 1.5,
"innner_cohesion_threshold": 1.5,
"min_height": 4.0,
"max_height": 4.0,
"block_distance": 1.0,
"block_weight": 0.75
},
"minecraft:nameable": {
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 30,
"add": {
"component_groups": [ "adult", "scale_small" ]
}
},
{
"weight": 50,
"add": {
"component_groups": [ "adult", "scale_normal" ]
}
},
{
"weight": 15,
"add": {
"component_groups": [ "adult", "scale_large" ]
}
}
]
}
}
}
}

View File

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

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,449 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:vindicator",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:celebrate": {
"minecraft:behavior.celebrate": {
"priority": 5,
"celebration_sound": "celebrate",
"sound_interval": {
"range_min": 2.0,
"range_max": 7.0
},
"jump_interval": {
"range_min": 1.0,
"range_max": 3.5
},
"duration": 30.0,
"on_celebration_end_event": {
"event": "minecraft:stop_celebrating",
"target": "self"
}
}
},
"minecraft:vindicator_aggro": {
"minecraft:angry": {
"duration": -1,
"broadcast_anger": false,
"calm_event": {
"event": "minecraft:stop_aggro",
"target": "self"
}
}
},
"minecraft:vindicator_johnny": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"within_radius": 12.0,
"must_see_forget_duration": 40.0,
"entity_types": [
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" }
]
},
"max_dist": 12
}
]
}
},
"minecraft:default_targeting": {
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"within_radius": 12.0,
"must_see_forget_duration": 40.0,
"entity_types": [
{
"filters": {
"any_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "test": "is_family", "subject": "other", "value": "snowgolem" },
{ "test": "is_family", "subject": "other", "value": "irongolem" },
{ "test": "is_family", "subject": "other", "value": "wandering_trader" }
]
},
"max_dist": 12
},
{
"filters": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "villager" },
{ "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }
]
},
"max_dist": 12
}
]
}
},
"minecraft:raid_configuration": {
"minecraft:dweller": {
"dwelling_type": "village",
"dweller_role": "hostile",
"update_interval_base": 60,
"update_interval_variant": 40,
"can_find_poi": false,
"can_migrate": true,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 4,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:loot": {
"table": "loot_tables/entities/vindicator_raid.json"
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_pass_doors": true,
"can_break_doors": true
},
"minecraft:annotation.break_door": {
"break_time": 30,
"min_difficulty": "normal"
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:raid_persistence": {
"minecraft:persistent": {}
},
"minecraft:raid_despawn": {
"minecraft:despawn": {
"despawn_from_distance": {}
}
},
"minecraft:illager_squad_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
}
},
"minecraft:patrol_captain": {
"minecraft:is_illager_captain": {
},
"minecraft:variant": {
"value": 1
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_captain_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.armor.chest",
"drop_chance": 1.0
}
]
},
"minecraft:damage_sensor": {
"triggers": {
"on_damage": {
"filters": {
"all_of": [
{
"test": "has_damage",
"value": "fatal"
},
{
"test": "is_family",
"subject": "other",
"value": "player"
}
]
},
"event": "minecraft:gain_bad_omen",
"target": "other"
}
}
},
"minecraft:behavior.move_to_random_block": {
"priority": 5,
"speed_multiplier": 0.55,
"within_radius": 8,
"block_distance": 512
}
},
"minecraft:patrol_follower": {
"minecraft:behavior.follow_target_captain": {
"priority": 5,
"speed_multiplier": 0.8,
"within_radius": 64,
"follow_distance": 5
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? (query.is_baby ? 12 : 5) + (Math.die_roll(query.equipment_count,1,3)) : 0"
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:nameable": {
"default_trigger": {
"event": "minecraft:stop_johnny",
"target": "self"
},
"name_actions": [
{
"name_filter": "Johnny",
"on_named": {
"event": "minecraft:start_johnny",
"target": "self"
}
}
]
},
// vindicator Components
"minecraft:type_family": {
"family": [ "vindicator", "monster", "illager", "mob" ]
},
"minecraft:variant": {
"value": 0
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:collision_box": {
"width": 0.6,
"height": 1.9
},
"minecraft:health": {
"value": 24,
"max": 24
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:attack": {
"damage": 8
},
"minecraft:movement": {
"value": 0.35
},
"minecraft:navigation.walk": {
"can_path_over_water": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:loot": {
"table": "loot_tables/entities/vindication_illager.json"
},
"minecraft:equipment": {
"table": "loot_tables/entities/vindicator_gear.json"
},
// vindicator Behaviors
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.melee_attack": {
"priority": 3
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"speed_multiplier": 1
},
"minecraft:behavior.look_at_player": {
"priority": 10,
"look_distance": 8,
"probability": 0.02
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:on_target_acquired": {
"event": "minecraft:become_aggro",
"target": "self"
},
"minecraft:on_target_escape": {
"event": "minecraft:stop_aggro",
"target": "self"
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:default_targeting"
]
}
},
"minecraft:spawn_as_patrol_follower": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:patrol_follower"
]
}
},
"minecraft:become_aggro": {
"add": {
"component_groups": [
"minecraft:vindicator_aggro"
]
}
},
"minecraft:stop_aggro": {
"remove": {
"component_groups": [
"minecraft:vindicator_aggro"
]
}
},
"minecraft:start_johnny": {
"add": {
"component_groups": [
"minecraft:vindicator_johnny"
]
}
},
"minecraft:stop_johnny": {
"remove": {
"component_groups": [
"minecraft:vindicator_johnny"
]
},
"add": {
"component_groups": [
"minecraft:default_targeting"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:raid_configuration",
"minecraft:raid_persistence",
"minecraft:raid_despawn"
]
}
},
"minecraft:spawn_as_illager_captain": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:illager_squad_captain"
]
}
},
"minecraft:promote_to_illager_captain": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:illager_squad_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:promote_to_patrol_captain": {
"add": {
"component_groups": [
"minecraft:default_targeting",
"minecraft:patrol_captain"
]
},
"remove": {
"component_groups": [
"minecraft:patrol_follower"
]
}
},
"minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is lost
"sequence": [
{
"add": { "component_groups": [ "minecraft:celebrate" ] }
},
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
},
"minecraft:stop_celebrating": {
"remove": { "component_groups": [ "minecraft:celebrate" ] }
},
"minecraft:raid_expired": {
"sequence": [
{
"filters": { "test": "has_nametag", "value": false },
"remove": { "component_groups": [ "minecraft:raid_persistence" ] }
}
]
}
}
}
}

View File

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

View File

@ -0,0 +1,227 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:warden",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"emerging": {
"minecraft:behavior.emerge": {
"duration": 7.0,
"on_done": {
"event": "minecraft:emerged",
"target": "self"
}
}
},
"pushable": {
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
},
"components": {
"minecraft:movement_sound_distance_offset": {
"value": 0.55
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:attack": {
"damage": 30
},
"minecraft:vibration_listener": {},
"minecraft:vibration_damper": {},
"minecraft:suspect_tracking": {},
"minecraft:anger_level": {
"max_anger": 150,
"angry_threshold": 80,
"remove_targets_below_angry_threshold": true,
"angry_boost": 20,
"anger_decrement_interval": 1.0,
"default_annoyingness": 35,
"default_projectile_annoyingness": 10,
"on_increase_sounds": [
{ "sound": "listening_angry", "condition" : "query.anger_level(this) >= 40" },
{ "sound": "listening", "condition" : "query.anger_level(this) >= 0" }
],
"nuisance_filter": {
"all_of": [
{ "test": "is_family", "subject": "other", "operator": "not", "value": "warden" },
{ "test": "is_family", "subject": "other", "operator": "not", "value": "inanimate" }
]
}
},
"minecraft:is_hidden_when_invisible": {
},
"minecraft:type_family": {
"family": [
"warden",
"monster",
"mob"
]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:navigation.walk": {
"can_path_over_water": true,
"can_path_over_lava": true,
"avoid_damage_blocks": true
},
"minecraft:ambient_sound_interval": {
"value": 2.0,
"range": 4.0,
"event_name": "ambient",
"event_names": [
{
"event_name" : "angry",
"condition" : "query.anger_level(this) >= 80"
},
{
"event_name" : "agitated",
"condition" : "query.anger_level(this) >= 40"
}
]
},
"minecraft:heartbeat": {
"interval": "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)"
},
"minecraft:movement.basic": {},
"minecraft:jump.static": {},
"minecraft:can_climb": {},
"minecraft:collision_box": {
"width": 0.9,
"height": 2.9
},
"minecraft:health": {
"value": 500,
"max": 500
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:knockback_resistance": {
"value": 1.0
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:behavior.dig": {
"priority": 1,
"duration": 5.5,
"idle_time": 60.0,
"vibration_is_disturbance": true,
"suspicion_is_disturbance": true,
"digs_in_daylight": false,
"on_start": {
"event": "on_digging_event",
"target": "self"
}
},
"minecraft:behavior.roar": {
"priority": 2,
"duration": 4.2
},
"minecraft:behavior.sonic_boom": {
"priority": 3,
"duration": 3.0,
"speed_multiplier": 1.2,
"attack_damage": 10,
"attack_range_horizontal": 15,
"attack_range_vertical": 20,
"attack_cooldown": 2,
"knockback_vertical_strength": 0.5,
"knockback_horizontal_strength": 2.5,
"knockback_height_cap": 0.5,
"duration_until_attack_sound": 1.7,
"charge_sound": "sonic_charge",
"attack_sound": "sonic_boom"
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.2,
"melee_fov": 360
},
"minecraft:behavior.investigate_suspicious_location": {
"priority": 5,
"speed_multiplier": 0.7
},
"minecraft:behavior.sniff": {
"priority": 6,
"duration": 4.16,
"sniffing_radius": 24.0,
"suspicion_radius_horizontal" : 6.0,
"suspicion_radius_vertical": 20.0,
"cooldown_range": [ 5.0, 10.0 ]
},
"minecraft:behavior.random_stroll": {
"priority": 9,
"speed_multiplier": 0.5
},
"minecraft:behavior.random_look_around": {
"priority": 11
},
"minecraft:physics": {},
"minecraft:mob_effect": {
"effect_range": 20,
"effect_time": 13,
"mob_effect": "darkness",
"cooldown_time": 6,
"entity_filter": {
"all_of": [
{ "test": "is_family", "subject": "other", "value": "player" },
{ "operator": "not", "test": "has_ability", "subject" : "other", "value" : "invulnerable" }
]
}
},
"minecraft:follow_range": 30,
"minecraft:fire_immune": {},
"minecraft:nameable": {},
"minecraft:loot": {
"table": "loot_tables/entities/warden.json"
}
},
"events": {
"minecraft:spawn_emerging": {
"add": {
"component_groups": [
"emerging"
]
}
},
"minecraft:emerged": {
"add": {
"component_groups": [
"pushable"
]
},
"remove": {
"component_groups": [
"emerging"
]
}
},
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"pushable"
]
}
},
"on_digging_event": {
"remove": {
"component_groups": [
"pushable"
]
}
}
}
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:mangrove_swamp_mangrove_tree_feature",
"places_feature": "minecraft:mangrove_tree_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "mangrove_swamp"
}
]
},
"distribution": {
"iterations": 8,
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:mangrove_swamp_mangrove_tree_with_beenest_feature",
"places_feature": "minecraft:mangrove_tree_with_beenest_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "mangrove_swamp"
}
]
},
"distribution": {
"iterations": 2,
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:mangrove_swamp_tall_mangrove_tree_feature",
"places_feature": "minecraft:tall_mangrove_tree_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "mangrove_swamp"
}
]
},
"distribution": {
"iterations": 48,
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:mangrove_swamp_tall_mangrove_tree_with_beenest_feature",
"places_feature": "minecraft:tall_mangrove_tree_with_beenest_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "mangrove_swamp"
}
]
},
"distribution": {
"iterations": 2,
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,36 @@
{
"format_version": "1.16.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:sculk_patch_feature",
"places_feature": "minecraft:sculk_patch_feature"
},
"conditions": {
"placement_pass": "after_surface_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "deep_dark"
}
]
},
"distribution": {
"iterations": 256,
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": {
"distribution": "uniform",
"extent": [
-63, 256
]
},
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,34 @@
{
"format_version": "1.16.0",
"minecraft:feature_rules": {
"description": {
"identifier": "minecraft:sculk_vein_feature",
"places_feature": "minecraft:sculk_vein_feature"
},
"conditions": {
"placement_pass": "after_underground_pass",
"minecraft:biome_filter": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "deep_dark"
}
]
},
"distribution": {
"iterations": "Math.Random(204, 250)",
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": {
"distribution": "uniform",
"extent": [ -63, 256 ]
},
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}

View File

@ -0,0 +1,85 @@
{
"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",
"minecraft:mycelium",
"minecraft:mud",
"minecraft:muddy_mangrove_roots"
],
"may_replace": [
"minecraft:leaves",
"minecraft:leaves2",
"minecraft:azalea",
"minecraft:flowering_azalea",
"minecraft:azalea_leaves",
"minecraft:azalea_leaves_flowered",
"minecraft:mangrove_leaves",
"minecraft:water",
"minecraft:flowing_water",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:grass",
"minecraft:air",
"minecraft:double_plant"
],
"may_grow_through": [
"minecraft:dirt",
"minecraft:grass",
"minecraft:moss_carpet",
"minecraft:tallgrass",
"minecraft:double_plant"
]
}
}

View File

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

View File

@ -0,0 +1,36 @@
{
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "minecraft:pufferfish"
},
"components": {
"minecraft:use_duration": 32,
"minecraft:max_damage": 0,
"minecraft:stacked_by_data": true,
"minecraft:food": {
"nutrition": 1,
"saturation_modifier": "poor",
"effects": [
{
"name": "poison",
"duration": 60,
"amplifier": 1
},
{
"name": "nausea", // confusion
"duration": 15,
"amplifier": 1
},
{
"name": "hunger",
"duration": 15,
"amplifier": 2
}
]
}
}
}
}

View File

@ -0,0 +1,31 @@
{
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "minecraft:sweet_berries"
},
"components": {
"minecraft:use_duration": 32,
"minecraft:food": {
"nutrition": 2,
"saturation_modifier": "low",
"is_meat": false
},
"minecraft:seed": {
"crop_result": "sweet_berry_bush",
"plant_at": [
"grass",
"dirt",
"podzol",
"moss_block",
"mycelium",
"mud",
"muddy_mangrove_roots",
"dirt_with_roots"
]
}
}
}
}

View File

@ -0,0 +1,498 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:stone_axe",
"weight": 1
},
{
"type": "item",
"name": "minecraft:wooden_axe",
"weight": 3
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:stone_pickaxe",
"weight": 1
},
{
"type": "item",
"name": "minecraft:wooden_pickaxe",
"weight": 3
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:apple",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:bread",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:salmon",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:stick",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 12
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:planks",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 12
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:log2",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:log2",
"weight": 1,
"functions": [
{
"function": "minecraft:set_data",
"data": 1
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:mangrove_log",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:log",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:log",
"weight": 1,
"functions": [
{
"function": "minecraft:set_data",
"data": 1
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:log",
"weight": 1,
"functions": [
{
"function": "minecraft:set_data",
"data": 2
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
},
{
"type": "item",
"name": "minecraft:log",
"weight": 1,
"functions": [
{
"function": "minecraft:set_data",
"data": 3
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:potato",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
},
{
"type": "item",
"name": "minecraft:carrot",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:sapling",
"weight": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:sapling",
"weight": 2,
"functions": [
{
"function": "minecraft:set_data",
"data": 1
},
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:sapling",
"weight": 2,
"functions": [
{
"function": "minecraft:set_data",
"data": 2
},
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:sapling",
"weight": 4,
"functions": [
{
"function": "minecraft:set_data",
"data": 3
},
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:sapling",
"weight": 2,
"functions": [
{
"function": "minecraft:set_data",
"data": 4
},
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
},
{
"type": "item",
"name": "minecraft:sapling",
"weight": 2,
"functions": [
{
"function": "minecraft:set_data",
"data": 5
},
{
"function": "minecraft:set_count",
"count": {
"min": 4,
"max": 4
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:melon_seeds",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
},
{
"type": "item",
"name": "minecraft:pumpkin_seeds",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
},
{
"type": "item",
"name": "minecraft:beetroot_seeds",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:cactus",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
},
{
"type": "item",
"name": "minecraft:dye",
"weight": 2,
"functions": [
{
"function": "set_data",
"data": 3
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:brown_mushroom",
"weight": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
}
]
}

View File

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

View File

@ -0,0 +1,23 @@
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:mangrove_wood_stripped"
},
"tags": [ "crafting_table" ],
"group": "wood",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "minecraft:stripped_mangrove_log"
}
},
"result": {
"item": "minecraft:stripped_mangrove_wood",
"count": 3
}
}
}