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,520 @@
{
"format_version": "1.18.30",
"minecraft:entity": {
"description": {
"identifier": "minecraft:hoglin",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"zombification_sensor": {
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": false
},
"event": "start_zombification_event"
}
}
},
"start_zombification": {
"minecraft:is_shaking": {},
"minecraft:environment_sensor": {
"triggers": {
"filters": {
"test": "in_nether",
"subject": "self",
"operator": "==",
"value": true
},
"event": "stop_zombification_event"
}
},
"minecraft:timer": {
"looping": false,
"time": 15,
"time_down_event": {
"event": "become_zombie_event"
}
}
},
"become_zombie": {
"minecraft:transformation": {
"into": "minecraft:zoglin",
"transformation_sound": "converted_to_zombified",
"keep_level": true
}
},
"angry_hoglin": {
"minecraft:angry": {
"duration": 10,
"broadcast_anger": true,
"broadcast_range": 16,
"calm_event": {
"event": "become_calm_event",
"target": "self"
},
"angry_sound": "angry",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
}
},
"attack_cooldown": {
"minecraft:attack_cooldown": {
"attack_cooldown_time": [ 10.0, 15.0 ],
"attack_cooldown_complete_event": {
"event": "attack_cooldown_complete_event",
"target": "self"
}
}
},
"minecraft:hoglin_baby": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_baby", "mob" ]
},
"minecraft:is_baby": {
},
"minecraft:movement": {
"value": 0.36
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1,
"track_target": true,
"reach_multiplier": 1.0,
"cooldown_time": 0.75
},
"minecraft:attack": {
"damage": 1.0
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 1.0,
"height": 0.85,
"pivot": [ 0, 0.5, 0 ]
}
]
},
"minecraft:ageable": {
"duration": 1200,
"feed_items": [ "crimson_fungus" ],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:behavior.follow_parent": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:rideable": {
"seat_count": 3,
"family_types": [
"piglin"
],
"seats": [
{
"position": [ 0.0, 0.9, -0.3 ],
"lock_rider_rotation": 0
},
{
"position": [ 0.0, 2.4, -0.3 ],
"lock_rider_rotation": 0
},
{
"position": [ 0.0, 3.9, -0.3 ],
"lock_rider_rotation": 0
}
]
},
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1
}
},
"minecraft:hoglin_adult": {
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 2.0,
"height": 1.75,
"pivot": [ 0, 1, 0 ]
}
]
},
"minecraft:group_size": {
"radius": 32,
"filters": {
"all_of": [
{
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"value": "hoglin"
}
]
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 2
},
"minecraft:on_target_acquired": {
"event": "become_angry_event",
"target": "self"
},
"minecraft:loot": {
"table": "loot_tables/entities/hoglin.json"
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1,
"track_target": true,
"reach_multiplier": 2.5,
"cooldown_time": 2
},
"minecraft:attack": {
"damage": [ 3, 9 ]
},
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 0.6
},
"minecraft:breedable": {
"require_tame": false,
"love_filters": {
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:attack_cooldown"
},
"breeds_with": {
"mate_type": "minecraft:hoglin",
"baby_type": "minecraft:hoglin",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
}
},
"breed_items": [ "crimson_fungus" ]
}
},
"unhuntable_adult": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_adult", "mob" ]
}
},
"huntable_adult": {
"minecraft:type_family": {
"family": [ "hoglin", "hoglin_adult", "hoglin_huntable", "mob" ]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
"minecraft:health": {
"value": 40,
"max": 40
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:knockback_resistance": {
"value": 0.6
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "has_component",
"subject": "self",
"operator": "!=",
"value": "minecraft:attack_cooldown"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": {
"test": "in_lava",
"subject": "self",
"operator": "==",
"value": true
},
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:behavior.avoid_mob_type": {
"priority": 0,
"remove_target": true,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "has_target",
"subject": "other",
"value": true
},
{
"test": "is_family",
"subject": "other",
"value": "piglin"
}
]
},
"check_if_outnumbered": true,
"max_dist": 10,
"sprint_speed_multiplier": 1.2
}
],
"avoid_mob_sound": "retreat",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
},
"minecraft:behavior.avoid_block": {
"priority": 1,
"tick_interval": 5,
"search_range": 8,
"search_height": 4,
"walk_speed_modifier": 1,
"sprint_speed_modifier": 1,
"avoid_block_sound": "retreat",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
},
"target_selection_method": "nearest",
"target_blocks": [
"minecraft:warped_fungus",
"minecraft:portal",
"minecraft:respawn_anchor"
],
"on_escape": [
{
"event": "escaped_event",
"target": "self"
}
]
},
"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:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.4
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:balloonable": {
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"trigger": "spawn_adult"
},
{
"weight": 5,
"trigger": "spawn_baby"
}
]
},
"minecraft:entity_born": {
"trigger": "spawn_baby"
},
"spawn_adult": {
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"huntable_adult",
"zombification_sensor"
]
}
},
"spawn_baby": {
"add": {
"component_groups": [
"minecraft:hoglin_baby",
"zombification_sensor"
]
}
},
"stop_zombification_event": {
"add": {
"component_groups": [
"zombification_sensor"
]
},
"remove": {
"component_groups": [
"start_zombification"
]
}
},
"become_zombie_event": {
"add": {
"component_groups": [
"become_zombie"
]
}
},
"start_zombification_event": {
"add": {
"component_groups": [
"start_zombification"
]
},
"remove": {
"component_groups": [
"zombification_sensor"
]
}
},
"spawn_adult_unhuntable": {
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"unhuntable_adult",
"zombification_sensor"
]
}
},
"minecraft:ageable_grow_up": {
"remove": {
"component_groups": [
"minecraft:hoglin_baby"
]
},
"add": {
"component_groups": [
"minecraft:hoglin_adult",
"huntable_adult"
]
}
},
"become_angry_event": {
"add": {
"component_groups": [
"angry_hoglin"
]
}
},
"become_calm_event": {
"remove": {
"component_groups": [
"angry_hoglin"
]
}
},
"escaped_event": {
"add": {
"component_groups": [
"attack_cooldown"
]
},
"remove": {
"component_groups": [
"angry_hoglin"
]
}
},
"attack_cooldown_complete_event": {
"remove": {
"component_groups": [
"attack_cooldown"
]
}
}
}
}
}

View File

@ -0,0 +1,497 @@
{
"format_version": "1.17.20",
"minecraft:entity": {
"description": {
"identifier": "minecraft:ravager",
"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:pillager_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager"
}
},
"minecraft:pillager_rider_for_raid": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager",
"spawn_event": "minecraft:spawn_for_raid"
}
},
"minecraft:evoker_rider_for_raid": {
"minecraft:addrider": {
"entity_type": "minecraft:evocation_illager",
"spawn_event": "minecraft:spawn_for_raid"
}
},
"minecraft:pillager_captain_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:pillager",
"spawn_event": "minecraft:spawn_as_illager_captain"
}
},
"minecraft:vindicator_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:vindicator"
}
},
"minecraft:vindicator_captain_rider": {
"minecraft:addrider": {
"entity_type": "minecraft:vindicator",
"spawn_event": "minecraft:spawn_as_illager_captain"
}
},
"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": false,
"first_founding_reward": 0
},
"minecraft:behavior.move_to_village": {
"priority": 5,
"speed_multiplier": 1.0,
"goal_radius": 2.0
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1.0
},
"minecraft:ambient_sound_interval": {
"value": 4.0,
"range": 8.0,
"event_name": "ambient.in.raid"
}
},
"minecraft:raid_persistence": {
"minecraft:persistent": {}
},
"minecraft:hostile": {
"minecraft:movement": {
"value": 0.3
},
"minecraft:behavior.delayed_attack": {
"priority": 4,
"attack_once": false,
"track_target": true,
"require_complete_path": false,
"random_stop_interval": 0,
"reach_multiplier": 1.5,
"speed_multiplier": 1.0,
"attack_duration": 0.75,
"hit_delay_pct": 0.5
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.4
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"look_distance": 6,
"angle_of_view_horizontal": 45,
"probability": 1
},
"minecraft:behavior.look_at_entity": {
"priority": 10,
"look_distance": 8,
"angle_of_view_horizontal": 45,
"filters": {
"test": "is_family",
"subject": "other",
"value": "mob"
}
},
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"max_dist": 64
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"must_see": true,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"any_of": [
{
"subject": "other",
"test": "is_family",
"value": "player"
},
{
"subject": "other",
"test": "is_family",
"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.mount_pathing": {
"priority": 5,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}
},
"stunned": {
"minecraft:is_stunned": {
},
"minecraft:timer": {
"looping": false,
"time": 2,
"time_down_event": {
"event": "minecraft:start_roar"
}
}
},
"roaring": {
"minecraft:behavior.knockback_roar": {
"priority": 1,
"duration": 1,
"attack_time": 0.5,
"knockback_damage": 6,
"knockback_horizontal_strength": 3,
"knockback_vertical_strength": 3,
"knockback_range": 4,
"knockback_filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "ravager"
},
"damage_filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "illager"
},
"on_roar_end": {
"event": "minecraft:end_roar"
},
"cooldown_time": 0.1
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 20 : 0"
},
"minecraft:behavior.float": {
"priority": 0
},
"minecraft:ravager_blocked": {
"knockback_strength": 3.0,
"reaction_choices": [
{
"weight": 1,
"value": {
"event": "minecraft:become_stunned",
"target": "self"
}
},
{
// Default, large knockback case
"weight": 1
}
]
},
"minecraft:attack": {
"damage": 12.0
},
"minecraft:breathable": {
"suffocate_time": 0,
"total_supply": 15
},
"minecraft:collision_box": {
"height": 1.9,
"width": 1.2
},
"minecraft:health": {
"max": 100,
"value": 100
},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:jump.static": {},
"minecraft:loot": {
"table": "loot_tables/entities/ravager.json"
},
"minecraft:knockback_resistance": {
"value": 0.75
},
"minecraft:movement": {
"value": 0.0
},
"minecraft:movement.basic": {},
"minecraft:nameable": {},
"minecraft:navigation.walk": {
"avoid_damage_blocks": true,
"can_path_over_water": true,
"can_sink": false
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
},
"minecraft:despawn": {
"despawn_from_distance": {}
},
"minecraft:break_blocks": {
"breakable_blocks": [
"bamboo",
"bamboo_sapling",
"beetroot",
"brown_mushroom",
"carrots",
"carved_pumpkin",
"chorus_flower",
"chorus_plant",
"deadbush",
"double_plant",
"leaves",
"leaves2",
"lit_pumpkin",
"melon_block",
"melon_stem",
"potatoes",
"pumpkin",
"pumpkin_stem",
"red_flower",
"red_mushroom",
"crimson_fungus",
"warped_fungus",
"reeds",
"sapling",
"snow_layer",
"sweet_berry_bush",
"tallgrass",
"turtle_egg",
"vine",
"waterlily",
"wheat",
"yellow_flower"
]
},
"minecraft:follow_range": {
"value": 64
},
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"pillager",
"vindicator",
"evocation_illager"
],
"seats": {
"position": [ 0.0, 2.1, -0.3 ]
}
},
"minecraft:type_family": {
"family": [
"monster",
"illager",
"ravager",
"mob"
]
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:spawn_for_raid": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:spawn_for_raid_with_evoker_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:evoker_rider_for_raid",
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:spawn_for_raid_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider_for_raid",
"minecraft:raid_configuration",
"minecraft:raid_persistence"
]
}
},
"minecraft:spawn_with_pillager_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_rider"
]
}
},
"minecraft:spawn_with_pillager_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:pillager_captain_rider"
]
}
},
"minecraft:spawn_with_vindicator_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_rider"
]
}
},
"minecraft:spawn_with_vindicator_captain_rider": {
"add": {
"component_groups": [
"minecraft:hostile",
"minecraft:vindicator_captain_rider"
]
}
},
"minecraft:become_stunned": {
"add": {
"component_groups": [
"stunned"
]
},
"remove": {
"component_groups": [
"minecraft:hostile"
]
}
},
"minecraft:start_roar": {
"add": {
"component_groups": [
"roaring"
]
},
"remove": {
"component_groups": [
"stunned"
]
}
},
"minecraft:end_roar": {
"add": {
"component_groups": [
"minecraft:hostile"
]
},
"remove": {
"component_groups": [
"roaring"
]
}
},
"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,548 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:shulker",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"minecraft:shulker_purple": {
"minecraft:variant": {
"value": 5
}
},
"minecraft:shulker_black": {
"minecraft:variant": {
"value": 0
}
},
"minecraft:shulker_blue": {
"minecraft:variant": {
"value": 4
}
},
"minecraft:shulker_brown": {
"minecraft:variant": {
"value": 3
}
},
"minecraft:shulker_cyan": {
"minecraft:variant": {
"value": 6
}
},
"minecraft:shulker_gray": {
"minecraft:variant": {
"value": 8
}
},
"minecraft:shulker_green": {
"minecraft:variant": {
"value": 2
}
},
"minecraft:shulker_light_blue": {
"minecraft:variant": {
"value": 12
}
},
"minecraft:shulker_lime": {
"minecraft:variant": {
"value": 10
}
},
"minecraft:shulker_magenta": {
"minecraft:variant": {
"value": 13
}
},
"minecraft:shulker_orange": {
"minecraft:variant": {
"value": 14
}
},
"minecraft:shulker_pink": {
"minecraft:variant": {
"value": 9
}
},
"minecraft:shulker_red": {
"minecraft:variant": {
"value": 1
}
},
"minecraft:shulker_silver": {
"minecraft:variant": {
"value": 7
}
},
"minecraft:shulker_undyed": {
"minecraft:variant": {
"value": 16
}
},
"minecraft:shulker_white": {
"minecraft:variant": {
"value": 15
}
},
"minecraft:shulker_yellow": {
"minecraft:variant": {
"value": 11
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:type_family": {
"family": [ "shulker", "monster", "mob" ]
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0
},
"minecraft:nameable": {
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 10,
"use_motion_prediction_hints": true
}
},
"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.0,
"max": 0.0
},
"minecraft:loot": {
"table": "loot_tables/entities/shulker.json"
},
"minecraft:peek": {
"on_open": {
"event": "minecraft:on_open"
},
"on_close": {
"event": "minecraft:on_close"
},
"on_target_open": {
"event": "minecraft:on_open"
}
},
"minecraft:behavior.look_at_player": {
"priority": 1,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:shooter": {
"def": "minecraft:shulker_bullet"
},
"minecraft:behavior.random_look_around": {
"priority": 8
},
"minecraft:behavior.ranged_attack": {
"attack_interval_min": 1,
"attack_interval_max": 3,
"attack_radius": 15
},
"minecraft:behavior.hurt_by_target": {
"priority": 2,
"entity_types": {
"filters": {
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "shulker"
}
}
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"entity_types": {
"filters": { "test" : "is_family", "subject" : "other", "value" : "player"},
"max_dist": 16
},
"must_see": true
},
"minecraft:navigation.walk": {
},
"minecraft:movement.basic": {
},
"minecraft:interact": {
"interactions": [
{
"on_interact": {
"filters": {
"all_of": [
{
"any_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:0"},
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:16"}
]
},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_black"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:8"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_gray"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:7"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_silver"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{
"any_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:15"},
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:19"}
]
},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_white"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:12"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_light_blue"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:14"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_orange"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:1"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_red"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{
"any_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:4"},
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:18"}
]
},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_blue"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:5"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_purple"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:13"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_magenta"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:9"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_pink"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{
"any_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:3"},
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:17"}
]
},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_brown"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:11"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_yellow"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:10"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_lime"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:2"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_green"
},
"use_item": true
},
{
"on_interact": {
"filters": {
"all_of": [
{ "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dye:6"},
{ "test" : "is_family", "subject" : "other", "value" : "player"},
{ "test" : "has_ability","subject" : "other", "value" : "instabuild"}
]
},
"event": "minecraft:turn_cyan"
},
"use_item": true
}
]
},
"minecraft:physics": {
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": [
"minecraft:shulker_undyed"
]
}
},
"minecraft:turn_purple": {
"add": {
"component_groups": [
"minecraft:shulker_purple"
]
}
},
"minecraft:turn_black": {
"add": {
"component_groups": [
"minecraft:shulker_black"
]
}
},
"minecraft:turn_blue": {
"add": {
"component_groups": [
"minecraft:shulker_blue"
]
}
},
"minecraft:turn_brown": {
"add": {
"component_groups": [
"minecraft:shulker_brown"
]
}
},
"minecraft:turn_cyan": {
"add": {
"component_groups": [
"minecraft:shulker_cyan"
]
}
},
"minecraft:turn_gray": {
"add": {
"component_groups": [
"minecraft:shulker_gray"
]
}
},
"minecraft:turn_green": {
"add": {
"component_groups": [
"minecraft:shulker_green"
]
}
},
"minecraft:turn_light_blue": {
"add": {
"component_groups": [
"minecraft:shulker_light_blue"
]
}
},
"minecraft:turn_lime": {
"add": {
"component_groups": [
"minecraft:shulker_lime"
]
}
},
"minecraft:turn_magenta": {
"add": {
"component_groups": [
"minecraft:shulker_magenta"
]
}
},
"minecraft:turn_orange": {
"add": {
"component_groups": [
"minecraft:shulker_orange"
]
}
},
"minecraft:turn_pink": {
"add": {
"component_groups": [
"minecraft:shulker_pink"
]
}
},
"minecraft:turn_red": {
"add": {
"component_groups": [
"minecraft:shulker_red"
]
}
},
"minecraft:turn_silver": {
"add": {
"component_groups": [
"minecraft:shulker_silver"
]
}
},
"minecraft:turn_white": {
"add": {
"component_groups": [
"minecraft:shulker_white"
]
}
},
"minecraft:turn_yellow": {
"add": {
"component_groups": [
"minecraft:shulker_yellow"
]
}
}
}
}
}

View File

@ -0,0 +1,54 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "minecraft:small_fireball",
"is_spawnable": false,
"is_summonable": false,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.31,
"height": 0.31
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 5,
"knockback": true,
"catch_fire": true,
"semi_random_diff_damage": false
},
"catch_fire": {
"fire_affected_by_griefing": true
},
"remove_on_hit": { }
},
"power": 1.3,
"gravity": 0.00,
"inertia": 1,
"liquid_inertia": 1,
"anchor": 2,
"offset": [ 0, 0.5, 0 ],
"semi_random_diff_damage": true,
"uncertainty_base": 10.0,
"reflect_on_hurt": true
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 7,
"use_motion_prediction_hints": true
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,273 @@
{
"format_version": "1.18.30",
"minecraft:entity": {
"description": {
"identifier": "minecraft:zoglin",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"zoglin_baby": {
"minecraft:type_family": {
"family": [ "zoglin", "zoglin_baby", "undead", "mob" ]
},
"minecraft:is_baby": {
},
"minecraft:attack": {
"damage": 0.5
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:collision_box": {
"width": 0.85,
"height": 0.85
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 1.0,
"height": 0.85,
"pivot": [ 0, 0.5, 0 ]
}
]
}
},
"zoglin_adult": {
"minecraft:type_family": {
"family": [ "zoglin", "zoglin_adult", "undead", "mob" ]
},
"minecraft:collision_box": {
"width": 0.9,
"height": 0.9
},
"minecraft:custom_hit_test": {
"hitboxes": [
{
"width": 2.0,
"height": 1.75,
"pivot": [ 0, 1, 0 ]
}
]
},
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:attack": {
"damage": [ 3, 8 ]
}
}
},
"components": {
"minecraft:is_hidden_when_invisible": {
},
"minecraft:nameable": {
},
"minecraft:loot": {
"table": "loot_tables/entities/zoglin.json"
},
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 5 : 0"
},
"minecraft:health": {
"value": 40,
"max": 40
},
"minecraft:knockback_resistance": {
"value": 0.6
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 3,
"within_radius": 16.0,
"entity_types": [
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "zoglin"
},
{
"test": "is_family",
"subject": "other",
"operator": "!=",
"value": "creeper"
}
]
},
"max_dist": 16
}
],
"must_see": true
},
"minecraft:behavior.melee_attack": {
"priority": 4,
"speed_multiplier": 1.4,
"track_target": true
},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": 0,
"breathes_water": true
},
"minecraft:movement": {
"value": 0.25
},
"minecraft:navigation.walk": {
"is_amphibious": true,
"can_path_over_water": false,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {
},
"minecraft:jump.static": {
},
"minecraft:can_climb": {
},
"minecraft:fire_immune": {
},
"minecraft:leashable": {
"soft_distance": 4.0,
"hard_distance": 6.0,
"max_distance": 10.0
},
"minecraft:balloonable": {
},
"minecraft:despawn": {
"filters": {
"any_of": [
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 54
}
]
},
{
"all_of": [
{
"test": "is_persistent",
"value": false
},
{
"test": "inactivity_timer",
"subject": "self",
"value": 30
},
{
"test": "random_chance",
"value": 800
},
{
"test": "distance_to_nearest_player",
"operator": ">",
"value": 32
}
]
}
]
}
},
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1.0
},
"minecraft:behavior.random_look_around": {
"priority": 9
},
"minecraft:behavior.look_at_player": {
"priority": 8,
"look_distance": 6.0,
"probability": 0.02
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
}
},
"events": {
"minecraft:entity_transformed": {
"sequence": [
{
"filters": {
"test": "has_component",
"subject": "other",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"zoglin_baby"
]
}
},
{
"filters": {
"test": "has_component",
"subject": "other",
"operator": "!=",
"value": "minecraft:is_baby"
},
"add": {
"component_groups": [
"zoglin_adult"
]
}
}
]
},
"minecraft:entity_spawned": {
"randomize": [
{
"weight": 95,
"add": {
"component_groups": [
"zoglin_adult"
]
}
},
{
"weight": 5,
"add": {
"component_groups": [
"zoglin_baby"
]
}
}
]
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"zoglin_adult"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"zoglin_baby"
]
}
}
}
}
}

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

View File

@ -0,0 +1,265 @@
{
"tiers": [
{
"total_exp_required": 0,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:paper",
"quantity": 24,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 2,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 7,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emptymap:0",
"quantity": 1
}
],
"trader_exp": 1,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 10,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:glass_pane",
"quantity": 11,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 10,
"max_uses": 16,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 13,
"price_multiplier": 0.2
},
{
"item": "minecraft:compass",
"quantity": 1,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:map",
"functions": [
{
"function": "exploration_map",
"destination": "monument"
}
]
}
],
"trader_exp": 5,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 70,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:compass",
"quantity": 1,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:emerald",
"quantity": 1
}
],
"trader_exp": 20,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 14,
"price_multiplier": 0.2
},
{
"item": "minecraft:compass",
"quantity": 1,
"price_multiplier": 0.2
}
],
"gives": [
{
"item": "minecraft:map",
"functions": [
{
"function": "exploration_map",
"destination": "mansion"
}
]
}
],
"trader_exp": 10,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 150,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 7,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:frame",
"quantity": 1
}
],
"trader_exp": 15,
"max_uses": 12,
"reward_exp": true
}
]
},
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 3,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:banner",
"quantity": 1,
"functions": [
{
"function": "random_aux_value",
"values": {
"min": 0,
"max": 15
}
}
]
}
],
"trader_exp": 15,
"max_uses": 12,
"reward_exp": true
}
]
}
]
},
{
"total_exp_required": 250,
"groups": [
{
"num_to_select": 1,
"trades": [
{
"wants": [
{
"item": "minecraft:emerald",
"quantity": 8,
"price_multiplier": 0.05
}
],
"gives": [
{
"item": "minecraft:banner_pattern:7",
"quantity": 1
}
],
"trader_exp": 30,
"max_uses": 12,
"reward_exp": true
}
]
}
]
}
]
}